stabani
Member
Posted 3 years ago #
hi, i was trying to pull up a single post entry (static entry) with the id number 33 (post id number) and want it displayed on my header.. as in I want to see the main text in the header, sort of like an aside. any help?
Maybe a php/mysql statement?
sorry if it's a newb question, quite new at this..
<?php $singlepost = new WP_Query('p=33');
while ($singlepost->have_posts()) : $singlepost->the_post(); ?>
templatetags here
<?php endwhile; ?>
As an aside, you might have a look at the Adhesive plugin.
Yes, I'd suggest the Adhesive plugin also, it works well. I have it.
stabani
Member
Posted 3 years ago #
Ok, thanks for the input.. :-D