Use custom fields in date queries
-
I’m using the pods plugin to generate custom fields for an events calendar. The date of the event is saved in a custom field with the slug
pd-startdate
. The custom slugs work well for meta queries, such as[display-posts meta_key="pd-startdate" orderby="meta_value" meta_type="DATETIME"]
. However, I’d like to use the custom fields for date queries, such as[display-posts date_column="pd-startdate" date_query_after="yesterday"]
. But it looks like the plugin does not accept the custom value ofpd-startdate
for thedate_column
parameter.Is there some way to make this work? I’ve searched in the documentation but didn’t find anything related.
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Use custom fields in date queries’ is closed to new replies.