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

    How do I rearrange the order of All/BTS/Red Carpet/Still on my Portfolio Grid

    #1366850

    Hey garyt13,

    Thank you for the inquiry.

    This is possible but you have to manually edit taxonomy or category query within the sort_buttons function in the enfold\config-templatebuilder\avia-shortcodes\portfolio\portfolio.php file. You have to adjust the order and orderby parameter.

    
    //get all categories that are actually listed on the page
    			$categories = get_categories( array(
    								'taxonomy'		=> $params['taxonomy'],
    								'hide_empty'	=> 0
    							) );
    

    // https://developer.wordpress.org/reference/functions/get_terms/

    You can also try the following plugin but it might affect the posts query.

    // https://wordpress.org/plugins/custom-taxonomy-order-ne/

    Best regards,
    Ismael

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.