There are entries on the page with one common rubric (fences). When I press the button, I need to display entries from the new rubric (the rubric has already been created) and only them (for example, vertical monuments and that would be knocked out) There is a code for removing records:
<?php if ( have_posts() ) : query_posts('cat=9'); while (have_posts()) : the_post(); ?> <div class="new-items-numb bottom"> <div class="new-item-picture"> <?php the_post_thumbnail('full');?> </div> <span class="item-model"><?php echo the_title(); ?> </span> <input class="item-button" type="button" value="Заказать"> </div> <?php endwhile; endif; wp_reset_query(); ?>