qTranslate support
-
Hi,
I am using qTranslate on a page, along with WordPress SEO. The problem is that I have to set every SEO title and meta description manually or it will show all the translations in one (in search engines). I.e. the title becomes “KontaktierenKontaktContact”.
I have created a filter that works for wp_title etc. But this does not work for the title and description presented to search engines.
function qtranslate_filter( $text ){ return __( $text, 'qtranslate' ); } add_filter( 'wpseo_title', 'qtranslate_filter', 10, 1 ); add_filter( 'wpseo_metadesc', 'qtranslate_filter', 10, 1 ); add_filter( 'wpseo_metakey', 'qtranslate_filter', 10, 1 );
I need to be able to filter the replacement values in wpseo_replace_vars(), before the language tags are stripped away.
Thanks!
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘qTranslate support’ is closed to new replies.