Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter pchelper4

    (@pchelper4)

    Any ideas on why this is happening?

    Plugin Author Mikko Saari

    (@msaari)

    There’s a small bug in this, this will be fixed in the next version of the plugin. For a quick fix, find this line in lib/excerpts-highlights.

    $term = " $term";

    Should be around line 130. Change it to:

    $term = " " . trim($term);

    That should fix this.

    Thread Starter pchelper4

    (@pchelper4)

    Works perfect! The same line of code appears on line 203 as well. Should I change that one too?

    Plugin Author Mikko Saari

    (@msaari)

    Yes, that’s the same code, except for when using words, not characters to limit the excerpt size.

    Thread Starter pchelper4

    (@pchelper4)

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Numbers not appearing in results snippet’ is closed to new replies.