Looping with a specific ID

  • Author
    Posts
  • #331672

    carignou
    Member

    How can i turn this regular loop :

    <?php while (have_posts()) : the_post(); ?>

    To a specific ID loop.

    Like “while post ID == ‘9’”… ?

    Thank you.

    #331771

    sambauers
    Member

    You did not specify a blog address or reason for posting when you created this topic.

    This support forum is for WordPress.com hosted blogs only. If you have a self-hosted WordPress blog you need to seek help at the WordPress.org forums, not here.

    If you don’t understand the difference, you may find this information helpful.

The topic ‘Looping with a specific ID’ is closed to new replies.