Reply 16691 to: Different header logo for different pages

Avatar: Jack Richardson
Jack Richardson
Support staff
September 23, 2014 at 22:01

Hello,

I think it’s more easier to use function is_page(); for condition in original header file.
For example:

if( is_page( 'some_page' ) ) {
// Echo 1st logo variant
} elseif ( is_page( 'some_another_page' ) ) {
// Echo 2nd logo variant
} elseif and so on...

Regards,
Jack Richardson

Go To The Whole Conversation In Topic
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.