Tag Info

New answers tagged

0

For testing purposes in your functions.php file, try this - add_action('init', 'my_test_get_all_bands', 99); function my_test_get_all_bands(){ echo '<pre>'; print_r(get_all_bands()); echo '<pre>'; } As I was attempting to say in my comment to your question (and as Pieter Goosen explained rather better), if your taxonomies have not yet been ...


1

Does this work? global $post; // make sure the post object is available $slug = $post->post_name; // get the slug // insert the slug into your query $args = array( 'post_type' => 'client_prop', 'posts_per_page' => 10, 'tax_query' => array( array( 'taxonomy' => 'prop_neighborhood', 'field' => 'slug', 'terms' => ...



Top 50 recent answers are included