Skip to content

a master wordpress plugin managin all relevant building elements (Content-Types, Meta-Boxes,Shortcodes,Admin-Settings (Columns in listings, settings-pages etc),Endpoints for Rest-Api-Calls,Gutenberg-Blocks,Taxonomy Definitions) of a custom wordpress system

License

Notifications You must be signed in to change notification settings

larsloQ/01_Yours_WP_Master_Plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WordPress Master Plugin

this setup is in early alpha. might contain inconsistency, bugs and misleading info/documentation

Description

This is a boilerplate WordPress plugin featuring namespace autoloading. Namespace autoloading allows you to just duplicate classes, rename file and classname and frees you of the burden to have unique function names (like pluginname_function_name). Inspired from, but heavily modified https://github.com/dmhendricks/wordpress-base-plugin

all relevant code in app folder, structured by functionality, see further readme files there (incomplete)

Requirements

Installation

  1. Put repo in mu-plugins and load it in load-mu-plugins.php require WPMU_PLUGIN_DIR.'/yours/yours.php;
  2. It requires CMB2 so make sure to have CMB2 also in mu-plugins and load it before yours-master ``require WPMU_PLUGIN_DIR.'/cmb2/init.php';```
  3. run composer install (and after changes (i.e. adding new files or folders)) you might need to run composer dump-autoload -o

Features

  • Namespaces & dependency autoloading
  • Dependency checking via Requirements
  • Powered by [Composer]
  • Object caching (where available; usage examples)
  • Easy installable ZIP file generation: npm run zip
  • Automatic translation file (.pot) creation. See Translation.
  • Customizer examples using WP Customizer Framework

Gutenberg Blocks Building:

block build-setup no included here. some build blocks are in app/Blocks

About

a master wordpress plugin managin all relevant building elements (Content-Types, Meta-Boxes,Shortcodes,Admin-Settings (Columns in listings, settings-pages etc),Endpoints for Rest-Api-Calls,Gutenberg-Blocks,Taxonomy Definitions) of a custom wordpress system

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published