0
votes

I'm currently working on a heavily modified Wordpress site that has, in the past, never utilized the blog feature of Wordpress. The site is an e-commerce site that is using Woocommerce and the Storefront theme. I have installed the Storefront blog customizer and all of that is fine, but the marketing team wants a header image to appear between the site header/nav and the post. Is there an add_action() hook that I can use to do this, or does this need to be done in a template file. If so, which one....?? It is not clear what template is being used with the storefront blog customizer.

1
You've got to analyze your theme files to check what possibilities you have. Right now it'd be pure speculation on our part, or with luck someone with the exact theme will read your question...brasofilo

1 Answers

-2
votes

You can have an external file..

//Header.php
function returnHeader()
{
   return '<img id="imgheader" src="img.jpg">';
}

Then in your files

<?php require_once("Header.php"); ?> 
<div class="header" ><?php returnHeader(); ?></div>
<div class="nav" />