0

Here is a single URL 10stuffs(dot)com/technews. and it also displays the result when we add pagination terms like

10stuffs(dot)com/technews/page/2.

I just want to keep the URL like this 10stuffs(dot)com/technews.

Below are the codes which manage this template.

<div class="container main-container">
<?php if (have_posts()) : ?>
    <div class="masonry-blog">
        <?php while (have_posts()) : the_post(); ?>
            <?php get_template_part('content-masonry', get_post_format()); ?>
        <?php endwhile; ?>
        <?php
        $args = array(
            'prev_next' => False
        );
        ?>
    </div>
    <nav class="navigation navigation-prev-next">
        <?php posts_nav_link('  ', 'previous', 'next'); ?>
    </nav><!-- .navigation -->
<?php endif; ?>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.