Sort Portfolio items

Tagged: ,

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

    Hi,
    I would like to sort the Portfolio items from newest to oldest. Right now they are sorted (from top to bottom) oldest to newest. I tried using the order attribute on the item but that didn’t work.
    Here is a link to my portfolio page: http://ci.christianinternethosting.com/portfolio/

    Thanks for all your help so far! I love this theme!

    #2136
    Livemeshlivemesh
    Keymaster

    Can you try enhancing the query in template file template-2c-sorted-full-width.php to –

        $args = array(
            'number_of_columns' => 2,
    		'image_size' => 'medium',
            'posts_per_page' => 50,
            'filterable' => true,
            'order' => 'ASC',
            'orderby' => 'menu_order'
        );
    

    and see if that helps? You can use the order DESC as well above. If this works, you can copy this modified page template to the child theme directory, rename the template to a name of your choice (modify Template Name: under comments at the top of the file) and then use it without worrying about an update overwriting your changes. Thanks

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Extinct Theme Support’ is closed to new topics and replies.