[wp-hackers] Adding collapsible "meta boxes" to a plugin's option page

Andrew Ferguson andrew at fergcorp.com
Fri Sep 26 21:01:29 GMT 2008


I've read Ozh's post, but it only deals with adding a meta box to the post
page. It doesn't cover how you can add meta boxes to your own plugin pages.

On Fri, Sep 26, 2008 at 2:57 PM, Matthew Martz <matt at sivel.net> wrote:

> On Fri, Sep 26, 2008 at 3:29 PM, Frank Bueltge <frank at bueltge.de> wrote:
>
> > http://bueltge.de/wordpress-25-edit-bereich-ansprechen/611/
> > (only in german)
> >
> > Liebe Grüsse
> > Frank
> > ______________________________
> > Mein Buch: WordPress - Weblogs einrichten und administrieren | ISBN
> > 978-3-937514-33-8
> >
> > bueltge.de
> > kvfl.com
> >
> >
> >
> > On Fri, Sep 26, 2008 at 9:15 PM, Andrew Ferguson <andrew at fergcorp.com>
> > wrote:
> > > James,
> > > I was having the same trouble you were and was able to successfully
> > reverse
> > > engineer the process. I've written a post that describes the basics for
> > what
> > > I did and what I think you are wanting to do:
> > >
> > > http://andrewferguson.net/2008/09/26/using-add_meta_box/
> > >
> > > Let me know if that helps,
> > >
> > > -Andrew
> > >
> > > On Thu, Jun 12, 2008 at 7:44 AM, James Davis <james at freecharity.org.uk
> > >wrote:
> > >
> > >> I posted far too soon - I should have used
> > >>
> > >> add_meta_box('fcbox','My box!','something_in_the_box','petition');
> > >> do_meta_boxes('petition','advanced',null);
> > >>
> > >> Which does result in something_in_the_box() being called although it
> > >> looks like there's some CSS and/or Javascript missing at this point.
> > >> What do I need to be including?
> > >>
> > >> James
> > >>
> > >> --
> > >> http://www.freecharity.org.uk/ - Free IT services for charities
> > >> http://www.freecharity.org.uk/wiki/ - The VCSWiki
> >
> > Ozh has a good example of how to do this.
>
> http://planetozh.com/blog/2008/02/wordpress-snippet-add_meta_box/
>
> --
> Matt Martz
> matt at sivel.net
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list