Hello.
When i enter the main portfolio categories i should see its subcategories displayed. Instead i see portfolio entries. Am i missing something? How can i make so it lists subcategories?
Thank you.
Hey kinderheim511!
From what I understand your using the portfolio grid shortcode and you want to make it so that when you select a category it will also display portfolio entries assigned to the sub categories correct?
That is how it should work by default. Send us a WordPress login and we’ll take a closer look. Make sure to set your reply as private.
Regards,
Elliott
Hey!
I see what you mean, not sure why that is happening. It seems to be working fine for this category though, “Accesorii pentru dispozitive de pozitionare”.
Try deactivating all of your plugins and then delete the “mese de ridicar” category and recreate it to see what happens.
Best regards,
Elliott
Hi.
Category “mese de ridicare” shows yet another item, “usa edmolift” is not a subcategory but an item from the subcategory “Accesorii pentru dispozitive de pozitionare”. So my question is if this is normal behaviour, for the top category to show items instead of subcategories.
If this is not possible, can i place a link inside the menu button “Mese de ridicare EdmoLift” and somehow get taken to a page that lists subcategories from there?
Thank you for for your patience.
Hey!
Ahh, I see what you mean now. Try adding this to the bottom of your /enfold/functions.php file.
add_action( 'parse_tax_query', 'customization_portfolio_archive_no_children' );
function customization_portfolio_archive_no_children( $q ) {
if ( is_tax( 'portfolio_entries' ) ) {
$q -> tax_query -> queries[0]['include_children'] = 0;
}
}
Cheers!
Elliott