Site logo

Archived topic

Footers based on woocommerce product categories

7 replies · Started by Marcel on June 7, 2019

Viewing posts 1–8 of 8

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!

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.

Thank you. I will check de plugin.

You're welcome

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!

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.

Thank you, David!

You're welcome

This archived topic is closed to new replies.