Tagged: portfolio grid tags
Hi, I’m using the portfolio system to show products. Portfolio items are grouped with categories. I want to group on age (4+, 5+, 6+), on subject (English, Math, general) and perhaps other subjects. With categories, I have one long list now. See the (development) site.
Is it possible to use tags with the portfolio grid?
Is it possbile to use the parent/child of categories in the portfolio grid filter?
Hey HenkN,
To functions.php of your child theme add:
add_theme_support( "avia_template_builder_custom_post_type_grid" );
This will add an additional selectbox “Which Entries Should Be Used” to ALB Portfolio Grid where you can select “Post Tags”
The portfolio grid filter (line 1589):
$query = apply_filters( 'avia_post_grid_query', $query, $params );
$query is the WP array rendered to WP_Query with:
$this->entries = new WP_Query( $query );
So you are able to modify this and use all the capabilites WP_Query (https://developer.wordpress.org/reference/classes/wp_query/) offers
Best regards,
Günter