Can I use Query.php with meta values?
-
I want to build a query that only shows posts that have a certain value in a custom field.
Can I use https://github.com/cabrerahector/wordpress-popular-posts/blob/master/src/Query.php for this?
For example, I want to query for the 5 most viewed posts over the last 24 hours sorted by Total Views that have the custom field legiscan_bill_session_id with a value of 1756.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Can I use Query.php with meta values?’ is closed to new replies.