Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Add static content to the Storefront header
add_action( 'storefront_header', 'jk_storefront_header_content', 40 );
function jk_storefront_header_content() { ?>
<div style="clear: both; text-align: right;">
Have questions about our products? <em>Give us a call:</em> <strong>0800 123 456</strong>
</div>
<?php
}
@bureauvk

This comment has been minimized.

Copy link

@bureauvk bureauvk commented Jun 22, 2018

This action is not working when you use the WooCommerce Storefront Powerpack Plugin. Any other way to hook into the header code?

@Krupa2788

This comment has been minimized.

Copy link

@Krupa2788 Krupa2788 commented Aug 23, 2018

Did you find the solution Powerpack plugin?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment