[Plugin: Dave's WordPress Live Search] Works fine - possible to exclude pages ? (5 posts)

  1. cadbloke
    Posted 5 years ago #

    This plugin works fine. Unfortunately it also works on http://www.xxxx.com/wp-admin/plugin-install.php. It's not a deal-breaker - more a bit of a giggle. It hasn't broken anything.

    Is it possible to build a list of pages it is disabled on? I'm ok with editing php if need be.


  2. Dave Ross
    Posted 5 years ago #

    That's awesome!

    No, wait, awesome would be if it actually searched the plugins! :)

    I think for starters, I'll just prevent it run doing its thing on admin pages. Beyond that, though, I definitely could add an exception list. I'm sure people have gallery searches and things like that they don't want the global WP search acting on.

    Thanks for letting me know. Good find!

    - Dave

  3. Dave Ross
    Posted 5 years ago #

    Well, that was easy. I added an is_admin() check to the current development version. It'll get included in the next release, probably around the beginning of the year.

  4. Dave Ross
    Posted 5 years ago #

    The exceptions list is in the development version now, too. The functionality works great, but I need to figure out how I'm going to describe it. Right now, the description sounds like something a programmer threw together before running out the door to work...

  5. cadbloke
    Posted 5 years ago #

    Cool - you can make it search the plugin library ?!?!?(just kidding).

    Thanks for looking into this. I like the plugin. It works in WPtouch and WP Mobile Edition too, although I've only tried it on WP Mobile Edition in Safari on a desktop with a bodged User Agent.

    How about calling the exclusion list "Places wot I don't need any 'elp searching from orroit!" ?

Topic Closed

This topic has been closed to new replies.

About this Topic