Viewing 1 replies (of 1 total)
  • jtonline

    (@jtonline)

    I’ve just downloaded Search Everything & discovered the issue of garbled post titles on my results page when searched for word/s are in the post title & highlighting is turned on in the plugin.

    To fix this behaviour I suggest you check the search.php file for your chosen theme. Mine was using:

    <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a>

    to output the post titles in the search results.

    I changed it to:

    <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a>

    That subtle change fixed the problem on my site.

Viewing 1 replies (of 1 total)
  • The topic ‘Search Everything – highlights also in links!’ is closed to new replies.