Site logo

Archived topic

Question about Navigation Logos

5 replies · Started by Steve on May 19, 2018

Viewing posts 1–6 of 6

Hello,

I want to use different logo files on different webpages on my website (because it's multilingual and I'm using PolyLang). Is there a way I can do that in GeneratePress? Or do I have to place them as image files on different webpages instead?

I know you can upload logos under Customizing -> Layout -> Primary Navigation -> Navigation Logo, but that place doesn't seem to allow me to upload different logo images for different webpages. Same goes for Site Identity -> Logo. Just curious, would not uploading logos in those places hurt my site's SEO ranking?

Thanks so much!

Hi Steve,

You can use the Page Header module to change the navigation logo on each page, although it might be overkill.

You can also use a function like this: https://docs.generatepress.com/article/option_generate_menu_plus_settings/

add_filter( 'option_generate_menu_plus_settings', 'lh_conditional_nav_logo' );
function lh_conditional_nav_logo( $options ) {
    if ( is_front_page() ) {
        $options['sticky_menu_logo'] = 'URL TO HOME PAGE NAVIGATION LOGO';
    }
    
    return $options;
}

Let me know if you need more info :)

Hi Tom,

I used the Page Header module and was able to set different navigation logos on different pages. Thanks so much!

Steve

No problem :)

Hello
I am very new to WP, as well as GP and i am trying to learn by watching YouTube tutorials.
However, seems that these are not enough and i should further dive into basics.
Problems i am facing:
1) IF i make my pages using GP and later if i activate other theme (for any reason), will i lose all the formatting that i made in GP?

2) Is there any source that explains the parts of GP?

3) Do i MUST need to have page builder like Elementor?

Kindly suggest any comprehensive yet easy to understand source.

Best regards and thanks.

Aamir Saeed

Hi there,

Any chance you can open a new topic for your questions?

They aren't really related to the original topic.

Thanks!

This archived topic is closed to new replies.