[Resolved] Remove default pagination

Home Forums Support Remove default pagination

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1519360
    Eroan

    Hi, I want a special pagination with more links.

    With the help of Elements, I hooked in the right place (generate_after_main_content) to display my custom pagination :

    <nav id="nav-below" class="paging-navigation">
    <span class="screen-reader-text">Navigation des articles</span>
    <?php the_posts_pagination( array(
        'mid_size'  => 5
    ) ); ?>
    </nav>

    Now I wand to disable the default theme pagination, what is the correct remove_action() to use for that ?

    If there is a simple way to change mid_size on the default pagination that would even be better…

    Thanks.

    #1519443
    Leo
    Staff
    Customer Support
    #1519545
    Eroan

    I’m ashamed, this is exactly what I was looking for.

    Will definitely look closer in docs next time.

    Thanks for your amazing job.

    #1519549
    Leo
    Staff
    Customer Support

    No need to be ashamed! This is what we are here for πŸ™‚

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.