WordPress with 3 Logos
-
Hello,
at the moment I have to build a WordPress and it should be 3 logos, which are shown depending on the page (different page, different product, different logo). Example:
– Logo-1.png: if on Home
– Logo-2.png: if on Screens
– Logo-3.png: on all other pagesI’d put logo 3 into wp regularly, but what’s with the two other ones?
I read somewhere else that I would also need a child theme, but not how. Anyway, I do have a child theme.
Some addition like this (see below)? But to be honest I don’t know how I can reference to the original logo and let it disappear, then display the other logos, depending on the page the user is on (and where to actually put it)?<?php if(is_page('screens')){ ?> <img src="/wp-content/themes/themename-child/logo-2.png" /> <?php } elseif(is_page('home')){ ?> <img src="/wp-content/themes/themename-child/logo-1.png" /> <?php } else { ?> <img src="/wp-content/themes/themename-child/logo-3.png" /> <?php } ?>
Or is this possible with Custom CSS in Customizer?
(Sorry, can’t provide the link to the WP, because not accessible from outside network)
Or is there an actual plugin that still works with a new WP (I just found stone-old stuff), that I just couldn’t find?
Thanks in advance!
- The topic ‘WordPress with 3 Logos’ is closed to new replies.