WPP generator - boilerplate for your best WordPress plugin

To create a WordPress Plugin Boilerplate, fill out the fields below

Required Fields

Valid plugin name is required.
This is a very important field. Use only English words! Using the "plugin name" WPP generator will create a unique string for all the PHP classes and functions. It is recommended to fill in at least 3 words. (eg. Super Car Plugin - the unique string in this case will be scp_...). You can change the plugin name later in your main plugin file and readme.txt file.
Valid brief description is required.
Valid long description is required.
@
Your contributors is required.
Valid plugin URI is required.
Plugin URI is a URL of a web page with detailed information about your plugin. If you don't have a website with your plugin, please provide any URL (you can always change it in the future).
Valid Author is required.
Valid Author URI is required.
Author URI is a URL of your website, Github profile or social media profile.

About WPP generator

Stable version: 6.1.4
Tested up to WordPress: 6.5

When I want to create a new WordPress plugin I always use the WPP generator (wordpress starter kit plugin) to start with. This saves a lot of time and allows me to avoid a large part of the routine work.

To quickly get a starter set for any WordPress plugin, I created the WPP generator - Wordpress plugin skeleton generator.

This framework gives a much wider starter functionality and a set of necessary files to start working then most of existing starter kits.

How to use the WPP generator

1. Generate plugin skeleton
WPP generator will generate the skeleton files needed for any WordPress plugin. The full functionality of the plugin can be accessed either via a web interface.
To generate a plugin skeleton for WordPress go to https://markomaksym.com.ua/wp-plugin-skeleton-generator/. Fill in all the fields and click the "Create Plugin Boilerplate" button.

2. Installation
This starter plugin has been tested to work with WordPress 5.9 and newer.
General installation procedures are those common for all WordPress plugins:

  • download the plugin template zip archive;
  • upload the archive to the "Plugins" section of your website;
  • click the "Activate" button.

3. Features
Your boilerplate plugin will included:

  • Basic install and uninstall, activate and deactivate plugin hooks;
  • During the generation of a new WordPress Plugin boilerplate, all the PHP classes and functions will be rewritten with a unique string created using your plugin name;
  • Ability to separate your code to admin and frontend folders;
  • Admin menu items and ability to create unlimited number of admin pages;
  • Custom Post Type (ability to create a new post type and add new posts);
  • Metaboxes examples (text, email, url, number int/float, select, checkboxes, radio buttons, textarea, image upload.);
  • Custom database table creation;
  • AJAX request examples;
  • admin_enqueue_scripts, wp_enqueue_scripts and wp_localize_script examples;
  • Custom table with search box, bulk actions, sorting, editing, remove, restore features (example how to extend WP_List_Table basic WordPress table framework);
  • A set of examples of banners, icons, screenshots, readme.txt and license.txt files needed for uploading your plugin to the WordPress.org directory;
  • The plugin boilerplate template has been designed to be easily expanded by adding new features;
  • Gutenberg blocks:
    • Server Side Rendering
    • Simple Text
    • Simple Image
    • Image Section
    • Nested blocks
    • Counter Section
    • Content Slider
    • Full width section
    • Responsive spacer
  • Added Vue.js v2.7.14 and example;
  • Added shortcode example;
  • Vite is used for frontend JS and CSS management;
  • Added an example of block extending. Now you can add metadata to paragraph, title and button;
  • Ability to create SPA using Vue Composition API and WordPress REST API;
  • wp_register_script example;
  • SCSS support.

Here you can find a list of plugins created using the WPP generator and hosted in the WordPress.org plugin directory: https://profiles.wordpress.org/markomaksym/#content-plugins

WPP Generator Video Guide: