Coder Social home page Coder Social logo

veraxus / nv-example-meta-box Goto Github PK

View Code? Open in Web Editor NEW
20.0 6.0 8.0 185 KB

A simple, functional WordPress plugin that serves as an example for creating new meta boxes for use on admin editor screens.

License: GNU General Public License v2.0

PHP 96.82% CSS 3.18%

nv-example-meta-box's Introduction

NOUVEAU Meta Boxes Example

Contributors: Veraxus
Plugin URL: www.nouveauframework.org
Tags: admin, meta box, editor, example, developer, nouveau
Requires PHP: 5.3+
Requires at least: 3.6
Tested up to: 4.3
Stable tag: 1.1
GitHub Plugin URI: veraxus/nv-example-meta-box

A simple, functional WordPress plugin that serves as an example for creating new meta boxes for use on admin editor screens.

Description

This plugin serves as a simple, functional, documented example for creating meta boxes for WordPress's editor screens. If you are not a developer, this plugin won't do anything for you.

Meta boxes let you create custom UI for your admin's editor screens, and add tremendous power and flexibility to WordPress. This plugin is intended to help make the creation of new meta boxes extremely simple. If you need to develop a plugin that adds new meta boxes to WordPress, this is a great place to start.

Adding a custom admin can now be accomplished in just two steps…

  1. Register your meta boxes using WordPress' add_meta_box() function.
  2. Register your settings/form fields using this plugins MetaBox::register_setting() function.

That's all there is to it. Form fields, saving, and loading are all handled for you magically. Detailed documentation can be found in the code comments.

This example is part of the NOUVEAU WordPress framework. For more great starting code, search for "Nouveau" in the WordPress.org's plugins or visit [www.nouveauframework.com]

Installation

  1. Install using your WordPress sites admin dashboard (under Plugins → Add New), or by uploading the plugin folder to your /wp-content/plugins/ directory
  2. Activate the plugin from your sites admin dashboard (under Plugins)

Frequently Asked Questions

Screenshots

Changelog

1.1 (2015/06/10)

  • Added serialization support to MetaBox::register_setting()
  • Added a serialization example to init.php
  • Bug fix: Single checkboxes now save & load correctly

1.0 (2015/06/06)

  • New magic metabox API! Create custom admin meta boxes faster than ever!

0.2 (2015/04/23)

  • Corrected static functions

0.1 (2013/09/06)

  • Initial beta. Uploaded to github.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.