Offset the posts on a custom post type archive

Hi

I have a website with several post types and archives. One thing I can’t figure out is how to set an offset on the Posts element of an archive page.

Offset can only be set on a Looper Provider, but looper provider doesn’t need to be set on an archive page. If I do enable the looper provider, I can set the offset, but then my pagination stops working.

All I need is for the first 4 posts of a specific post type not to show in the archive while the pagination and terms still work. Any advice?

Hi @designbythink,

Unfortunately, you can’t add the offset to the default looper used in the Archive Layout.

Thanks

Thanks for getting back to me. Is there a plan to add that feature? Because the situation as is isn’t really adequate:

  • On an archive page you can have Posts with pagination and terms that work. But you can’t control the offset or the number of posts to show (and it’s not clear how to feed only a specific category or post type).

  • On a single page you can have Posts where you can control the quantity, the feed and the offset. But you can’t have terms or pagination that works.

For a theme that is so advanced as Pro, its a bit silly that we can’t ever really have full control over the posts feed, especially if we have a website with multiple post types and feeds. I know that you’re working within the Wordpress framework and that there are limitations, but the Essential Grid plugin did all that perfectly before you discontinued its use.

I had a website that did everything I needed it to do perfectly. Now I’m stuck with limitations that means I can’t ever get the site working as well as before. This is creating an issue with my clients.

Please advise.

Hello @designbythink,

Please be advised that the Layout Builder is a tool that helps in customizing the WordPress archive pages. This is why the archive layout in the builder is using the WordPress Loop. You do not use any Looper Provider in an archive layout. A WordPress archive page displays the latest post items in chronological order. Even WordPress itself does not have an offset feature. If you want to offset it, you will need to do it manually. Kindly check out this article:

Be advised that custom coding is beyond the scope of our support under our Support Policy. If you are unfamiliar with code and resolving potential conflicts, you may select our One service for further assistance.

We also would like to correct that the Essential Grid plugin is still bundled and supported with the theme. You can still use it in building your pages.

Best Regards.

Thank you for the comprehensive response and helpful links!

You are most welcome @designbythink

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.