“Fixing” WordPress Search

Cut from my post on this “Page Searching examples” thread on the wp-hacker’s list and a continuation of Jared and my conversation on a previous post.

Here’s what I propose, knowing it’s most likely not going to happen
but it will alleviate: user expectation, not bloat the core with
“unnecessary” options and more importantly the patch [I assume] will
only be a few lines of code:

Let’s have WordPress’ default search include:
* Posts
* Pages
* Tags
* Meta fields
* Attachment Fields (title and description)
…this is what I strongly believe the author expects search results
are pulled from.

THEN,
Have the community (maybe me) create a plugin that will provide
options for the user to exclude, limit or include more from the core
search.

All this without requiring the any new options panel.

Pretty much the exact opposite of what’s being done now, except it
will help the average non-plugin wordpress user and the wordpress user
that doesn’t know how the default search works. Whom are the people
I’m thinking about when I make these suggestions or comments, not the
wp-hackers who can write a plugin or the above average .org user
swamped with plugins.

Then again, what about the wordpress.com user?

[These are only suggestions and should not be taken as a directive nor
was any of it meant to be condescending or rude to anyone on this
list. Thanks]

–Dan Cameron
http://dancameron.org

About the Author, Dan Cameron:

I'm the owner and solution engineer , a web solutions company that specializes in web development including WordPress.

I started my first blog in 2003 and transitioned to WordPress in 2004. Since moving to WordPress I've written a few plugins and themes for public consumption. Lately I'm busy engineering/building/coding and have only been able to share a few code snippets.

If you're in need of some web development, web design or custom WordPress plugins and/or themes contact me, I'll be happy to discuss it with you.

Read More »

  • Pingback: GadgetGadget.info - Gadgets on the web » “Fixing” Wordpress Search

  • http://archgfx.net/ adam

    frankly i’m kinda scared to see what makes it into the core. your plugin does what I need, and your suggestion makes sense to me.

    The idea of not searching pages with templates from that thread is seriously retarded. My only pages that use templates are the ones that are more important and require special presentation. Most people use ryan duff’s contact form plugin, which would still show up in search results.

  • http://archgfx.net/ adam

    frankly i’m kinda scared to see what makes it into the core. your plugin does what I need, and your suggestion makes sense to me.

    The idea of not searching pages with templates from that thread is seriously retarded. My only pages that use templates are the ones that are more important and require special presentation. Most people use ryan duff’s contact form plugin, which would still show up in search results.

  • http://www.alakhnor.com/post-thumb alakhnor

    All needs to be fully parametered.
    The thing is, when you have WP giving this as default options, then the plugin will have to manage more other things. For instance, give back several threads (posts, pictures, video,…), give back accuracy (rating in %), and so on…

  • http://www.alakhnor.com/post-thumb alakhnor

    All needs to be fully parametered.
    The thing is, when you have WP giving this as default options, then the plugin will have to manage more other things. For instance, give back several threads (posts, pictures, video,…), give back accuracy (rating in %), and so on…

  • Pingback: 5K downloads for Wordpress Search » article » Scattered

  • Pingback: Scattered » Wordpress, Support, Searching, Category, Exclusion, Performance » Search Everything 4.2.1 Release

  • http://www.wilsonfireco.com/ Larry Lane

    salian isomeric robustfulness uneugenic megalosaurian amylidene abiogeny momentous
    CMU SCS OZ Project
    http://www.ci.bryanisd.org/johnson/index.htm

  • http://www.wilsonfireco.com/ Larry Lane

    salian isomeric robustfulness uneugenic megalosaurian amylidene abiogeny momentous
    CMU SCS OZ Project
    http://www.ci.bryanisd.org/johnson/index.htm