Meta Box
Support › MB Relationships › Get total post per post type
Hi, Is it possible to get all the post types filtered by day?
For example, right now I have 3 custom post types.
Service 1. Service 2. Service 3.
Is it possible to get the total number of posts created under certain post types?
Example Results:
------------ August 24, 2023
Service 1: 25 Service 2: 20 Service 3: 10
And show this on the dashboard widget.
Thank you!
Hello,
You can create a custom query to get the total posts of a post type and follow the documentation to show this on a WordPress dashboard widget. https://developer.wordpress.org/apis/dashboard-widgets/ https://developer.wordpress.org/reference/classes/wp_query/