Archive for June 4th, 2010

 

WordPress: How to show a specific post or page

Jun 04, 2010 in Technology

I have a lot of fun playing with content management systems. Last week I wrote about some of the fun stuff I’m doing with MediaWiki. This time I’ll be looking at a specific task common to WordPress template creation: How to retrieve the contents of a specific post or page using the get_post() function.

My first attempts using get_post() returned empty values. After hours of searching and plugging away at the task, things started to click. I figured I should record this keep track of the solution for future reference, and to help out anyone else with the same problem.

Continue reading: WordPress: How to show a specific post or page

tonychung.ca