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 7 years, 7 months ago.
- AuthorPosts
- August 5, 2015 at 1:36 pm #5513
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.August 5, 2015 at 4:05 pm #5517Hi!
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 :)
August 5, 2015 at 4:28 pm #5518Hi
Thanks for your reply. πI close this button but the problem is still there. π
August 5, 2015 at 4:34 pm #5519You 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 :)
August 5, 2015 at 4:41 pm #5520Of course! Thank you very much for your great support π
** hidden for security **
-
This reply was modified 7 years, 7 months ago by
Ernest Marcinko. Reason: hidden details
August 5, 2015 at 5:07 pm #5521Thank 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: https://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: https://i.imgur.com/kjsfsbM.png
- After saving the post, the theme will display the excerpt on the archive pages: https://i.imgur.com/LIHhudI.png
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 :)
August 5, 2015 at 5:43 pm #5522Hi
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 #5523Can 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 :)
August 5, 2015 at 6:04 pm #5524Sorry I edited it again
Hello
Thank you very much!!!
** removed for security **
-
This reply was modified 7 years, 7 months ago by
AustinKuo.
-
This reply was modified 7 years, 7 months ago by
Ernest Marcinko.
Attachments:
You must be logged in to view attached files.August 5, 2015 at 6:16 pm #5528Thanks 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 #5530Thank 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:
Best,(!is_single() && !is_home() && !is_archive() && $options['show_under_content'] == 1)
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
August 5, 2015 at 6:32 pm #5531Wow 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 #5532Hm, 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 :)
August 5, 2015 at 7:06 pm #5533Hi!!!
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 #5534You 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 :)
-
This reply was modified 7 years, 7 months ago by
- AuthorPosts
You must be logged in to reply to this topic.