This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Related Posts and WPML question

Home Forums Product Support Forums Related Posts Pro for WordPress Support Related Posts and WPML question

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #4510
    Simone CorsiSimone Corsi
    Participant

    Hi, thanks for the awesome plugin, we are using it on a 3 languages website, is there a way to filter out the same post in another language in the related results? or a workaround of any kind ?

    #4511
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    The upcoming version will support WPML, currently a workaround is needed.

    I’m not sure if this is going to work, but it’s worth a try.

    1. Open up the wp-content/plugins/related-posts-pro/includes/related_content.class.php file
    2. Make a backup copy of it, in case something goes wrong
    3. Replace the file contents with this: http://pastebin.com/raw.php?i=Te1cyUiq
    4. Go to your site back-end and open up the related posts pro instance settings and save them without changing anything – so it will clear the cache

    Hopefully it will display posts from only the matching language.

    #4515
    Simone CorsiSimone Corsi
    Participant

    Hi again, the workaround was perfect and thank for the fast support! We will use it while waiting for the update!

    #4522
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You’re welcome!

    Once the update is released, you will get a notification email from codecanyon 😉

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Related Posts Pro for WordPress Support’ is closed to new topics and replies.