Answers for "custom query with cpt"

PHP
0

wp_query custom post type

//WordPress: Query a custom post type
//For example, query all Case Study post types

<?php query_posts('post_type=case_studies'); ?>
Posted by: Guest on January-14-2020

Browse Popular Code Answers by Language