Tag Archives: search
Search And Replace WordPress Plugin
by Jerome
August 16 th
When you need to move your blog to a different domain name, you often need to change some URL’s paths that are stored in the database to point to the new domain name. The Search and Replace WordPress plugin lets you just do that. It lets you search in your database ID, post-content, Guid, title, [...]
Continue Reading
How To Highlight Search Terms With jQuery
by Jerome
August 25 th
Make a better search experience for the user by highlighting any search terms with jQuery. Simply open your functions.php file and copy and paste the code below: function hls_set_query() { $query = attribute_escape(get_search_query()); if(strlen($query) > 0){ echo ‘ <script type="text/javascript"><!–mce:0–></script> ‘; } } function hls_init_jquery() { wp_enqueue_script(’jquery’); } add_action(’init’, ‘hls_init_jquery’); add_action(’wp_print_scripts’, ‘hls_set_query’); [...]






