Skip to content

Instantly share code, notes, and snippets.

@Rarst
Last active August 25, 2024 11:31
Show Gist options
  • Save Rarst/32de5f59b9aa3e713666 to your computer and use it in GitHub Desktop.
Save Rarst/32de5f59b9aa3e713666 to your computer and use it in GitHub Desktop.
WordPress File Templates for PhpStorm.
=== Plugin Name ===
Contributors: Name
Tags:
Requires at least:
Tested up to:
Stable tag: trunk
Here is a short description of the plugin. This should be no more than 150 characters. No markup here.
== Description ==
This is the long description. No limit, and you can use Markdown (as well as in the following sections).
== Installation ==
== Frequently Asked Questions ==
= A question that someone might have =
An answer to that question.
== Screenshots ==
1. This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif). Note that the screenshot is taken from
the directory of the stable readme.txt, so in this case, `/tags/4.3/screenshot-1.png` (or jpg, jpeg, gif)
== Changelog ==
= 1.0 =
* A change since the previous version.
* Another change.
== Upgrade Notice ==
= 1.0 =
Upgrade notices describe the reason a user should upgrade. No more than 300 characters.
{
"name" : "name/${package}",
"description": "${description}",
"keywords" : ["wordpress"],
"type" : "wordpress-${type}",
"homepage" : "https://github.com/name/${package}",
"license" : "MIT",
"authors" : [
{
"name" : "Name Surname",
"email" : "[email protected]",
"homepage": "http://www.example.com/"
}
],
"support" : {
"issues": "https://github.com/name/${package}/issues"
},
"require" : {
"composer/installers": "~1.0"
}
}
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright (c) ${YEAR} Name Surname
Permission is hereby granted, free of charge, to any person obtaining a copy of this
software and associated documentation files (the "Software"), to deal in the Software
without restriction, including without limitation the rights to use, copy, modify, merge,
publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons
to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies
or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
<?php
/*
Plugin Name:
Plugin URI:
Description:
Author: Name Surname
Version:
Author URI: http://www.example.com/
Text Domain:
Domain Path: /lang
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
#parse("GPLv2.php")
*/
<?php
/*
Plugin Name:
Plugin URI:
Description:
Author: Name Surname
Version:
Author URI: http://www.example.com/
Text Domain:
Domain Path: /lang
License: MIT
#parse("MIT.php")
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment