Home › Forums › Support › Page Header Addon Not Working On WooCommerce Pages › Reply To: Page Header Addon Not Working On WooCommerce Pages
January 13, 2016 at 12:15 am
#165475
Tom
Lead Developer
Lead Developer
In GP Hooks, try this in the “After Header” hook:
<?php if ( is_category() ) : ?>
Your HTML for the text area in categories here.
<?php endif; ?>
Then check the “Execute PHP” checkbox.
That will add it to all category pages.
To specify a category, add the ID into is_category() like this: is_category( 2 ).
More info here: https://codex.wordpress.org/Function_Reference/is_category
Let me know if you need more info 🙂