Quantcast
Channel: User user3040610 - Stack Overflow
Viewing all articles
Browse latest Browse all 44

Answer by user3040610 for Showing posts of a term under a custom taxonomy of a custom post

$
0
0
 Try this,   $posts_array = get_posts(    array('posts_per_page' => -1,'tax_query' => array(            array('taxonomy' => 'appliances','field' => 'slug','terms' => 'home-appliances',            )        )    ));

Viewing all articles
Browse latest Browse all 44

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>