Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #806387

    Hi, I don’t able to hide in portfolio page, the sub category. I See always all the portfolio items in the page, but not only that I have selected from the Portfolio Grid.
    Thank you

    #806410

    Hey meetlines,
    Have you tried only selecting the categories you wish to show? If you hold the Ctrl key while clicking, you can pick only some.
    postimage

    Best regards,
    Mike

    #806415

    Hi Mike, thanks for your quickly reply, but my problem is for not shown the subcategory, explain
    Top category is “DESIGN D’ARREDO”
    The sub category that I won’t show in page of portfolio is “LAMPADE” because i would that when the click “DESIGN D’ARREDO” I can choose another subcategory: “LAMPADE and TAVOLA E CUCINA”
    Thanks

    #806417

    Hi,
    Oh this is a WooCommerce issue :)
    Perhaps this will help: https://code.tutsplus.com/tutorials/display-woocommerce-categories-subcategories-and-products-in-separate-lists–cms-25479

    Best regards,
    Mike

    #806422

    Hi Mike, i have deactivate Woocommerce because is not necessary the site is not a e-commerce.
    But the issue is same. How I can send a screenshot?

    #806425

    Hi,
    Try https://postimage.io/
    Can you please include a admin login in the private content area so we can take a closer look.
    Maybe you should list the items you would like to show on that page.
    Why can you not just disable or remove the sub category?

    Best regards,
    Mike

    #806427

    Sure, I post in private area. Thanks

    #806428

    https://s3.postimg.org/4k0x805tv/Schermata_2017-06-10_alle_23.27.31.png
    I don’t would to show Sculture moderne and sculture contemporanee but only sculture….and same for Design d’arredo, only alone and not with lampade…

    #806566

    Hi,
    The login is not working for me, please check

    Best regards,
    Mike

    #806582

    Sorry Mike, I post in the private content a work password.
    I just resolve for now with created a new pages with a picture that when click open the portfolio directly, this:

    But I hope I can use a portfolio category and subcategory to show in this method:

    Thanks

    #806606

    Hi,
    To prevent the Portfolio Grid from showing the sub-categories or child categories, go to line 809 in /enfold/config-templatebuilder/avia-shortcodes/portfolio.php
    find:

    'terms' 	=> $terms,

    add this new line below it:

    'include_children' => false,

    Best regards,
    Mike

    #806667

    Thank you so much Mike for the spend time of my problem, but unfortunately, I have write below the line of code that you have send me but I have a blank page :(
    I tell you that I don’t have any child theme but only enfold default.
    I don’t know when I can put a child theme.
    Thanks

    #806678

    Hi,
    I understand that you don’t have a child theme, but you can still add this line.
    If you update the theme, you can add it again :)
    I don’t know what you mean by a blank page?
    postimage

    Best regards,
    Mike

    #853357

    Hi – Where do I add this, If I have a child-theme?

    #854680

    Hi,


    @jesperconrad
    : We’ll close this thread now. Please continue here: https://kriesi.at/support/topic/exclude-child-categories-from-masonary-layout/

    Best regards,
    Ismael

Viewing 15 posts - 1 through 15 (of 15 total)
  • The topic ‘Hide sub category portfolio items’ is closed to new replies.