• Hi guys, this is somewhat of a tough request.

    Here’s what im trying to do… I want to display articles tagged with a certain tag on my main index? Is this possible? I need to be able to change the tag periodically (even if manually by editing main index).

    Thanks if you can help!

    Matt

Viewing 1 replies (of 1 total)
  • That can be done. For example using the WordPress Default theme, in the wp-content/themes/default/index.php file, change:

    <?php if (have_posts()) : ?>

    to this:

    <?php
    query_posts($query_string . '&tag=tag1');
    ?>
    
    <?php if (have_posts()) : ?>

    Of course, change tag1 to your tag.

Viewing 1 replies (of 1 total)
  • The topic ‘Show article tags on main index?’ is closed to new replies.