Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #244577

    Hi,

    I own both the Coherence and the Choices themes, and I’m wondering if there is a way to reorder the portfolio items, the way they are displayed on the front end. I know when I change the dates, they will appear in a different order on the backend, but I’m more concerned about changing the way they appear to my customers.

    Basically, when I add a new item, I want it to be displayed first, rather than last and to be able to put it side by side with similar items would be nice as well. Any suggestions for me??

    – Kailey

    #245090

    Hi Kailey!

    Try this plugin: http://wordpress.org/plugins/post-types-order/

    Regards,
    Devin

    #247532

    Hi
    I have installed this plug in but I cannot reorder my items in portfolio front page
    How can I order them by date on the portfolio front page ?
    thanks

    #248389

    Hey!

    Yes – place this code into the theme functions.php file:

    
    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']['orderby'] = "ASC";
    query_posts($avia_config['new_query']);
    }
    }
    }
    add_action( 'avia_action_query_check' , 'loop_portfolio_query', 10, 1 );
    

    If you need a descending order replace ASC with DESC.

    Regards,
    Peter

    #248868

    this works perfectly thanks for your great support
    rated 5 stars !

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

The topic ‘Portfolio Items – reordering possible?’ is closed to new replies.