• Resolved evievanrooij

    (@evievanrooij)


    When my items are an uneven number, my pagination shows up on the wrong position. It’s then placed next to my last blog article, instead of at the bottom of the page. What could I do to fix this?

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author AlanP57

    (@alanp57)

    Your site needs a few lines of custom CSS code to make the pagination appear below the posts. Try adding this in your theme’s custom CSS section:

    .pagination-blog-feed {
      display: inline-block;
    }
    Thread Starter evievanrooij

    (@evievanrooij)

    Hi Alan,

    Thanks! I added the CSS lines that you proposed. And it kind of works, for smaller screens. But not for a fullscreen on desktop.. https://eviekookt.nl/page/25/

    It’s still next to my item instead of underneath it, only difference is that it’s not cut off anymore.

    Do you maybe have an extra solution for me?

    Thanks!

    Plugin Author AlanP57

    (@alanp57)

    I’m using a laptop so my screen is not as wide, but you can try adding a 100% width to the custom CSS like this:

    .pagination-blog-feed {
      display: inline-block;
      width: 100%;
    }
    Thread Starter evievanrooij

    (@evievanrooij)

    Thanks Alan, this worked perfectly! ??

    Hi Alan,

    I applied to my site page :
    https://www.gearknowledge.com/all-posts/
    in function.php code with wp_paginate();
    with
    $loop = new WP_Query( $args );
    while ( $loop->have_posts() ) : $loop->the_post();

    BUT paging is not showing on the page.

    i also added
    .pagination-blog-feed {
    display: inline-block;
    width: 100%;
    }

    but no luck.
    Please help

    Plugin Author AlanP57

    (@alanp57)

    Perhaps that plugin does not recognize all-posts as a blog page. It using the WordPress function is_home() to test for a blog page an is_archive() for an post archive page.

    Also it uses WordPress filters such as loop_start, loop_end, wp_link_pages and wp_link_pages to add posts to a page. If your theme is not using a standard loop, then this may be the cause of the issue.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Pagination is showing up in my content’ is closed to new replies.