how to change portfolio sort order to ASC by title ?

Support Forums for LiveMesh Themes & Plugins Forums Squash Theme Support how to change portfolio sort order to ASC by title ?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #12208
    Yammyyammy
    Member

    Using swash theme. How can I change the portfolio thumbnails page to display ordered by portfolio title?

    thanks
    []s

    #12253
    VeenaVeena
    Moderator

    Pls modify line no:261 of file framework/functions/utility-functions.php as below –

    $query_args = array('post_type' => 'portfolio', 'posts_per_page' => $args['posts_per_page'], 'filterable' => $args['filterable'], 
                'paged' => $paged, 'order' => 'ASC', 'orderby'=>'title');
    
Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Squash Theme Support’ is closed to new topics and replies.