Listings By Tag -> loop-ad.php -> have_posts() tag modifications
Hello,
I'd like to limit the listings displayed in loop-ad.php to posts that have the tag "guitar".
Originally loop-ad.php contains the query
Code:
<?php if(have_posts()) : ?>
<?php while(have_posts()) : the_post(); ?>
I tried modifying to limit the query based on tag below (but it doesn't work)
Code:
<?php query_posts("tag=scripts"); if (have_posts()) : while (have_posts()) : the_post(); ?>
I then would look at the category where i know an item with the "guitar" tag exists but it just shows "no results"
Any ideas where I'm going wrong?
Thanks.