Tagged: ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #18670

    Can you change the default sorting for the portfolio items?

    It looks like it is set to order by the post id from what i can tell, because if i change the post date it does not affect the sorting.

    Please help.

    Thanks

    #100373

    I found the solution …

    function loop_portfolio_query( $location )

    {

    if ( $location == ‘loop-portfolio’ )

    {

    global $avia_config;

    if(isset($avia_config)) {

    $avia_config = “title”;

    $avia_config = “ASC”;

    query_posts($avia_config);

    }

    }

    }

    add_action( ‘avia_action_query_check’ , ‘loop_portfolio_query’, 10, 1 );

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

The topic ‘Portfolio Sorting?’ is closed to new replies.