[wp-hackers] Static content plugin

Ryan Boren ryan at boren.nu
Fri Jun 18 18:48:30 UTC 2004


On Fri, 2004-06-18 at 13:36, Matt Mullenweg wrote:
> John Hesch wrote:
> 
> > What about creating static content such as an 'About Me'
> > page that would be written as a post but would not post as
> > entry in WP but become a static page that is linked
> > from the links menu? This would make it easy to add static
> > content using the WP framework. Other uses for such a plugin
> > would be a Contact page, a FAQ, A Paypal donate page, a
> > favorite restaurants, etc, etc.
> 
> There is a post_status value for this in 1.2.

Yep, "static".  Are we going to do anything with this in the default WP
distribution?  We would need to expose it on the advanced edit page and
exclude "static" posts from archive queries.  static posts would have to
be named by id or nicename.  We could even have a separate permalink
structure for static posts.  Maybe something like /site/post-title by
default.  Or, just put it in a plugin.  It's implemenation would be a
good indicator of what hooks we need.

Ryan







More information about the hackers mailing list