Skip to content

Instantly share code, notes, and snippets.

@jameskoster
Created June 10, 2015 11:05
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jameskoster/ffb575c991bf6b786f75 to your computer and use it in GitHub Desktop.
Save jameskoster/ffb575c991bf6b786f75 to your computer and use it in GitHub Desktop.
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
Copy link

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

@Krupa2788
Copy link

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