Use custom fields in date queries

[ad_1]

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 of pd-startdatefor the date_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]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer