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

    #449800

    Hi!

    Can you post a screenshot of your view? here’s how it looks on my end – http://a.pomf.se/uadtzs.png

    Regards,
    Josue

    #449945

    Hi 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,
    Antonis

    #450386

    Hi,

    Can you please hand us a temporary FTP / SFTP account and a WordPress account? post it here as a private reply.

    Regards,
    Josue

    #450828
    This reply has been marked as private.
    #450845

    Hey 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,
    Josue

    #450848

    Hi 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,
    Antonis

    #450854

    Hi 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,
    Antonis

    #450857

    Hi 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!
    Josue

    #450859

    Hi 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,
    Antonis

    #450862

    Hi!

    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,
    Josue

    #450863

    Hi Josue,

    Great! – please consider this ticket closed. Thank you for your support and patience.

    Thanks,
    Antonis

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘My combo widget is displaying special characters instead of the normal ones’ is closed to new replies.