WP Manifestindependent plugin directory
manifest / media / new-plugin

PCM Images

Image gallery and importer functionality

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/iwitness-design/new-plugin/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Thero Custom

A brand new plugin for Thero.

Setup

Alright! You are creating a new plugin and that is fantastic! There are a few things that you need to do right off the bat to get things started correctly.

Setup Composer

Now, navigate to the plugin directory in your terminal and run composer install. This should setup composer and install and setup Gulp.

Composer is setup to use autoloading. Any file placed in the includes folder that uses the psr 4 format will be loaded automatically when called.

Update package.json

package.json is the file where we will store all of our plugin specific meta. This is where you will update the plugin name, description, version number, and more. Check out that file and update all of the relevant information.

Update main file

  • Update the main plugin file name
  • Update the textdomain
  • Update the class name and function

Gulp

Gulp is setup to run and each task has it's own file in the gulp/tasks directory.

Run gulp watch to watch and process styles and scripts.