-
AuthorPosts
-
May 24, 2015 at 10:54 pm #449301
Hi folks,
I would like some help please. I noticed today after upgrading to the latest version that my combo widget is displaying special characters. Is this something that someone can have a look please? I have re-created the posts, changed the text and i have no results. This happens in “Recent”
May 26, 2015 at 5:45 am #449800Hi!
Can you post a screenshot of your view? here’s how it looks on my end – http://a.pomf.se/uadtzs.png
Regards,
JosueMay 26, 2015 at 10:24 am #449945Hi Josue,
Yes, this is what I am getting. It seems very strange to me. I tried recreating the post, changing the title, etc. When I type latin characters it seems to be fine. But with Greek characters I get what you see in the picture. This is not a DB issue as I use UTF8 general_CI and in all posts in the past I never had this problem. Also, this seems to appear on the last 2 posts and not the previous ones.
http://synthetic-toys.com/wp-content/uploads/2015/05/1.png
Thanks,
AntonisMay 27, 2015 at 3:02 am #450386Hi,
Can you please hand us a temporary FTP / SFTP account and a WordPress account? post it here as a private reply.
Regards,
JosueMay 27, 2015 at 10:33 pm #450828This reply has been marked as private.May 28, 2015 at 12:27 am #450845Hey Antonis!
It’s weird, if you say new ones are not having the issue one thing you can do is re-publish the troubled ones and then change the date accordingly.
Regards,
JosueMay 28, 2015 at 12:30 am #450848Hi Josue,
As i mentioned before, i have already tried that for one of the 2 posts. For some reason it does not work. I have been scratching my head as well. It seems that the widget does not interpret some characters correctly. Please let me know if you have any ideas.
Thanks,
AntonisMay 28, 2015 at 12:39 am #450854Hi Josue,
I just recreated the second post having problems from scratch (just to be sure). Same issue. I even deleted manually any leftovers from the DB to make sure it does not leave any traces.
Thanks,
AntonisMay 28, 2015 at 1:00 am #450857Hi Antonis!
I finally found what is causing it: Enfold tries to shorten down the title used in the newsbox to 55 characters, problem occurs when it encounters a long word like “χειρουργείο”, the fix would be to disable this shortening, open /framework/php/class-framework-widgets.php and look for line 1034:
echo "<strong class='news-headline'>".avia_backend_truncate(get_the_title(), 55," ");
Replace it by this:
echo "<strong class='news-headline'>".get_the_title();;
Cheers!
JosueMay 28, 2015 at 1:14 am #450859Hi Josue,
This is a good answer :) – One last question: When i update the theme to the next version do I have to do that again?
Thanks,
AntonisMay 28, 2015 at 1:59 am #450862Hi!
Correct, however this code is inside the
avia_get_post_list
function which is “pluggable”, this means you can put a modified copy (line 986-1054) of it inside your child theme functions.php and it will overwrite the parent one.Regards,
JosueMay 28, 2015 at 2:02 am #450863Hi Josue,
Great! – please consider this ticket closed. Thank you for your support and patience.
Thanks,
Antonis -
AuthorPosts
- The topic ‘My combo widget is displaying special characters instead of the normal ones’ is closed to new replies.