ralfhortt/wordpress-client-plugin-boilerplate

There is no license information available for the latest version (0.5) of this package.

A WordPress Client Plugin Boilerplate

Installs: 34

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 2

Open Issues: 20

Type:wp-plugin

pkg:composer/ralfhortt/wordpress-client-plugin-boilerplate


README

A WordPress Client Plugin Boilerplate

Installation

composer create-project ralfhortt/wordpress-client-plugin-boilerplate my-plugin

Setup

  • npm install or yarn
  • Edit the plugin header in plugin.php
  • Replace namespace RalfHortt/WordPressClientPluginBoilerplate with your own
  • Update autoloader namespace in composer.json
  • Replace textdomain wordpress-client-plugin-boilerplate with your own

Usage

PHP

  • Services: Add a custom service in src
  • Function: Add custom function in inc/functions.php
  • Template Tags: Add custom template tags in inc/template-tags.php

Gutenberg

  • npm run watch for development
  • Add custom blocks in assets/js/blocks
  • npm run production for published code

Changelog

2.0 - 2020-01-09

  • Update dependencies

1.0 - 2019-10-17

  • Initial release