pictures

Show One Post/Page in WordPress

hr
hr Heading 2 Icon Show One Post/Page in WordPress

If you want to have a content area somewhere on your site that shows content from a post or page - and you want to do this with using the simplest of code (no loop, no query_posts, etc), check out the function get_post. The get_post function allows you to simply get one post’s title, content, category, etc by simply adding a few lines (see the example in the documentation) of code to your site. I have used this on a number of client’s sites as well as recently on my company site for the company profile. Keep it simple!


search

subscription information

Blog RSS

Comments RSS



Powered by FeedBlitz

blog categories

blog tags

most popular posts


blog archive

standards

Get Firefox!
XHTML
CSS