Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #18451

    I was using the Propulsion theme for my website, but I could not resist changing themes once I saw Replete!

    My only question is in terms of Portfolio items. The oldest items are appearing first and the newest items are appearing last. Is there a setting that I am not seeing? I have gone through and set each one to have its own “Published on:” date and time. But I can’t get the newest items to appear first.

    Any advice would be appreciated.



    You can use a plugin like: to sort the items as required. If you don’t want to use a plugin add following code to the bottom of functions.php:

    function loop_portfolio_query( $location )
    if ( $location == 'loop-portfolio' )
    global $avia_config;
    if(isset($avia_config['new_query'])) {
    $avia_config['new_query']['orderby'] = "date";
    $avia_config['new_query']['order'] = "DESC";
    add_action( 'avia_action_query_check' , 'loop_portfolio_query', 10, 1 );

    You can replace DESC with ASC if you want to reverse the order.


    Excellent. THANK YOU!

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

The topic ‘Portfolio Order of Appearance’ is closed to new replies.