Logos different on different category
Post count: 13Ikki1990April 17, 2018 at 3:29 am #30595
Hi, I’d like to use different logos, changing if the category is different. There is a way?Post count: 2689RaiApril 17, 2018 at 1:50 pm #30639
Unfortunately, we don’t have that option but you might achieve it with small tweaks. There is another user which has a similar request, you could follow the customization guide here, but might need some adjustment to your need: http://support.jegtheme.com/forums/topic/display-different-header-for-each-post-category/#post-30435
Thank youPost count: 13Post count: 2689RaiApril 26, 2018 at 11:14 am #31145
You need to add more conditional statement, just duplicate the previous code and replace the category with ‘movie’, like so
if ( $category->slug === 'movie' ).
Anyway, please consider to give 5-stars rating ⭐️⭐️⭐️⭐️⭐️ JNews theme on Themeforest. It will be much help to us for the development of this theme.
Thank youPost count: 13Ikki1990April 29, 2018 at 8:35 pm #31242
Yes I have just do it like this, and it works on every post of that category. But on the category page movie, logos are the same and I have to change itPost count: 11437AdekMay 1, 2018 at 10:57 am #31325
I just checked the movie category page on your website and notice the logo has changed in there. Did you still get a problem in there? Just want to make sure. Please confirm.
Thank youPost count: 13Ikki1990May 1, 2018 at 4:18 pm #31356
I just solved changing if (is_single()) to if (is_single() || is_category())Post count: 11437AdekMay 2, 2018 at 10:45 am #31404
Glad to hear that if you have been able to resolve the problem.
Let us know if you have further question.
You must be logged in to reply to this topic.