Add Voice Search to WordPress

Posted by admin in WordPress, LinkyLoo,... | 01.06.2011 - 10:00 pm

Do you have a WordPress blog? Do you want to add voice search to your blog? Well, thanks to Otto the Tech Ninja, you can with just a slight modification to your theme!
Yes, this will only work in Google Chrome if you have the Voice Search extension, but with most computers shipping with built-in microphones these days, Voice Search certainly makes searching easy, and it’s a great way to impress your friends.

Technorati Tags: blog, news

Original post by James Huff

    Technorati Tags: , ,


    How to Highlight Search Terms with jQuery

    Posted by admin in WordPress, LinkyLoo,... | 04.10.2009 - 3:00 pm

    A neat way to spice up your WordPress search page is to highlight search terms within your search results. I’ve seen some tutorials on the net on how to do this, but I haven’t found one that highlights both title and post content and is a drop-in modification for WordPress. Today I will bring you this drop-in hack for highlighting search terms on your WordPress blog.
    Installation
    1. Copy and paste the following code into your theme’s functions.php file:

    function hls_set_query() {
    $query = attribute_escape(get_search_query());

    if(strlen($query) > 0){
    echo ‘
    <script type=”text/javascript”>
    var hls_query = “‘.$query.’”;
    </script>
    ‘;
    }
    }

    function hls_init_jquery() {
    wp_enqueue_script(’jquery’);
    }

    add_action(’init’, ‘hls_init_jquery’);
    add_action(’wp_print_scripts’, ‘hls_set_query’);

    If you are having issues with copy-paste from this blog, here is a link to the same code in […]

    Original post by Thaya Kareeson

      Technorati Tags:


      New WordPress Plugin: Better Search

      Posted by admin in WordPress, LinkyLoo,... | 03.21.2009 - 5:11 am

      Have you tried searching for anything out here on Weblog Tools Collection? What about the Heatmap we have at the bottom of the page?
      If you haven’t searched for anything here yet, let me explain the difference between the search results out here and the results on other WordPress blogs.
      On other blogs, when you use the inbuilt search, WordPress finds the posts that contain the search term as is and lists them out. Out here, when you conduct a search, the posts which are most relevant to the search term are listed out in order of their relevance. This ensures better search results for your search term.
      The solution we have here is manual and customized for this blog. So, in order to extend this all WordPress users, I’ve converted the same into a WordPress plugin titled Better Search.
      When you install Better Search, it will automatically replace the inbuilt search with the […]

      Original post by Ajay

        Technorati Tags: