WordPress.org

Ready to get started?Download WordPress

Forums

search hilite (5 posts)

  1. Chris
    Member
    Posted 10 years ago #

    I've seen several people ask but no one has answered. How do you turn the search hilite on?

  2. Ryan Boren
    WordPress Dev
    Posted 10 years ago #

    Create a my-hacks.php file in the root directory of your wordpress install and add the following to it:
    <?php
    add_filter('the_content', 'hilite');
    ?>

  3. Chris
    Member
    Posted 10 years ago #

    It doesn't work :(
    Oh well, thanks.

  4. Lester Chan
    Member
    Posted 10 years ago #

    it doesnt work? does it have any error?

  5. OperaManiac
    Member
    Posted 10 years ago #

    does not work here also. :(
    http://blog.sushubh.com/index.php?s=congress&submit=search
    no span tags in the code...
    waypath hack is working properly... this is not!
    my hack file:
    http://blog.sushubh.com/my-hacks.phps

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.