WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
[resolved] [Plugin: WordPress SEO] Yoast SEO and Qtranslate (35 posts)

  1. sfradel
    Member
    Posted 2 years ago #

    I created a modified version of the wp-seo-metabox.js give a look if you want.

  2. creamille
    Member
    Posted 2 years ago #

    Awesome Sfradel! Thanks a lot :)

  3. perqa
    Member
    Posted 2 years ago #

    Hello,

    This is great! These modifications helps me a lot, but is there any way they could be made a part of the official software? Or is there any other way to make the changes stick? Otherwise, next time I update my software, I suppose the modifications will be overwritten?

    As I understand it, you have made modifications in two files: functions.php and wp-seo-metabox.js, where the first one belongs to WordPress itself and the second to the SEO plugin. Is that correct?

    All the Best,
    Per Q A

  4. sfradel
    Member
    Posted 2 years ago #

    perqa this is correct. Only wp-seo-metabox.js will be ovewritten if you update the plugin. I will contact with him to see if he could incorporate the needed js modifications.
    There will be not problem with functions.php as long as the plugin author does not change the filters (I do not find any reason to do so).

  5. GrayHunter
    Member
    Posted 2 years ago #

    // Enable qTranslate for WordPress SEO
    	function qtranslate_filter($text){
    		return __($text);
    	}
    	add_filter('wpseo_title', 'qtranslate_filter', 10, 1);
    	add_filter('wpseo_metadesc', 'qtranslate_filter', 10, 1);
    	add_filter('wpseo_metakey', 'qtranslate_filter', 10, 1);

    works with 3.4.1 - thx

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic