Site logo

Archived topic

we have issue on our menu links in polylang

1 reply · Started by Sameed on February 6, 2023

Viewing posts 1–2 of 2

hi, i use premium version of generate press i use polylang for languages.
i have problem on logo url but i use this code.

add_filter( 'generate_logo_href', function( $url ) {
	if ( function_exists( 'pll_home_url' ) ) {
		return pll_home_url();
	}

	return $url;
} );

and its working fine for logo url but now i face problem on our menu links.
i use custom link like /contact/. but its show on all language english version. can its possible or any fillter like above i use for menu links.

Thanks

Hi there,

GP has no control over the menu builder, WordPress manages it.

I would recommend searching for a plugin for this.

This archived topic is closed to new replies.