Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter dubbinz

    (@dubbinz)

    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 Vova Feldman

    (@svovaf)

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

    Thread Starter dubbinz

    (@dubbinz)

    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 ‘Widget cutting off titles too early’ is closed to new replies.