Git Product home page Git Product logo

jmarceli / wordpress-plugin-boilerplate-powered Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wpbp/wordpress-plugin-boilerplate-powered

0.0 2.0 0.0 1.91 MB

Wordpress Plugin Boilerplate with steroids (check the readme)! Yeoman generator included!

Home Page: http://mte90.github.io/WordPress-Plugin-Boilerplate-Powered/

Shell 1.41% JavaScript 3.87% CSS 2.22% PHP 92.45% HTML 0.06%

wordpress-plugin-boilerplate-powered's Introduction

#WordPress Plugin Boilerplate Powered

Logo

WordPress Plugin Boilerplate Powered is a complete foundation (without frameworks with many independent libaries ) for building your WordPress plugins.
Look in Recommended tools section of this readme for the Yeoman Generator and Vagrant.
You want to see which plugins have been made with this boilerplate or add them to the list? Check here!
Check the Wiki for other info.

##Features

###Library integrated

###Snippet included

  • Shortcode example code
  • Dashicon as dependence of admin stylesheet
  • Bubble notification on pending cpts
  • Import/Export settings
  • Custom capabilities with cpts and taxonomy support
  • wp_localize_script for pass PHP var to JS in the frontend
  • Class in frontend body with the slug of plugin
  • Support for your CPTs in At glance widget in dashboard
  • Support for CMBF in the options page
  • Integrated DOM-Based Routing of Roots Template

###WordPress Plugin Boilerplate Feature

  • The Plugin Boilerplate Powered is fully-based on the WordPress Plugin API.
  • Uses PHPDoc conventions to document the code.
  • Example values are given, so you can see what needs to be changed.
  • Uses a strict file organization scheme to make sure the assets are easily maintainable.
  • Note that this boilerplate includes a .pot as a starting translation file.

##Shell Script & Tools

###Included

  • wp-boilerplate-version.sh (check below)
  • phpcompatinfo.json for PHP Compat Info
  • .php_cs for PHP-CS-Fixer
  • apigen.sh script for generate a docs folder with the documentation

Check on the wiki for discover how to use this script!

###Useful resources or code examples

Check on the wiki!

##Installation

PS: Use the Yeoman generator in the Generator Tool is better and simple!

  1. Copy the plugin-name directory into your wp-content/plugins directory
  2. Navigate to the Plugins dashboard page
  3. Locate the menu item that reads TODO
  4. Click on Activate

This will activate the WordPress Plugin Boilerplate Powered.
Because the Boilerplate has no real functionality, nothing will be added to WordPress; however, this demonstrates exactly how your plugin should behave while you're working with the Boilerplate.

###Git Clone

git clone --recursive [email protected]:Mte90/WordPress-Plugin-Boilerplate-Powered.git
cd WordPress-Plugin-Boilerplate-Powered/plugin-name

##Git update submodule

git submodule update --recursive
git submodule foreach git pull origin master

##Recommended Tools

###Generator Tool

For WordPress Plugin Boilerplate Powered exist a Yeoman generator that allows you to choose the libraries you need with a small customization.
Link to repo: https://github.com/Mte90/generator-wp-plugin-boilerplate-powered/

###Vagrant

Exist also a VVV modded version (Vagrant configuration) called VVVWPBP that contain Compass, PHPCompatInfo, ApiGen and Yeoman for a fast development (the missing tool from the original VVV).

##License

The WordPress Plugin Boilerplate Powered is licensed under the GPL v2 or later; however, if you opt to use third-party code that is not compatible with v2, then you may need to switch to using code that is GPL v3 compatible.

wordpress-plugin-boilerplate-powered's People

Contributors

tommcfarlin avatar grappler avatar mte90 avatar barryceelen avatar bluehiveinteractive avatar geertdd avatar anabelle avatar emeraldjava avatar overclokk avatar japh avatar pippinsplugins avatar akshayraje avatar thuijssoon avatar andrejcremoznik avatar afragen avatar bradp avatar cudazi avatar danielantunes avatar garyjones avatar innerbot avatar tintazul avatar leewillis77 avatar manovotny avatar tylerdigital avatar oobites avatar timostahl avatar wesbos avatar ewoutkleinsmann avatar haleeben avatar i4web avatar

Watchers

James Cloos avatar jmarceli avatar

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.