Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #206434

    Hi

    My client wants to change the order of the filter menu on the http://www.cambridgeespana.com/transactions/ (U: catalysis P: 4czsNcn/V) so that it’s as follows:

    All / M&A Advisory / Corporate Finance / Financial Advisory

    Is this possible?

    Cheers
    Rupert

    #206726

    Hi creativeyes!

    Edit config-templatebuilder > avia-shortcodes > portfolio.php, find this code on line 443:

    $categories = get_categories(array(
    				'taxonomy'	=> $params['taxonomy'],
    				'hide_empty'=> 0
    			));

    Replace it with:

    $categories = get_categories(array(
    				'taxonomy'	=> $params['taxonomy'],
    				'hide_empty'=> 0,
    				'orderby'=> 'name',
    				'order'=> 'DESC'
    			));

    Refer to this link for more order parameters: http://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters

    Regards,
    Ismael

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Portfolio filter menu order’ is closed to new replies.