[Plugin: WPML Multilingual CMS] Translated Posts Duplicated on Recent Posts page
-
Hi, WP users!
I am really fond of WordPress and have been using it for a year now. The available plug-ins and support is great. However, I am struggling now with WPML plug-in and a recent works code (you can find it here – https://www.agent-seo.com/wordpress/recent-posts-with-thumbnails-in-wordpress-without-a-plugin/).
I am creating a multilingual site. I have managed to put everything to work, however if I translate my posts, both the original and translated versions appear on my page. I am not good at PHP, so I look forward to your help.
If the current language is X, the posts from category X1 are shown.
If the current language is Y, the posts from category Y1 are shown.This should make it pretty clear what I expect. I tried to put the function clang to change the category ID in get_posts function, but it did not work.
Any ideas?
Regards,
Marten
- The topic ‘[Plugin: WPML Multilingual CMS] Translated Posts Duplicated on Recent Posts page’ is closed to new replies.