Skip to content

Instantly share code, notes, and snippets.

@aniketpant
Last active December 12, 2015 07:38
Show Gist options
  • Select an option

  • Save aniketpant/4738441 to your computer and use it in GitHub Desktop.

Select an option

Save aniketpant/4738441 to your computer and use it in GitHub Desktop.
Thoughts and ideas for my talk at WordCamp Pune 2013.

Metaboxes. Do them right.

What are metaboxes?

My Meta Box

How are they used?

Different methods of implementing them.

Custom Metaboxes and Fields for WordPress

I guess the most used metabox library that I have used is Custom Metaboxes and Fields for WordPress written by Jared Atchison. The good part about this library is that it's very much like plug-and-play. Just include it in your theme, fill in all the required fields and you're done. The creator of the library is a great coder and his work is really amazing. The code quality is brilliant and he even includes a sample file which you can use easily (if ever you get confused).

WPAlchemy

Another great resource for creating metaboxes is WPAlchemy by Far In Space. Now what sets apart WPAlchemy from everything else out there is the super extensive documentation and the wide range of features available.

You have plugins too

One of them is called Meta Box.

When to use them?

Examples

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment