• Resolved Pete

    (@perthmetro)


    I have searched for this problem and believe it or not, it’s quite hard t find a simple direct answer to my question…

    How do I display a specific page (it’s content)?

    Thanks for your help

Viewing 2 replies - 1 through 2 (of 2 total)
  • inspired2write

    (@inspired2write)

    Assuming you’re speaking of a ‘page’ and not a ‘post’…

    To have a link for a page show up on the front end, it may depend on your blog template as to where it will show up. Some templates may have a menu at the top with links to each page. Also, look in your ‘widget’ area for the ‘page’ widget. You may need to move that to the sidebar or other area to have the links to your pages show up. Hope that’s what you were needing!

    Thread Starter Pete

    (@perthmetro)

    Found the solution…

    <?php $recent = new WP_Query("page_id=515"); while($recent->have_posts()) : $recent->the_post();?>
    <?php the_title(); ?>
    <?php the_content(); ?>
    <?php endwhile; ?>
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to display a specific page’ is closed to new replies.