Deprecated: Function get_currentuserinfo is deprecated since version 4.5.0! Use wp_get_current_user() instead. in /var/www/html/wp-includes/functions.php on line 5383

Reply To: "All" Filter

New Front EN Support Forums Kanso Theme Support "All" Filter Reply To: "All" Filter

#3822
mmsatori
Keymaster

Hey Dan,

this hasn’t been envisaged as a back-end feature, yet you can change the order by altering the get_terms query on line 49 of the “page_portfolio.php” template file – from:

$kanso_sd_portfolio_types = get_terms('tagportfolio');

to (for example):

$kanso_sd_portfolio_types = get_terms('tagportfolio', 'orderby=count');

this will order the terms by the number of items in each tag; other options available in WordPress include ordering by term id (replace “count” with “id”) and alphabetic ordering by term slug (replace “count” with “slug”).

Sincerely,
Andrii / Satori Studio