This is a simple solution to highlight the title and the excerpt in a search results for WordPress.
It is built using two filter hooks (one for the title, one for the excerpt), a helper function, and some CSS.
Simply paste this code into functions.php
or into separate files (but include them in your functions.php
),
add some css styles to your theme (directly with code editor or using some free plugins), and that should
be it.