Home › Forums › Product Support Forums › Related Posts Pro for WordPress Support › [WPML] something wrong in EN page of my site
- This topic has 14 replies, 2 voices, and was last updated 10 years, 10 months ago by
Ernest Marcinko.
-
AuthorPosts
-
August 5, 2015 at 1:36 pm #5513
AustinKuo
ParticipantHi
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
August 5, 2015 at 4:05 pm #5517Ernest Marcinko
KeymasterHi!
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 🙂
August 5, 2015 at 4:28 pm #5518AustinKuo
ParticipantHi
Thanks for your reply. 🙂I close this button but the problem is still there. 🙁
August 5, 2015 at 4:34 pm #5519Ernest Marcinko
KeymasterYou 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.
August 5, 2015 at 4:41 pm #5520AustinKuo
ParticipantOf course! Thank you very much for your great support 🙂
** hidden for security **
-
This reply was modified 10 years, 10 months ago by
Ernest Marcinko. Reason: hidden details
August 5, 2015 at 5:07 pm #5521Ernest Marcinko
KeymasterThank 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:- First, enable the excerpts in the editor if it’s disabled: http://i.imgur.com/TdQAs2N.png
- Enter the “excerpt” text in the post excerpt field. It should be a short description, or a few senteces from the post: http://i.imgur.com/kjsfsbM.png
- After saving the post, the theme will display the excerpt on the archive pages: http://i.imgur.com/LIHhudI.png
I hope this solution is ok with you. Let me know if you need any more help!
August 5, 2015 at 5:43 pm #5522AustinKuo
ParticipantHi
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?
August 5, 2015 at 5:46 pm #5523Ernest Marcinko
KeymasterCan 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.
August 5, 2015 at 6:04 pm #5524AustinKuo
ParticipantSorry I edited it again
Hello
Thank you very much!!!
** removed for security **
-
This reply was modified 10 years, 10 months ago by
AustinKuo.
-
This reply was modified 10 years, 10 months ago by
Ernest Marcinko.
August 5, 2015 at 6:16 pm #5528AustinKuo
ParticipantThanks for your circumspection. I didn’t see your suggest for security. Could you hide the login website too? 🙂
August 5, 2015 at 6:21 pm #5530Ernest Marcinko
KeymasterThank 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]August 5, 2015 at 6:32 pm #5531AustinKuo
ParticipantWow Nice! Thank you!!!
But the read more button disappear in EN page? Could it possible show button like TW page?
August 5, 2015 at 6:52 pm #5532Ernest Marcinko
KeymasterHm, 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.
August 5, 2015 at 7:06 pm #5533AustinKuo
ParticipantHi!!!
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! 🙂
August 5, 2015 at 7:09 pm #5534Ernest Marcinko
KeymasterYou 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!
-
This reply was modified 10 years, 10 months ago by
-
AuthorPosts
- The forum ‘Related Posts Pro for WordPress Support’ is closed to new topics and replies.