[wp-hackers] Page searching examples [was: 2.4 planning
wp-hackers at striderweb.com
Sat Sep 29 16:18:03 GMT 2007
I think a combination of set_theme_capability() and Otto's suggestion
RE templates might be best.
That is: rather than indicating on a page by page basis if it's
compatible, do it on a _template by template_ basis. In the theme,
each page template has to have a marker that indicates "search
Either way, I'm all for adding an excerpt field to pages, just on
general principle. This could be useful for more than just search:
Imagine, for example, a site index page that shows the name of the
page _and_ the description, drawn from that field.
On Sep 29, 2007, at 10:22 AM, Casey Bisson wrote:
> set_theme_capability('full_search',true) sounds like a reasonable
> solution to me, but I think we'll also need to put the excerpt
> field on the Page editing screen so that people can have a chance
> at writing reasonable synopses of their pages (espy those with forms).
More information about the wp-hackers