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

Home Forums Back End Can't change the logo on my WordPress page

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #203720

    I would like the logo on my pages and posts to be a different color from the logo on my front page.

    The research I am finding seems to complicate the matter.

    Can someone check out my site and help me figure out what to do? I have custom templates for most of my pages.

    I can share code if helpful, but I’m not even sure what to share.


    @domainatrix you don’t have to create a new template. Find the piece of code, in your templates, that displays your logo. Then based on what is being viewed (page, post, etc) display appropriate version of the logo.

    Something like

    <?php if ( is_page('about') ) { echo '<img src="about_logo.png" alt="">'; } else { echo '<img src="default_logo.png" alt="">'; } ?>

    Here’s complete list of WordPress conditionals:

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Back End’ is closed to new topics and replies.