Portfolio Sorted according to Alphabetical Order

Support Forums for LiveMesh Themes & Plugins Forums Squash Theme Support Portfolio Sorted according to Alphabetical Order

Tagged: ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #3512
    Richardsngrichardsng
    Member

    Hi,

    Is there a way to sort all the portfolios in the portfolio page in alphabetical order?

    I cant seem to do that for http://sg.propertylaunchnetwork.com/

    But the portfolio page for http://industrial.sg.propertylaunchnetwork.com/ is working fine.

    how do I address this issue?

    #3537
    RaghavendraRaghavendra
    Moderator

    Changing the line number 261 of /framework/functions/utility-functions.php to

        $query_args = array('post_type' => 'portfolio', 'posts_per_page' => $args['posts_per_page'], 'filterable' => $args['filterable'], 'paged' => $paged, 'orderby'=> 'title', 'order' => 'ASC');
    

    can help sort the portfolio items. The modified code helps sort the portfolio entries by title alphabetically. Hope this works for you.

    #3727
    Richardsngrichardsng
    Member

    Hi,

    I have difficulty in finding /framework/functions/utility-functions.php

    This is what I viewed when selecting framework.php

    However, I couldnt find utility-functions.php

    Could you provide me with a step-by-step way to do it?

    #3740
    RaghavendraRaghavendra
    Moderator

    To view utility-functions.php, you will need to either go through the FTP since the default wordpress editor is quite limited in function and does not go deeper than 1 level or so when looking for files part of the theme. If you do want to get to it from the wordpress admin, pls install the following plugin named Synchi –

    http://wordpress.org/plugins/synchi/

    I use it all the time for support since the default editor does not help much. If you still have an issue, pls post a private message with the login and I can make the change.

    One more thing, it is safer to make PHP code changes from FTP since a single error can bring down the site with no access to WP admin console or the above plugin. It is easy to revert back to original code if that happens if you are on FTP. Pls have a backup to restore back.

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