-
AuthorPosts
-
June 10, 2017 at 9:38 pm #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 youJune 10, 2017 at 10:30 pm #806410June 10, 2017 at 10:45 pm #806415Hi 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”
ThanksJune 10, 2017 at 10:56 pm #806417Hi,
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-25479Best regards,
MikeJune 10, 2017 at 11:10 pm #806422Hi 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?June 10, 2017 at 11:19 pm #806425Hi,
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,
MikeJune 10, 2017 at 11:25 pm #806427Sure, I post in private area. Thanks
June 10, 2017 at 11:30 pm #806428https://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…June 11, 2017 at 2:13 pm #806566June 11, 2017 at 3:13 pm #806582Sorry 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
June 11, 2017 at 5:28 pm #806606Hi,
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,
MikeJune 11, 2017 at 11:14 pm #806667Thank 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.
ThanksJune 12, 2017 at 2:47 am #806678September 18, 2017 at 11:49 am #853357Hi – Where do I add this, If I have a child-theme?
September 21, 2017 at 10:07 am #854680Hi,
@jesperconrad: We’ll close this thread now. Please continue here: https://kriesi.at/support/topic/exclude-child-categories-from-masonary-layout/Best regards,
Ismael -
AuthorPosts
- The topic ‘Hide sub category portfolio items’ is closed to new replies.