Support » Fixing WordPress » If people push the space bar then do a search, it breaks the UTF-8 titles

  • If people push the space bar then do a search, it breaks the UTF-8 titles and just shows question marks in diamonds. 🙁

    Any ideas on fixing this?

    My website is here: agreatdream.com

    Glen

Viewing 1 replies (of 1 total)
  • <span style="margin-bottom:7px;">
                <a href="<?php the_permalink() ?>" ><?php $title = get_the_title(); $keys= explode(" ",$s); $title = preg_replace('/('.implode('|', $keys) .')/iu', '<strong class="search-excerpt"></strong>',	$title);?><?php echo $title; ?></a></span>
Viewing 1 replies (of 1 total)
  • The topic ‘If people push the space bar then do a search, it breaks the UTF-8 titles’ is closed to new replies.