Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #168455

    I don’t speak english very well… So i’ll tried to be as clear as possible

    I would like to have my portfolio items displayed in an anti chronological way.
    So that the last entry in the wordpress backoffice is displayed first.

    I looked everywhere a way to do this, but I don’t find it…
    I guess I have to modify the source code, but I don’t know where…

    If you can help me, I will be grateful



    Hello MissGouby!

    Include this block of code at the end of the functions.php file located in the Eunoia theme folder:

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



    Yes it works !!!!

    Thank you so so much Josue !



    Glad we could help, let us know if you have any more questions or issues :)


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

The topic ‘Anti chronological display of portfolio items’ is closed to new replies.