Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #345261

    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.

    #345478

    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

    #345503
    This reply has been marked as private.
    #345593

    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

    • This reply was modified 10 years, 1 month ago by Elliott.
    #345874

    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.

    #346697

    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

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.