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

  1. schwarzgrau
    Posted 3 years 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.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Query Multiple Taxonomies
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic