Support » Plugin: Query Multiple Taxonomies » [solution] combine QMTs query arguments with custom arguments

  • If you want to make adjustments to QMTs query arguments like 'orderby' or exclude posts you can do it by merging the wp_query args with your own.

    $args = array_merge( $wp_query->query, array(
    			'order' => 'ASC'
    		) );
    
    		$the_query = new WP_Query ($args);

    Propably this is something allready posted here somewhere, but I couldn’t find something about it, so I posted the solution I got.

    http://wordpress.org/extend/plugins/query-multiple-taxonomies/

  • The topic ‘[solution] combine QMTs query arguments with custom arguments’ is closed to new replies.