Tagged: ,

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #3680

    Hi,

    how i can change the order of the portfolio categories at the top of the sortable portfolio page?

    thanks

    #43283

    Hey,

    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]);

    #43284

    Hi,

    that doesent work, when i change it to date no categories are shown only name and date.

    thanks,

    daniel ..

    #43285

    Mmmm… I’m sorry – than it isn’t easily possible to change the order at all.

    #43286

    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?

    #43287

    Hey,

    As Dude said, there doesn’t seem to be a way to change the order.

    Regards,

    Devin

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Order of the portfolio tags in the top’ is closed to new replies.