🚀 Feature Request: Allow to define a Query offset for Archive Posts and Loop Grid #23171
Replies: 2 comments 5 replies
-
|
Hello, @ipagani! Thank you for contributing with your ideas! 🙏 This functionality is already available in Elementor Pro Posts, Products, and Loop Grid widgets. When setting up your query all you need to do is to go to the Exclude tab in the Query Group settings and define your offset. Please check the documentation for more information: However, this is not possible in WordPress archive templates due to how archive queries (Current Query) are built. This would require Elementor to modify the current query and could cause conflicts with other plugins, your theme, and WordPress itself. This is why Elementor has the Custom Query Filter feature, so you can make the changes yourself knowing that it will work with your WordPress installation. Currently, we have no plans to add this feature due to the complexity and limitations it imposes as explained above. We will, of course, keep this suggestion in mind and consider adding it if there is significant demand in the future. Please feel free to contact us again with other feature suggestions. 😉 Best regards |
Beta Was this translation helpful? Give feedback.
-
|
@nicholaszein - Why would you need to change the query, simply don't render the first X offset posts when looping over them. It would effectively work exactly the same on the front end without any need to mess with query overloading. Pretty frustrating not being able to do dynamic inserts on archive or blog index due to this limitation. There is definitely a simple solution here being overlooked. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Prerequisites
What problem is your feature request going to solve? Please describe.
When designing archive pages, I want to be able to use offset in order to create a custom mixed-column layout. For instance, where the most recent post within a category is in 1 column, then I can use offset for another post widget to create two columns for the rest of the posts, essentially allowing me to highlight the most recent post.
I've seen some themes have this built in as an option, and some 3rd party plug-ins that either allow you to highlight the first post within an archive using a single design widget, or use offset to get that effect (and more customization) using multiple widgets.
Currently offset does not exist in the archive post widget, and it disappears as an option if you use the current query option within the standard posts widget, effectively making this design style impossible within dynamic taxonomy designs.
I've searched far and wide and have fiddled with elementor for months to try and do this - I've concluded it's not possible.
Describe the solution you'd like
I would love for this to be built into Elementor or pro natively so I don't have to install an entire plug-in or theme for this one function.
Describe alternatives you've considered
The only "work around" is creating a standard page for each category instead of using the category archive. Understandably this is a ton of manual work for larger sites and ultimately, users can still end up in an archive via search or breadcrumbs and see a completely different design / result.
Preferably I would love to see this just built into one or both of the post widget types offered by elementor
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions