Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS WordPress theme Logo only on certain pages? Re: WordPress theme Logo only on certain pages?

#126663
tomrogers123
Member

It’s happening because the `header.php` file (where you probably have your logo markup) gets included on every page so the base URL for relitive links changes. A way to get around this – always make sure the path is based wherever the theme directory is in relation to the page – is to use `` in front of all your asset paths. Then, the same links are generated (the correct ones) for every page.