[wp-trac] Re: [WordPress Trac] #1435: Pages should be searched
WordPress Trac
wp-trac at lists.automattic.com
Wed Mar 28 15:10:39 GMT 2007
#1435: Pages should be searched
----------------------------------------------+-----------------------------
Reporter: markjaquith | Owner: anonymous
Type: enhancement | Status: new
Priority: high | Milestone: 2.3
Component: General | Version: 1.5.1.1
Severity: critical | Resolution:
Keywords: search pages static dev-feedback |
----------------------------------------------+-----------------------------
Comment (by Otto42):
Well, then don't limit them to date order either. I like the notion of the
relevance order above as well. But optional, of course, as some people
won't like that. Perhaps an optional "order=whatever" field to the search
form...
More to the point, you're thinking of the Loop as returning a big list of
results in a specific order. But the theme can rewind those results and
replay them if necessary. If a theme wants to move the Page results to the
top, they just write two Loops. The first one only spits out the
post_type='page' results, the second one rewinds and then spits out the
rest.
--
Ticket URL: <http://trac.wordpress.org/ticket/1435#comment:12>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list