WordPress.org

Ready to get started?Download WordPress

Forums

Query Multiple Taxonomies
ORDERBY, ORDER not working (2 posts)

  1. Axenstar86
    Member
    Posted 1 year ago #

    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/

  2. joeleade
    Member
    Posted 1 year ago #

    Hi Stefan,

    I just found this solutions, which works for my theme - http://bit.ly/T4eaPo

    Cheers,

    Joel

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags