I would like to display a message on my site that I will change occasionally. I thought it may be best to do this through a post that I occasionally edit the copy on. I want this message on every page so I plan to put it in my header.php.
I’m not sure what function and parameters to call for this. I’ve tried:
<?php query_posts('p=5'); ?>
Am I on the right track or is this the wrong way of doing this?
Thanks in advance!
- The topic ‘PHP include to display one particular post’ is closed to new replies.