Coder Social home page Coder Social logo

base-wp-plugin's Introduction

Base WP Plugin

This is a simple starter plugin that includes a base class with a very simple set of utilities that most plugins should have.

Getting Started

You will need to change the name of the plugin in a few simple steps:

  1. Rename the base plugin folder name and primary PHP file named 'baseplugin.php' to your plugin's name. Make sure the folder name matches the name of the PHP file (without .php on the end).
  2. Rename the Javascript and CSS files inside the /scripts/ and /styles/ directory to 'myplugin.js' and 'myplugin.css'.
  3. Search for 'baseplugin' and replace with your desired plugin name in all lowercase with dashes between words (if desired).
  4. Search for 'Base Plugin' and replace with your plugin's proper name.
  5. Search for 'BASEPLUGIN' and replace with your plugin's name in all caps. Spaces should be convered to underscores.
  6. Search for 'Base_Plugin' and replace with your plugin's proper name with underscores instead of spaces between words.

This base plugin does not include any utilities for creating and saving plugin settings at this time, but we recommend using the Settings API to implement your plugin settings.

base-wp-plugin's People

Contributors

drewapicture avatar tareq1988 avatar

Watchers

 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.