Home › Forums › Back End › 2nd header to show only for index? › Re: 2nd header to show only for index?
In you latest post you have it as:
It should be:
If you placed that inside the index.php inside the themes folder and inside the theme you are using, and the index_header.php is in the exact same folder, you shouldn’t have any issues. I just did this yesterday in fact so I know it works. Make sure you cleared the index_header.php file of any of the default html like the meta and the body and such and only have the header html inside.
Make sure you have everything posted as well. Sometimes while making changes on several pages, we forget to post one, and that screws things up for the rest of the files.
It cant be a file path issue because the index.php and the index_header.php should be in the exact same folder right next to each other. If it still doesn’t work, try linking to it from the root.
And if that doesn’t work, then I can’t think of anything else to do.