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

    At the moment I see the order of the portfolio is based on the date it was added in the CMS. Yet in my case it should just be alphabetical, any way to change that? Doesn’t matter if it should be coded in php or whatever. Just want to avoid looking for hours when it’s somewhere obvious.

    Also, can there be a search field for the portfolio itself? They can use the general search field, but that basically shows ALL info in the site, including news items etc.

    Thanks in advance!


    Hi DavyE,

    Not that I know of but I’ve tagged the head of support on the topic to see if he has any insight.




    You can use following code to sort it alphabetical – insert it at the bottom of functions.php:

    function custom_post_grid_query( $query, $params ) {
    $query['orderby'] = 'title';
    $query['order'] = 'ASC';
    return $query;
    add_filter( 'avia_post_grid_query', 'custom_post_grid_query', 10, 2);

    A search field just for the portfolio entries is not possible atm.


    Works like a charm, thanks a lot!

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Alphabetical and search function for portfolio?’ is closed to new replies.