This question already has an answer here:
I'm in the middle of developing a site (http://he.leavingworkbehind.com/) which features a single post on the home page, as determined by the "Blog pages show at most" option in Settings > Reading.
However, I've created a tag.php page where I'd like a complete list of posts (for the relevant tag) to be displayed. I've managed to find the code that can create that list:
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <ul class="post-tag-list"> <li><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></li> </ul> <?php endwhile; endif; ?>
The list is only returning one result though -- presumably because of the aforementioned "Blog pages show at most" setting.
So my question is this: how do I override this setting? To be more specific, what exact code should I insert on tag.php?
I have a feeling that I may have already seen the answer here on Stack Exchange but am too ignorant of PHP coding to implement it successfully. Your help would be much appreciated!