Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/szepeviktor/wordpress-plugin-construction
Tools 🧰 for developing and running WordPress websites
https://github.com/szepeviktor/wordpress-plugin-construction
mu mu-plugin plugin wordpress
Last synced: 12 days ago
JSON representation
Tools 🧰 for developing and running WordPress websites
- Host: GitHub
- URL: https://github.com/szepeviktor/wordpress-plugin-construction
- Owner: szepeviktor
- License: mit
- Created: 2014-08-01T15:34:13.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-09-24T08:55:31.000Z (about 1 year ago)
- Last Synced: 2024-10-26T20:27:09.276Z (17 days ago)
- Topics: mu, mu-plugin, plugin, wordpress
- Language: PHP
- Homepage: https://github.com/szepeviktor/wordpress-website-lifecycle
- Size: 4.37 MB
- Stars: 93
- Watchers: 11
- Forks: 28
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WordPress plugin construction
Tools for developing and running a awesome WordPress website.
Please select a folder in the list above to see the plugin's development.### Two programmers
https://en.wikipedia.org/wiki/Pair_programming
### An article about code quality
http://engineering.quora.com/Moving-Fast-With-High-Code-Quality
### Plugin headers
`readme.txt` https://developer.wordpress.org/plugins/wordpress-org/how-your-readme-txt-works/
```
=== Plugin Name ===
Contributors: (comma, separated, list of wordpress.org userid's)
Donate link: https://example.com/
Tags: comments, spam
Requires at least: 4.9
Tested up to: 5.2.2
Requires PHP: 7.0
Stable tag: 1.0.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.htmlHere is a short description of the plugin. This should be no more than 150 characters. No markup here.
```https://developer.wordpress.org/plugins/plugin-basics/header-requirements/ `@wordpress-plugin`
```php
/**
* Plugin Name
*
* @package PluginPackage
* @author Your Name
* @copyright 2019 Your Name or Company Name
* @license GPL-2.0-or-later
*
* @wordpress-plugin
* Plugin Name: Plugin Name
* Plugin URI: https://example.com/plugin-name
* Description: Description of the plugin.
* Version: 1.0.0
* Author: Your Name
* Author URI: https://example.com
* Text Domain: plugin-slug
* License: GPL v2 or later
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
*/
```### How to add images to a WordPress plugin?
- assets/banner-772x250.png
- assets/icon-128x128.png
- assets/icon-256x256.png
- assets/screenshot-1.jpg (530px + 1+1 border)
- http://www.shutterstock.com/cat.mhtml?&searchterm=Flat%20modern%20design%20with%20shadow### One-class file comment
```php