Translations of Posts Titles
-
Hi, I run a private multilingual site and the member’s profiles are managed by your plugin . I use the “WPGlobus – Multilingual Everything!” plugin to make it multilingual and every thing works fine except for one thing. On the profile page “Membership by Supsystic” offers the possibility to list all the posts published by the user. When this list is displayed the posts titles appears like this : {:en}English Title{:}{:fr}French Title{:}.
WPGlobus stores all the translations together on the same page and sort it out with a filter. I have asked WPGlobus if they had a solution and they answered that a filter must be applied to the post data before printing them out :$post = get_post(); // Wrong. Prints all languages mixed together. echo $post->post_title; // Correct. Prints only the currently selected language. echo apply_filters( 'the_title', $post->post_title );
This is explained on that WPGlobus page
Could you please include this in the next update of your plugin ?
Could you please let me know where this print post title instruction is located in your plugin ( file name, line number ) so that I can modify it myself immediatly ?Thank you for your plugin and for your help.
Michel
- The topic ‘Translations of Posts Titles’ is closed to new replies.