Plugin info

Total downloads: 1,789
Active installs: 10
Total reviews: 0
Average rating: 0
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 1/18/2014 (4365 days ago)
Added to WordPress: 8/5/2011 (14 years old)
Minimum WordPress version: 2.0.2
Tested up to WordPress version: 3.7.41
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 4365 days ago

20/100

Is Spiffy Meta Box Creator abandoned?

Possibly abandoned (last update 4365 days ago).

Compatibility

Requires WordPress: 2.0.2
Tested up to: 3.7.41
Requires PHP: f

Languages

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

OptionTree
Rating 4.7/5 (105 reviews)Active installs 60,000
CubeWP – All-in-One Dynamic Content Framework
Rating 4.8/5 (12 reviews)Active installs 5,000
MB Elementor Integration
Rating 3.0/5 (2 reviews)Active installs 2,000
MB Rest API
Rating 0.0/5 (0 reviews)Active installs 1,000
MB Yoast SEO Integration
Rating 0.0/5 (0 reviews)Active installs 700
MB FacetWP Integration
Rating 0.0/5 (0 reviews)Active installs 500

Description

This plugin lets you create meta boxes by creating and calling a function but without needing to reuse all of the same WordPress functions for doing so.

Arbitrary section

Here is an example meta box function:

< ?php

//Meta box for page settings
function pageSettings() {

//Name of the meta box (lowercase without spaces)
$name = 'page_settings';

//Enter the titles for each one of your boxes
$titles = array('Section Headline');

//This will run the titles through a function that converts them into lables for the form fields.
$boxes = makeTitles($name,$titles);

//Description of meta box
$desc = 'Page Settings';

//Show on page type:
$types = array('page');

//Pull in existing meta field value
$setHeadline = get_post_meta($_GET['post'],"_page_settings_section_headline",true);

$content = "Page Headline:”;
$content .= “”;

//Run the function
$config = array(
‘name’=>$name,
‘boxes’=>$boxes,
‘desc’=>$desc,
‘type’=>$type,
‘content’=>$content
);

//Create the object
newMetaBox($config);
}

//Run it
pageSettings();

?>

Installation

  1. Upload plugin-name.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. (Optional) Create a meta-boxes.php file and include it from your functions.php file. Since the meta box functions can get long this will help keep your functions.php cleaner and keep all your meta boxes together.

Frequently Asked Questions

Q. How are labels generated?
A. When you create a title in the titles array and it is passed into the makeTitles function the name of your meta box gets appended to the begining of the title along with an underscore. Thus if your neta boxe name is ‘my_meta_box’ and one of your titles is ‘My Checkbox’ the label for that input will become ‘_my_meta_box_my_checkbox’.

Review feed

No reviews available

Screenshots

No screenshots available

Changelog

1.1.0

  • Changed type from string to array to support showing a meta boxes in multiple post types. Variable name has changed from $type to $types.

1.0.1

  • Renamed the class of the container around the meta boxes

1.0

  • First version