Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #346317

    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.

    #346715

    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

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

    Awesome! Worked perfectly. What if I wanted to do the exact same thing for a normal portfolio grid?

    #348426

    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

    #348626
    This reply has been marked as private.
    #348834

    Nevermind. I fixed it. Thanks it worked! I’m just silly.

    #348909

    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

    • This reply was modified 10 years, 1 month ago by Elliott.
Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Anyway Solution to Hide Portfolio Child Categories?’ is closed to new replies.