[wp-hackers] Excluding pages/posts from search

Alex King lists at alexking.org
Wed Nov 21 15:52:25 GMT 2007


Exactly, this gives all plugins and enhancements that *should* deal  
with this sort of data a structured way to do so instead of each  
rolling their own, or requiring a JOIN to the post_meta table or  
separate query.

Now we just need to hear from the core team if they'd consider  
including such a feature... :)

Cheers,
--Alex

Personal   http://alexking.org
Business   http://crowdfavorite.com
Schedule   http://alex.myfreebusy.com



On Nov 21, 2007, at 6:54 AM, Justin Moore wrote:

> On Nov 21, 2007 1:07 AM, Hacker Scot <shacker at birdhouse.org> wrote:
>> What if there were a boolean "searchable" field in each of wp_posts,
>> wp_comments, wp_users, and possibly other tables as necessary.
>>
>> 0 = not searchable
>> 1 = searchable
>>
>> WP could keep its current default search behavior by setting these
>> values to the current standards (posts yes, pages no, comments no).
>> But with that small amount of metadata available for all content
>> types, a good Search Enhancer plugin could do all of:
>>


More information about the wp-hackers mailing list