Coder Social home page Coder Social logo

ipetty14 / wp-plugin-boilerplate Goto Github PK

View Code? Open in Web Editor NEW

This project forked from masonitedoors/wp-plugin-boilerplate

2.0 1.0 0.0 117 KB

A WordPress plugin boilerplate for Masonite with recommended settings for VS Code.

License: GNU General Public License v2.0

PHP 91.39% JavaScript 8.44% CSS 0.17%

wp-plugin-boilerplate's Introduction

WP Plugin Boilerplate

Masonite Digital Web Team

A WordPress plugin boilerplate for Masonite with recommended settings for VS Code. This plugin enforces Masonite coding standards for scss, js, & php via linting during the build process as well as through local git hooks.

Setup

npx @masonite/create-wp-plugin

Requirements

VS Code

The plugin provideds a recommended set of settings for Visual Studio Code. In order to see inline errors, it is recommended that you install the following extensions:

This plugin contains numerous configuration files that you will either never need to edit or rarely edit. Because of this, the following extension is also recommended.

Internationalization

For the text in the plugin to be able to be translated easily the text should not be hardcoded in the plugin but be passed as an argument through one of the localization functions in WordPress.

How to Internationalize Your Plugin โ†’

This plugin contains a ready to go .pot can be found within languages/. This file can be updated using the following command:

npm run i18n

License

WP Plugin Boilerplate is licensed under GNU General Public License v2 (or later).

wp-plugin-boilerplate's People

Contributors

josephfusco avatar

Stargazers

 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.