Enlight search results in your WordPress blog


/ Published in: PHP
Save to your folder(s)

Open your search.php file and find the the_title() function. Replace it with the following:

1.echo $title;

Save the search.php file and open style.css. Append the following line to it:
strong.search-excerpt { background: yellow; }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.