Is it possible to use taxonomy other than Portfolio Category in a portfolio grid? I am assigning some items to one, which requires a second category tag, but both show up in the breadcrumb.
also… is it possible to randomize the items chosen to display from a category? It always chooses the most recent.
Hi!
You can use the Blog Posts element instead of the Portfolio Grid. Add this on functions.php to sort the portfolio items.
add_filter('avia_post_grid_query', 'avf_custom_post_grid_query');
function avf_custom_post_grid_query ( $query ) {
$query['orderby'] = 'rand';
return $query;
}
Cheers!
Ismael
Thank you!
You guys are awesome. Let me try.
Here’s another. Is there a simple addition to add to functions.php that will change the Masonry gallery to infinite scroll rather than ‘Load More’ button?
Should I post this as a new item?