Close

Account

Documentation

Forum

Menu

Logos different on different category

  • Post count: 13
    Ikki1990
    April 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: 2679
    Rai
    April 17, 2018 at 1:50 pm #30639

    Hi,

    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 you

    Post count: 13
    Ikki1990
    April 26, 2018 at 6:36 am #31126

    That’s working!! Thanks!!

    One last question: I have also to change logos on this category page – https://www.gamelegends.it/movie/

    How can I do?

    Thanks
    Simone

    Post count: 2679
    Rai
    April 26, 2018 at 11:14 am #31145

    Hi Simone,

    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 you

    Post count: 13
    Ikki1990
    April 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 it

    Post count: 9465
    Adek
    May 1, 2018 at 10:57 am #31325

    Hi Simone,

    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 you

    Post count: 13
    Ikki1990
    May 1, 2018 at 4:18 pm #31356

    I just solved changing if (is_single()) to if (is_single() || is_category())

    Post count: 9465
    Adek
    May 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.

    Thank you

You must be logged in to reply to this topic.