WordPress.org

Ready to get started?Download WordPress

Forums

Query Multiple Taxonomies
[solution] combine QMTs query arguments with custom arguments (1 post)

  1. schwarzgrau
    Member
    Posted 1 year ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic