How to show all posts of specific custom post type with their custom fields values?
The meta information is in a different db table from my understanding. What you’ll need to do is loop through each post and grab it’s meta data using get_fields(). Below is a sample from the query to find all the fields for a particular post. $rows = $wpdb->get_results($wpdb->prepare( “SELECT option_name, option_value FROM $wpdb->options WHERE option_name … Read more