[resolved] Home Page (2 posts)

  1. MaddTechWF
    Posted 3 years ago #

    I've created a page called page-home.php and have applied the template to a specific page. I've even gone through the WP-Admin section and changed the Reading section to use the new page as the Home page. When I add the typical Loop to show the content on the page, it want's to show my "Posts" instead of the content that I've typed into the page.

  2. MaddTechWF
    Posted 3 years ago #

    I ended up using the following code:

    <?php $my_query = new WP_Query('category_name=featured&showposts=3'); ?>
    <?php while ($my_query->have_posts()) : $my_query->the_post(); ?>
      <!-- Do special_cat stuff... -->
    <?php endwhile; ?>

    I found it on http://www.catswhocode.com/blog/multiple-wordpress-loops

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.