• Resolved Denis

    (@denis_miller)


    Issue with cyrillic characters. It was cut with question mark: “Сколько сл?…”

    wp-content\plugins\ideapush\inc\shortcode\idea-list-items.php

    has line

    > $html .= ‘<span class=”idea-item-content”>’.substr (strip_tags($ideaPost->post_content),0,200).'</span>’.$readMore;

    it’s better to use

    $html .= ‘<span class=”idea-item-content”>’.mb_substr (strip_tags($ideaPost->post_content),0,200).'</span>’.$readMore;

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Northern Beaches Websites

    (@northernbeacheswebsites)

    Hi Denis,

    Thanks for pointing this out, I will fix this tomorrow. Thanks,

    Thread Starter Denis

    (@denis_miller)

    I found the same problem for Releated Items.

    //idea content
    $relatedIdeaContent = substr(htmlentities(strip_tags(get_post_field(‘post_content’,$relatedIdeaId,’raw’))),0,150);

    • This reply was modified 6 years, 7 months ago by Denis.
    Plugin Author Northern Beaches Websites

    (@northernbeacheswebsites)

    Thanks, I have put this in the code so it will be good for the next release.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Read more…’ is closed to new replies.