[WPML] something wrong in EN page of my site

Home Forums Product Support Forums Related Posts Pro for WordPress Support [WPML] something wrong in EN page of my site

This topic contains 14 replies, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 7 years ago.

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #5513
    AustinKuo
    AustinKuo
    Participant

    Hi

    Please see the attached photo, I have use the WPML, there is no problem in TW page, but go to EN page, the quote of posts include the words”Related…” (see the red make in EN page.jpg), how to fix it?

    Thanks

    Attachments:
    You must be logged in to view attached files.
    #5517
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    I’m guessing that the page runs the content filter twice for some reason.

    If open up related posts pro settings and go to the Content Options panel and scroll down, there is an option Run the content filter?: https://i.imgur.com/bngHMlh.png

    Try to turning that off, I have a feeling it will help πŸ™‚

    Best,
    Ernest Marcinko

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


    #5518
    AustinKuo
    AustinKuo
    Participant

    Hi
    Thanks for your reply. πŸ™‚

    I close this button but the problem is still there. πŸ™

    #5519
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    You are welcome πŸ™‚

    Can you please activate the admin account so I can log in and check/change your plugin configuration? I don’t know what’s causing it yet.

    Best,
    Ernest Marcinko

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


    #5520
    AustinKuo
    AustinKuo
    Participant

    Of course! Thank you very much for your great support πŸ™‚

    ** hidden for security **

    • This reply was modified 7 years ago by Ernest Marcinko Ernest Marcinko. Reason: hidden details
    #5521
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Thank you for the details!

    Well, I don’t know exactly why it is displayed there, maybe the theme executes the content filter in the archive listings. There is no option to change that unfortunately, it depends on the theme itself.

    However I found a possible solution, I hope it is ok for you πŸ™‚
    If you enter a post excerpt, then that will be displayed in the category archive, instead of the post:

    I hope this solution is ok with you. Let me know if you need any more help!

    Best,
    Ernest Marcinko

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


    #5522
    AustinKuo
    AustinKuo
    Participant

    Hi

    But I want keep the read more button in page. πŸ™
    I have try some way to keep the button and delete the surplus word but not work.

    Is there any way could try?

    #5523
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Can you provide temporary FTP details as well? I can check the code, maybe there is something I can change to make it work, I’m not sure.

    You can upload FTP in a .txt file, or edit the first post in this ticket to add the details safely.

    Best,
    Ernest Marcinko

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


    #5524
    AustinKuo
    AustinKuo
    Participant

    Sorry I edited it again

    Hello

    Thank you very much!!!

    ** removed for security **

    Attachments:
    You must be logged in to view attached files.
    #5528
    AustinKuo
    AustinKuo
    Participant

    Thanks for your circumspection. I didn’t see your suggest for security. Could you hide the login website too? πŸ™‚

    #5530
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Thank you for the details!

    I think I did it! I added an extra line of code to the Related Posts Pro plugin, and now it does not show there.

    I did the following modification for my future reference:
    file: includes/hooks.php +line 217
    code:

    (!is_single() && !is_home() && !is_archive() && $options['show_under_content'] == 1)
    Best,
    Ernest Marcinko

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


    #5531
    AustinKuo
    AustinKuo
    Participant

    Wow Nice! Thank you!!!

    But the read more button disappear in EN page? Could it possible show button like TW page?

    #5532
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hm, I think it only appears if the content is a certain length. If the content fits, then it is not displayed. I tried to add a few more lines to the Test 2 (en) post, and because it’s long enough, it displays the read more button.

    You might have to ask the theme developer how to change that to display the read more always.

    Best,
    Ernest Marcinko

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


    #5533
    AustinKuo
    AustinKuo
    Participant

    Hi!!!

    You did it! You’re genius!!
    I also find an option to short the quote of EN page!
    I really thanks for your help, if you come to Taiwan I must buy you a drink!

    Thanks again! πŸ™‚

    #5534
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    You are very welcome! Happy to help you!

    I take you on your offer if I get to Taiwan! πŸ™‚

    If you like the plugin, you can leave a rating on it as well on your codecanyon downloads page.

    Have a nice day, and let me know if you need any more help!

    Best,
    Ernest Marcinko

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


Viewing 15 posts - 1 through 15 (of 15 total)

You must be logged in to reply to this topic.