I needed to edit my header to add an image with links to different areas. For some reason it is working only on my main page. When you click on the sub pages within the site all you see are links at the top of the page in the header area. I used the genesis hooks and placed the table with images into that area. The url is http://www.wicklessfragrance.com. I would appreciate any help.
Paste the code here please and wrap it in opening and closing php tags with shortcodes. [ php ]
What hook did you use and what hook area did you place it in? You code is saying only place it on the home and not every page.
This hook outputs the default header (the `#header` div)
and i checked the box.
I added <table id="Table_01" width="979" border="0" cellspacing="0" cellpadding="0">
<td colspan="2"><a href="http://www.scentsy.net" rel="nofollow"><img alt="" src="images/Scentsy_Top.png" width="979" height="41"/></a></td>
<td rowspan="3"><img alt="" src="images/Scentsy_Products.png" width="702" height="109" /></td>
<td><a href="http://www.wicklessfragrance.com/go/shop-online/"><img title="Order Scentsy Products" alt="buy scentsy"src="images/Button-1.png" width="277" height="33"/></a></td>
<td><a href="http://www.wicklessfragrance.com/sell-scents/"><img alt="buy scentsy products" src="images/Button-2.png" width="277" height="25"/></a></td>
<td><a href="http://www.wicklessfragrance.com/earn-free-scentsy/"><img alt="no flame candles" src="images/Scentsy_Safe_Candles.png" width="277" height="51"/></a></td>
Remove the conditional tag and it will display site wide. But i don't see a conditional tag in that code.
You could also create the table using a table plugin and then echo in the shortcode for the table using a custom function.
Or echo in the 3 links in a list. No need for a table then.
Sorry I have no clue how to do that!
There's some kind of conflict with the code. Really not sure whats causing it as i see the links do work on some pages but are messed up. Its conflicting with your header code somehow.
Try taking the code out of there and adding it to the header right widget.
OK I removed it from hooks and added to header widget but its still doing it.
Could I have possibly removed some kind of css data?
You must be logged in to reply to this topic.
Subscribe to get early access to new themes, discounts and brief updates about what's new with StudioPress!