Taxonomy Parameters in WP Query to get posts from two different taxonomies

terms parameter of tax query is required. Just pass to it all the terms for taxonomy $args = array( ‘post_type’ => ‘cars’, ‘tax_query’ => array( ‘relation’ => ‘OR’, array( ‘taxonomy’ => ‘brand’, ‘field’ => ‘slug’, ‘terms’ => ‘bmw’ ), array( ‘taxonomy’ => ‘color’, ‘field’ => ‘id’, ‘terms’ => get_terms(‘color’, array(‘fields’=>’ids’) ) ) ) ); Note … Read more

WordPress Multisite – is this possible?

It sounds like you have an ideal situation for a multisite. You do not even need to have the sites running the same theme. Your theme however would be exactly the same for each site so you couldn’t modify a theme for an individual one (they are at the base of the multisite not on … Read more

Wp get archive only text not link

Totally trying this, how about: wp_get_archives( array( ‘type’ => ‘yearly’, ‘limit’ => 12, ‘format’ => ‘custom’, ‘before’ => ‘<span class=”year”>’, ‘after’ => ‘</span>’ ) );