I have installed the Advanced Post Queries plugin as I need to filter the Elementor Posts Widget so only current and/or future posts are visible based on the Toolset CF "datum-infomoment" (date event).
However, the settings you see in the screenshot show up empty.
Hi Shane,
Thank you for picking this up so quickly. It seems I am trying to do 2 things Elementor can't do natively in the Posts Widget:
- Order posts by Toolset Custom Date Field
- Filter posts by Toolset Custom Date Field
To Filter out the 'past' events I have the Advanced Post Queries plugin but I can only enter a Custom Field Name (wpcf-datum-infomoment). I cannot define that as date or number in the settings.
To Order the posts, I am trying to use the Elementor Custom Query function (maybe I should do both exclude and order via the custom query)
I know I can make my custom view which offers both order and filter quite easily, but then I can't style the output using Elementor Loop / Elementor Custom Skin.
The Order By has Date by Default, other options are Title, Menu Order, Random. None of these work for me. Custom Field is unfortunately not an option there.
The code you provided does not change anything about the Order 🙁
It seems to have no impact whatsoever, even if I add