• Resolved stabani

    (@stabani)


    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..

Viewing 4 replies - 1 through 4 (of 4 total)
  • silkjaer

    (@silkjaer)

    <?php $singlepost = new WP_Query('p=33');
    while ($singlepost->have_posts()) : $singlepost->the_post(); ?>

    templatetags here

    <?php endwhile; ?>

    Chris_K

    (@handysolo)

    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.

    Thread Starter stabani

    (@stabani)

    Ok, thanks for the input.. ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘how to pull up specific post’ is closed to new replies.