Home>Support>Prevent post loop widget from pagination

Prevent post loop widget from pagination

I’m using post loop widgets on my sidebar to display latest posts from certain categories, the templates for these widgets doesn’t have pagination on in. I want just the main archive to paginate… I already try using this snippet,

echo paginate_links( array(
‘format’ => ‘?page-‘ . SiteOrigin_Panels_Widgets_PostLoop::get_current_pagination_id() . ‘=%#%’,
‘prev_next’ => false,
) );

nothing changes in the behavior, just the permalink changes.

Can I have some light over this issue?

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 3 years, 10 months ago Andrew Misplon
    Hi, I Work Here

    Hi Donna

    Thanks for reaching out.

    Are you adding your own template via a child theme or plugin? If so, have you tried removing pagination completely from one of your templates? Hopefully, I’m not missing something here.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More