Different Logo per Category

Hello,

I would like to change my Logo per Category.

For Example:
- The whole page have the standard logo which I configure on the settings page.
- All Pages/Posts/Archives etc. under category "xxx" have a different logo.

How can I handle this?

Kind regards,
Waldemar

Comments

  • Hi,

    we are sorry but we do not have possibility to change logos per categories unfortunately.

    Thanks for understanding!
  • Hello,

    on the internet I found a snippet, which could do this over the functions.php in the child-theme. I'm not fit in php, so I don't know, what I have to change in this snippet, so that it works.

    Could you please have a look on that?

    ***
    add_filter('tc_logo_src', 'my_logo');
    function my_logo($original){
        if (is_category(5) )
            return esc_url( 'YOUR_LOGO_URL');
        else return $original;
    }
    ***

    Kind regards
  • Please understand that what you ask for requires files customization what in reference to Item Support Policy is not allowed. So if you want to modify files and don't know how, you should contact with your web developer.

    Thanks for understanding!
  • OK, thank you.
Sign In or Register to comment.