Plugin Fun Pack 1.0

jerome, Monday 25 July 2005 08:13:53 PST

In response to ru's questions in the forum, I've put together a mini plugin pack which includes the following:

  • HomePage -- Simple plugin to replace the default view with a page (static context) of your choosing.

  • PageTemplates -- Updated from the beta version I've been using on my personal site, this mimics WordPress' ability to allow you to use different templates for pages. Instead of using the default

    static.xml

    template, it will use an xml template of your choosing. The template can be specified using a meta value or you can use your old WordPress template names (make sure you create an xml LP version though!).

  • TemplateInclude -- Allows you to include one or more custom templates, similar to the way that the built-in header.xml, footer.xml and sidebar.xml templates are included. No batteries required.

It's highly likely that these will make it into the next release unless they cause somebody's website to catch on fire.

Download here

Readers' Comments

  1. Richard Dunlop-Walters

    Fantastic! I'd been hoping all three of those would make it into Lightpresss at some point :)

  2. jerome

    All three will be included in the next release.

    An important note about TemplateInclude: it disobeys the rules for proper plugin behaviour so the included templates have to be visible in *all* contexts. The trick to getting around this is to name your custom template "Plugin_TemplateInclude". This name is "magic" and it's how I've implemented the "Projects" list on my site.