StoreFront – Add HTML to header

 /**
 * Adds a top bar to Storefront, before the header.
 */

add_action( 'storefront_before_header', 'storefront_add_topbar' );

function storefront_add_topbar() {
    echo "This is some HTML you can add.";
}

Loading

Leave a Reply

Your email address will not be published. Required fields are marked *