Contributors: Devin Walker (@wordimpress / wordimpress.com) Version: 1.2 Requires at least: 3.6 Tested up to: 3.8.1
Custom Functionality Plugin Example is an example plugin for WordPress that is meant to be a starting point for developing your own custom functions and features. It includes a clean plugin directory structure, easy to understand inline docs complete with todos, and additional helper classes and functions.
You should use the plugin to separate your functional (plugin) and presentation (theme) logic in accordance with WordPress best practice recommendations. For more information, please visit the article Building Your First Custom Functionality Plugin.
- To get started, download the zip file of this repository and upload it to your WordPress theme's plugin directory or MU (must use) plugin directory.
- Update the plugin name and description to match your company or organization
- Activate the plugin and review the inline todos to further customize.
This plugin contains a number of submodules of popular GitHub repos that allow you to do a variety of awesome things:
- WordPress Custom Post Types - Easily create CPTs using this helpful class
- WordPress Custom Taxonomies - Need a custom taxonomy to go with your CPT? Look no further than this excellent helper class.
- Custom Metaboxes and Fields for WordPress - A light-weight and powerful utility to create nifty metaboxes and powerful fields. Can be used in place of ACF and also works for theme option pages.
- TGM Plugin Activation - The best way to require and recommend plugins for WordPress themes (and other plugins).
This plugin includes a sample Custom Post Type "Movies" with an attached Custom Taxonomy "Genres" to help you get started using the included helper classes. There is also a sample Custom Metabox setup which is attached to the "Movies" CPT; this custom metabox has two example fields.
If you are interested it taking the project a step further please don't hesitate to reach out!