Hey,
In a nutshell. Here what I have planned:
I’d like to display another logo in the header when a visitor comes to a particular category.
example:
Category 1 = Logo A
Category 2 = Logo B
Category 3 = Logo C
….
I would like to implement this with this code:
if ( is_front_page() && is_home() ) {
// Default homepage
} elseif ( is_front_page() ) {
// static homepage
} elseif ( is_home() ) {
// blog page
} else {
//everything else
}
In which file should I include this code?
Or is there another solution?
Thx
-
This topic was modified 11 years by
__NoX__.
Well…IT works. But i have a Problem.
I Got two different category-types. Citys and Subject-Categorys (Art, Music…)
If i Visit the City-Categorys the Show the right logo. But I wann to Display a “standart logo” if the visitor See a Subject-Category.
But with the Codes above IT Shows the logo of city category of the newest posting.
Howard van i Display the standart logo? But: if i See the article Single IT should show the logo of the City category. ..
Hi lucian,
I think he need different logo each category. I want this feature too.
If you don’t get it, please check Mic website here – http://mic.com/
I hope you can help me. Thank you.
Hi,
Unfortunately the theme doesn’t have an option for this and you will need custom modifications to have a different logo for your categories and we cannot provide any type of custom work at this time as we are working hard on the development, updates, fixes and support, sorry! Here you can find the the logo file if you want to add conditions – http://screencast.com/t/d41OTljhZoxI and it is called like this in the header style – http://screencast.com/t/koZ6wOka
Thanks!