[wp-hackers] Page searching examples [was: 2.4 planning
otto at ottodestruct.com
Sat Sep 29 22:04:38 GMT 2007
+1 on the excerpt idea. I use the_excerpt as the meta description for
all pages on the site. It would be very nice to be able to manually
define this for Pages.
On 9/29/07, Stephen Rider <wp-hackers at striderweb.com> wrote:
> 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).
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers