Hello. In my store I would like to have the user be able to select a type of print to buy either Music or Scenery. Once they click on the category, I would like them to be directed to the next page that has the child categories.
So right now, the page http://store.jaredburnettphoto.com/store/ has a masonry portfolio with portfolio category (prints). I want it to only show the portfolio items for Music and Scenery. However it goes ahead and displays a band (Beartooth). Beartooth’s parent is Music.
Is there a fix around this? If I select both Music and Scenery in the masonry gallery settings it still shows portfolio items in the next level down.
Perhaps I’m just using these portfolio items and categories wrong.
Hey JaredBurnett!
Try opening up /enfold/config-templatebuilder/avia-shortcodes/masonry-entries.php and find line 888 which should look like this,
'terms' => $terms,
Add this beneath it,
'include_children' => false,
This should exclude the child categories.
Cheers!
Elliott
Awesome! Worked perfectly. What if I wanted to do the exact same thing for a normal portfolio grid?
Hi!
You can do the same thing for the portfolio grid in /enfold/config-templatebuilder/avia-shortcodes/portfolio.php on line 753.
'terms' => $terms,
Regards,
Elliott
Nevermind. I fixed it. Thanks it worked! I’m just silly.
Hi!
Those pages are using the masonry and they appear to be working fine. I noticed your using the portfolio on this page, http://store.jaredburnettphoto.com/prints/music/, and it’s displaying correctly but you do not have any child portfolios so there wouldn’t be any to hide.
EDIT – Looks like we posted at the same time. Glad you got it sorted.
Cheers!
Elliott