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

[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

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #5513
    AustinKuoAustinKuo
    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

    #5517
    Ernest MarcinkoErnest 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 🙂

    #5518
    AustinKuoAustinKuo
    Participant

    Hi
    Thanks for your reply. 🙂

    I close this button but the problem is still there. 🙁

    #5519
    Ernest MarcinkoErnest 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.

    #5520
    AustinKuoAustinKuo
    Participant

    Of course! Thank you very much for your great support 🙂

    ** hidden for security **

    • This reply was modified 10 years, 10 months ago by Ernest MarcinkoErnest Marcinko. Reason: hidden details
    #5521
    Ernest MarcinkoErnest 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!

    #5522
    AustinKuoAustinKuo
    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 MarcinkoErnest 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.

    #5524
    AustinKuoAustinKuo
    Participant

    Sorry I edited it again

    Hello

    Thank you very much!!!

    ** removed for security **

    • This reply was modified 10 years, 10 months ago by AustinKuoAustinKuo.
    • This reply was modified 10 years, 10 months ago by Ernest MarcinkoErnest Marcinko.
    #5528
    AustinKuoAustinKuo
    Participant

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

    #5530
    Ernest MarcinkoErnest 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: [php](!is_single() && !is_home() && !is_archive() && $options[‘show_under_content’] == 1)[/php]

    #5531
    AustinKuoAustinKuo
    Participant

    Wow Nice! Thank you!!!

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

    #5532
    Ernest MarcinkoErnest 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.

    #5533
    AustinKuoAustinKuo
    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 MarcinkoErnest 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!

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