Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #656005

    Hi,

    I face a problem with the title of the article at the sidebar. I realised the title of article display special characters which was not suppose to be there when it exceeded the number of text allowed.

    It only happen to Chinese, when I tried changing the title to English, the problem is resolve.

    I tried adding a lot more text when I am using English and it still display even though the title contain more text than the Chinese text I originally use.

    Screenshot of the special character displayed.

    #656072

    Hey Zheng Yu!

    That is because of the character ( Chinese ) and maybe the way they gut cut off.
    Can you please try change the word at that area and see if it does functioning better?

    Thanks a lot

    Best regards,
    Basilis

    #656371

    Hi,

    Shortening the title does work however I will need a longer title for certain article post .

    Changing the title to English title do not create such a problem.

    Is there anyway I could still allow the chinese character to display properly even if it is showing Chinese Character.

    #656666

    Hi,

    Could you provide us with a link to the post in question so that we can take a closer look please?

    Regards,
    Rikard

    #656826

    Hi,
    http://strategistshub.com/articles/

    Its at the sidebar, 3rd section where its under the popular articles.

    #656891

    Hi,

    The section under the popular articles is a new letter form, I believe you are referring to the section below that? It looks good on my end please elaborate what is the issue you are facing here?

    Best regards,
    Vinay

    #657320

    Hi,

    That’s not the section I am referring to. I have attach an image of the issue I am facing. Its is above the newsletter form. You will see the “?””?” character on the 1st post. The title is longer and the “?””?” suppose to display chinese character.

    SideBar Issue

    • This reply was modified 7 years, 8 months ago by hzy17079.
    #657557

    Hey!

    Could you please go to Enfold/framework/php/class-sidebar-generator.php file and find “substr” and replace with “mb_substr” and check if that helps? If not, please create a temporary admin login and FTP logins and post them here privately so we can look into it.

    Best regards,
    Yigit

    #657621

    It’s still not working. I have add the access. I have also revert the files back to the original copy.

    #658657

    Hi,

    Please edit the framework > php > class-framework-widgets.php file then look for the “avia_get_post_list” function. Find this code on line 1057:

    echo "<strong class='news-headline'>".avia_backend_truncate(get_the_title(), 55," ");
    

    Set the avia_backend_truncate limit from 55 to something higher.

    Best regards,
    Ismael

    #658661

    Hi Ismael,

    Thanks a lot. The problem is solve now.

    #658937

    Hi,

    Great, glad you got it working :-)

    Best regards,
    Rikard

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.