Boilerplate to develop Wordpress Plugins
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

113 lines
4.2 KiB

4 years ago
  1. === Plugin Name ===
  2. Contributors: (this should be a list of wordpress.org userid's)
  3. Donate link: Test
  4. Tags: comments, spam
  5. Requires at least: 3.0.1
  6. Tested up to: 3.4
  7. Stable tag: 4.3
  8. License: GPLv2 or later
  9. License URI: http://www.gnu.org/licenses/gpl-2.0.html
  10. Here is a short description of the plugin. This should be no more than 150 characters. No markup here.
  11. == Description ==
  12. This is the long description. No limit, and you can use Markdown (as well as in the following sections).
  13. For backwards compatibility, if this section is missing, the full length of the short description will be used, and
  14. Markdown parsed.
  15. A few notes about the sections above:
  16. * "Contributors" is a comma separated list of wp.org/wp-plugins.org usernames
  17. * "Tags" is a comma separated list of tags that apply to the plugin
  18. * "Requires at least" is the lowest version that the plugin will work on
  19. * "Tested up to" is the highest version that you've *successfully used to test the plugin*. Note that it might work on
  20. higher versions... this is just the highest one you've verified.
  21. * Stable tag should indicate the Subversion "tag" of the latest stable version, or "trunk," if you use `/trunk/` for
  22. stable.
  23. Note that the `readme.txt` of the stable tag is the one that is considered the defining one for the plugin, so
  24. if the `/trunk/readme.txt` file says that the stable tag is `4.3`, then it is `/tags/4.3/readme.txt` that'll be used
  25. for displaying information about the plugin. In this situation, the only thing considered from the trunk `readme.txt`
  26. is the stable tag pointer. Thus, if you develop in trunk, you can update the trunk `readme.txt` to reflect changes in
  27. your in-development version, without having that information incorrectly disclosed about the current stable version
  28. that lacks those changes -- as long as the trunk's `readme.txt` points to the correct stable tag.
  29. If no stable tag is provided, it is assumed that trunk is stable, but you should specify "trunk" if that's where
  30. you put the stable version, in order to eliminate any doubt.
  31. == Installation ==
  32. This section describes how to install the plugin and get it working.
  33. e.g.
  34. 1. Upload `test.php` to the `/wp-content/plugins/` directory
  35. 1. Activate the plugin through the 'Plugins' menu in WordPress
  36. 1. Place `<?php do_action('plugin_name_hook'); ?>` in your templates
  37. == Frequently Asked Questions ==
  38. = A question that someone might have =
  39. An answer to that question.
  40. = What about foo bar? =
  41. Answer to foo bar dilemma.
  42. == Screenshots ==
  43. 1. This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif). Note that the screenshot is taken from
  44. the /assets directory or the directory that contains the stable readme.txt (tags or trunk). Screenshots in the /assets
  45. directory take precedence. For example, `/assets/screenshot-1.png` would win over `/tags/4.3/screenshot-1.png`
  46. (or jpg, jpeg, gif).
  47. 2. This is the second screen shot
  48. == Changelog ==
  49. = 1.0 =
  50. * A change since the previous version.
  51. * Another change.
  52. = 0.5 =
  53. * List versions from most recent at top to oldest at bottom.
  54. == Upgrade Notice ==
  55. = 1.0 =
  56. Upgrade notices describe the reason a user should upgrade. No more than 300 characters.
  57. = 0.5 =
  58. This version fixes a security related bug. Upgrade immediately.
  59. == Arbitrary section ==
  60. You may provide arbitrary sections, in the same format as the ones above. This may be of use for extremely complicated
  61. plugins where more information needs to be conveyed that doesn't fit into the categories of "description" or
  62. "installation." Arbitrary sections will be shown below the built-in sections outlined above.
  63. == A brief Markdown Example ==
  64. Ordered list:
  65. 1. Some feature
  66. 1. Another feature
  67. 1. Something else about the plugin
  68. Unordered list:
  69. * something
  70. * something else
  71. * third thing
  72. Here's a link to [WordPress](http://wordpress.org/ "Your favorite software") and one to [Markdown's Syntax Documentation][markdown syntax].
  73. Titles are optional, naturally.
  74. [markdown syntax]: http://daringfireball.net/projects/markdown/syntax
  75. "Markdown is what the parser uses to process much of the readme file"
  76. Markdown uses email style notation for blockquotes and I've been told:
  77. > Asterisks for *emphasis*. Double it up for **strong**.
  78. `<?php code(); // goes in backticks ?>`