WordPress.org

Support

Support » Plugins and Hacks » Rating-Widget: Star Review System » [Resolved] Widget cutting off titles too early

[Resolved] Widget cutting off titles too early

Viewing 3 replies - 1 through 3 (of 3 total)
  • I found a line in rating-widget that has an effect on this widget in rating-widget.php on line 4388

    I changed it from

    $short = (mb_strlen($title) > 30) ? trim(mb_substr($title, 0, 30)) . "..." : $title;

    to

    $short = (mb_strlen($title) > 30) ? trim(mb_substr($title, 0, 70)) . "" : $title;

    I had to remove the … because even though the title was being displayed in full in some long titles the … was still showing so I had to remove it.

    This is now resolved.

    Plugin Author vovafeldman

    @svovaf

    Hey @dubbinz, following many requests, if you’ll upgrade to the latest release we’ve added this feature right into the widget settings 🙂

    Ah you just updated, thanks. Just to inform anyone else the title length options are in the widget options.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Widget cutting off titles too early’ is closed to new replies.
Skip to toolbar