Add support for Query populated by shortcode-driven CSV list of PostIDs #25575
pbaddock
started this conversation in
Feature Request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Prerequisites
What problem is your feature request going to solve? Please describe..
I find the custom query infrastructure to be less then reliable when writing trying to use the custom query filter hooks in the elementor documentation (even with assistance from chatGPT) - I'm halfa coder which doesn't help (not deep/experienced in php). JetEngine from crocoblock supports an ability to set a query source as 'shorcode result' where I can get chatGPT to write me a custom shortcode which returns a CSV list of post ids and I've found I use this over and over in projects to populate the query source where i want to do something a bit customised / outside standard queries. I would love to see this in Elementor.
Describe the solution you'd like.
Would be great if in addition to the post types list for query source in loop grids / carousels - there was a 'Shortcode result' option or similar where I can add a shorcode that returns a CSV list of post ids which is then used as the query source for the widget. That would then allow me to get chatGPT to write a custom shortcode function (easy for me to test that by just inserting the shortcode into the page to ensure the right post ids are coming back) and then add that as the query source. I expect the full solution here would be a more capable / flexible set of query settings but as an interim step this would open up a world of possibilties for controlling the native query source and to my simple mind at least it doesn't seem like this would be difficult to add support for?
Describe alternatives you've considered.
Using JetEngine (I often do, but would like to see this in native elementor)
Additional context
No response
Agreement
All reactions