Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1341716
    Rich H
    Participant

    Im having a heck of a time changing the title meta info with WPML for the home page for Ethos.

    Ive found this addressed in some older threads but no matter what I do I cannot get the string translations to pickup the new function that I add to the child theme.

    add_filter('option_x_renew_blog_title', 'enable_blog_title_translation' );
    
    	function enable_blog_title_translation ( $title ) {
    		return __( $title, '__x__' );
    }

    Ive got all the WPML settings set to use WPML / String translation but no luck.

    #1341801
    Rahul
    Moderator

    Hey There,

    Thanks for writing in!

    To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.

    #1341895
    Rich H
    Participant
    #1342046
    Nabeel A
    Moderator

    Hi again,

    Thank you for providing the URL. It looks like you’re using a really old version of X theme and Cornerstone plugin. Please update your X theme and outdated plugins to the latest versions. You can find the latest version numbers here: (http://theme.co/changelog/) Then you can compare them to what’s installed on your site.

    If you find anything to be out of date, you can review our update guide.

    #1342167
    Rich H
    Participant
    This reply has been marked as private.
    #1342825
    Christian
    Moderator

    Hey there,

    I see that everything is translated here https://cmtextiles.com/blog/fr/ the link you gave was the English version.

    You’re also using Ethos not Renew. The code you used was for Renew.

    If I’m not understanding you correctly, please give us more details and screenshots.

    Thanks.

    #1343032
    Rich H
    Participant

    Meta tags are not translated as stated in the first post. I know I am using Ethos, I said that in the first post as well :/

    <meta property=”og:title” content=”Blog – Home Decor by C&M Textiles” />
    <meta property=”og:description” content=”Tips and tricks for all of your home decor projects from professional designers in Ottawa, Brossard and Montreal.” />

    #1343186
    Christian
    Moderator

    I see you’re using Yoast SEO. Please disable X Open Graph in Appearance > Customize > Social (X social meta is not translatable yet) and then follow this guide https://wpml.org/documentation/plugins-compatibility/using-wordpress-seo-with-wpml/ to translate Yoast SEO meta.

    Thanks.

    #1343478
    Rich H
    Participant

    Thank you so much, I feel like a bit of a tool now. I couldn’t find anything on the WPML site, but this did the trick.

    Thanks again for the great support.

    #1344045
    Friech
    Moderator

    You’re more than welcome, glad we could help.

    Cheers!

  • <script> jQuery(function($){ $("#no-reply-1341716 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>