If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
how i can change the order of the portfolio categories at the top of the sortable portfolio page?
the categories are sorted by names. The query code is located in template_portfolio.php:
$categories = get_categories('title_li=&orderby=name&hide_empty=0&taxonomy=portfolio_entries&include='.$k_option['portfolio']['matrix_slider_port_final'][$overview_post_id]);
It should be possible to sort the categories by date by using following code:
$categories = get_categories('title_li=&orderby=date&hide_empty=0&taxonomy=portfolio_entries&include='.$k_option['portfolio']['matrix_slider_port_final'][$overview_post_id]);
that doesent work, when i change it to date no categories are shown only name and date.
I just changed “name” into “date” in the template_portfolio.php.
It seems that it doesn’t make any changes to the appearance. Is that because the Portfolio Categories do not carry a time stamp (meaning date assignment).
Is there a way around to sort portfolio categories differently?
Maybe in the order they have been chosen in the drop down menue in the avisio options -> Portfolio options?
The topic ‘Order of the portfolio tags in the top’ is closed to new replies.