Home › Forums › Parallax Me Forum › Logo and Testimonials in second language
- This topic has 8 replies, 2 voices, and was last updated 4 years ago by Sonl Sinha.
-
AuthorPosts
-
November 24, 2020 at 2:27 pm #169652
Hello, I have a registerd copy of the SKT Parallax Me Pro theme.
I have a bilingual website and am using the PolyLang plugin as outlined in the support documentation.
I have been able to create nav-menus and most of the elementor content in the second language which is French.
3 items I am having difficulty with are:
Displaying the logo in the second language
Displaying testimonials in the second language
Displaying the footer in the second languageDo you have any guidance on how to resolve these issues?
November 25, 2020 at 12:32 pm #169707Hi,
Kindly show us your website URL please?
Regards,
BradNovember 25, 2020 at 4:11 pm #169715I am not sure if you got my earlier reply, here again is the url http://rochford.arvox.com/
Thanks
November 26, 2020 at 12:39 pm #169749Hi,
Displaying the logo in the second language
Ans. Can’t change logo image to second language
Displaying testimonials in the second language
Ans. Go to Languages > Settings
Click on the settings link of the Custom post types and Taxonomies module. Below link is an example
https://polylang.pro/doc/multilingual-custom-post-types-and-taxonomies/Displaying the footer in the second language
Ans. PolyLang plugin is not working in customizer, footer are coming from the customizer.
Regards,
BradNovember 27, 2020 at 3:12 pm #169804Thank you for your help I am now able to publish French content for Testimonials and Teams.
Regarding the logo, I found an article on PolyLang, https://support.pojo.me/docs/polylang-change-logo-every-language/
As they suggest I created a child theme and added this code to the functions.php, but it does not work!
Does the logo have a different name in the customizer, I think that might be the issue.
Code is as follows
function pojo_polylang_get_multilang_logo( $value ) {
if ( function_exists( ‘pll_current_language’ ) ) {
$logos = array(
‘en_CA’ => ‘logointerviewjobs_200_icon.png’,
‘fr_CA’ => ‘logointerviewjobs_200_icon_fr.png’,
);
$default_logo = $logos[‘en_CA’];
$current_lang = pll_current_language();
$assets_url = get_stylesheet_directory_uri() . ‘/assets/images/’;
if ( isset( $logos[ $current_lang ] ) )
$value = $assets_url . $logos[ $current_lang ];
else
$value = $assets_url . $default_logo;
}
return $value;
}
add_filter( ‘theme_mod_image_logo’, ‘pojo_polylang_get_multilang_logo’ );November 30, 2020 at 1:35 pm #169876Hi,
Kindly send us your URL of the site and WordPress admin details (Username & Password) via email:[email protected] Please mention this forum URL while replying so that we understand what needs to be done.
We’ll check and revert back to you.
Regards,
BradDecember 3, 2020 at 2:05 pm #170082Hello
I sent you the admin credentials on Monday, please advise if you did not receive them, thanks.
RobertDecember 7, 2020 at 7:19 pm #170266Hello, please cancel my support request, I found a solution on my own.
Thanks
December 8, 2020 at 12:14 pm #170321Cool
-
AuthorPosts
- You must be logged in to reply to this topic.