How can I sort the categories in the portfolio filters?

Support Forums for LiveMesh Themes & Plugins Forums Agile Theme Support How can I sort the categories in the portfolio filters?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #14306
    Vonseydewitzvonseydewitz
    Member

    Hello!

    Thank you very much for developing this great theme! Is there any way to define the order of the portfolio categories in the portfolio view in a one-page-layout?

    At the moment the categorie filters are in alphabetical order. I’d like to arrange my own order.

    Is there any way of doing that? Maybe within the php code?

    http://www.tschann.net/#projekte

    Thank you very much, best
    Richard

    #14315
    RaghavendraRaghavendra
    Moderator

    You will have to change the line number 235 under function mo_get_portfolio_categories_filter() of framework/functions/portfolio-functions.php file and modify the get_terms() function call as per the documentation here –

    https://codex.wordpress.org/Function_Reference/get_terms

    that gives some freedom to order the terms. Pls have a look and see if that helps.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Agile Theme Support’ is closed to new topics and replies.