Related Posts and WPML question

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

This topic contains 3 replies, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 8 years, 11 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #4510
    Simone Corsi
    Simone 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 Marcinko
    Ernest 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.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #4515
    Simone Corsi
    Simone 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 Marcinko
    Ernest Marcinko
    Keymaster

    You’re welcome!

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

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on 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.