Hi,
I am setting up enfold theme here and want to sort the portfolio grid categories. I have tried selecting the ascending/descending order but it doesn’t work.
Also I want to remove “All” from there.
Hey infigic!
Your backend access seems not to work, can you please give it a look for us?
Cheers!
Basilis
Try again with the following
Hey!
Modify the config-templatebuilder > avia-shortcodes > portfolio.php file then look for this code around line 556:
/get all categories that are actually listed on the page
$categories = get_categories(array(
'taxonomy' => $params['taxonomy'],
'hide_empty'=> 0
));
Add the order and orderby parameters: https://codex.wordpress.org/Function_Reference/get_categories#Parameters
Cheers!
Ismael
I want the portfolio masonry grid to look like this
Hi!
To remove “all” from your masonry use this code:
a.all_sort_button.active_sort {
display: none;
}
span.text-sep.ebay-store-design_sort_sep.avia_show_sort {
display: none;
}
If you want to change sort order of your masonry items, then refer to this tutorial: http://kriesi.at/documentation/enfold/change-the-sort-order-of-masonry-elements/
Best regards,
Andy