[Resolved] Footers based on woocommerce product categories

Home Forums Support [Resolved] Footers based on woocommerce product categories

Home Forums Support Footers based on woocommerce product categories

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #922413
    Marcel

    Hello. I would like to guide me, if possible, with the next scenario: I have a Woocommerce website with a few product categories but with lots of product subcategories. I would like to assign different footers to different categories and belongings subcategories, without assigning them manually, but with a php functions. Could you help me with the code for that php function? Or other solution would be appreciated. Thank you!

    #922506
    David
    Staff
    Customer Support

    Hi there,

    will this just be a case of the different widgets in the footer?
    If so a plugin like Content Aware Sidebars will do this for you.

    #922523
    Marcel

    Thank you. I will check de plugin.

    #922550
    David
    Staff
    Customer Support

    You’re welcome

    #1062714
    Marcel

    Hello. I came back here with my willingness to learn GP and WP. I’ve read about Function Reference/get footer and I’m asking if I could create more custom footer templates and use them to display different footers on different pages using conditional tags with hooks on my GP website. Please confirm this could be possible. Thank you!

    #1062844
    David
    Staff
    Customer Support

    It would require custom development which would involve creating multiple footer-name.php templates, registering their own specific widget areas before calling calling them within a Hook.

    Probably one of the more complicated things to achieve.

    #2304730
    Marcel

    Thank you, David!

    #2304956
    David
    Staff
    Customer Support

    You’re welcome

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