added wp helper for wp functions on frontend, and updated post template and content model