I have a taxonomy page called taxonomy-hotels.php
I need to get all posts related to particular taxonomy-term
. Assume I have a term 5 star hotel
and it has 15 posts. But ony 10 returning/showing.
Pleasa let me know how to get all posts ? Here is my current code.
<?php
if(have_posts()) :
while(have_posts()) : the_post();
?>
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12">
<div class="item">
<a href="<?php the_permalink(); ?>">
<h2><?php the_title(); ?></h2>
<?php the_post_thumbnail(); ?>
</a>
</div>
</div>
<?php
endwhile;
endif;
?>