so I use Metabox and have setup Events, also with a custom field date picker. I want to query this and make an “upcoming events” sort of section.
Yes, I have already tried two different tutorials on this topic and searched this forum and tried their solutions. None of them have worked properly so far, I really hope to find a solution soon.
The site is: https://dev.wushu.de/
The aforementioned sections are toward the footer. One is the planned design, the “text-only” was a test to see if something else in the container was the issue (but wasn’t, still didn’t work). They seem to be displayed by “date published” rather than my chosen meta value.
Also, I have done this with several different “date” formats in the wordpress general settings.
The ID of the meta I’m trying to query is “datum” in Metabox.
As you can see, I’m querying seminars & events and have setup a meta query as suggested in a tutorial by @Sridhar
This hasn’t worked so far. I have tried “Type” as “Char” or “Numeric”.
I have just updated Bricks to 1.7 from 1.6.1. I had updated all other plugins a couple of days ago.
Unfortunately, the issue is still present. I’m not quite sure what issue with the header, but that’s another topic.
Just to be sure, I have just tried to make a new section with a query loop and @Sridhar 's method doesn’t seem to work. The tutorial is rather simple, I’m desparate to know why this won’t work on my site…
Thanks for your input! I hadn’t even noticed the issue with the header.
Nonetheless, I really hope somebody has an idea or maybe @timmse? I know you helped with a similiar issue with ACF, setting the meta to “Numeric”, but this didn’t help with Metabox.
I have tried as you said: The events are now showing in chronological order, but previous events (prior to current date) are still showing.
Also, this only works when i DONT set the type to Datetime but leave as default. If I do set it to datetime, then the query breaks and nothing will load.