WordPress.org

Support

Support » Plugins and Hacks » Query Multiple Taxonomies » ORDERBY, ORDER not working

ORDERBY, ORDER not working

  • Stefan

    @axenstar86

    Hey guys. I hope you can help me.

    I cant get any sort order of my terms get working.

    I tried orderby name, id, title, date;
    I tried ASC and DESC.

    Nothing seems to work, I just get the standart name asc.

    I used this code, as descripbed in the documentation:

    function my_qmt_base_url( $base ) {
    
    	$additional_args = array(
    			'orderby' => 'name',
    			'order' => 'desc',
    		);
    
    		$base = 'MYURL';
    		return add_query_arg( $additional_args, $base );
    
    }
    add_filter( 'qmt_base_url', 'my_qmt_base_url' );

    Thanks a lot.
    Stefan

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

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘ORDERBY, ORDER not working’ is closed to new replies.
Skip to toolbar