Modify main_query only for a specific module

Hello. I have two post grids in the blog archive. I want to display the first post with a layout and the rest as grid post. I set IDs for both modules. The expected behaviour is, first grid, just one post, posts_per_page=1, using the main query. second grid, the rest of the post, based on main query with ofsset = 1.

My issue is: If I use pre_get_posts action I can´t (obviously) set only for one module. fl_builder_loop_query_args does not work with the main query, just custom queries. I´m struggling with this and I can´t use custom query because I want grid work as an archive, detecting active category, or tag, or search, results.

:slight_smile: help!

Did you ever find a solution to this? I think I’m trying to do the same thing.

I’m afraid not. :confused:

You can use - https://kb.wpbeaverbuilder.com/article/591-create-a-filter-to-customize-the-display-of-post-data