Meta Box
Support Forum
Support › General › Displaying CPT by Date PickerResolved
Hello, I am wondering how I can display blog post via Custom Post Types by Date Picker (Would act as a release date/calendar). I have connected the date picker to the CPT, but can't get the order to display right on the homepage.
Thank you.
Hi Brain916,
Please follow this article to know how to create a new WP_Query instance to get posts by custom field (meta key) https://metabox.io/get-posts-by-custom-fields-in-wordpress/.
WP_Query
Refer to this documentation of WordPress https://developer.wordpress.org/reference/classes/wp_query/#custom-field-post-meta-parameters.