A WordPress.org plugin readme is not a general project README. It follows the Plugin Directory’s own format, using a limited subset of Markdown, and supplies much of the public listing people see before they install your plugin.
That makes it part documentation, part release metadata, and part product page. It should tell a potential user what the plugin does, what they need before installing it, and how to get a useful result without reading the source code.
What readme.txt controls
- The short description shown near the top of the listing. Keep it to 150 characters or fewer.
- The long description, installation instructions, FAQ, and changelog.
- Up to five directory tags used to group your plugin with similar plugins.
- The Stable Tag WordPress.org uses to identify the released version.
- Screenshot captions. The screenshot files themselves live somewhere else.
Where Plugin Directory information comes from
| Source | What it supplies |
|---|---|
readme.txt | Description, installation steps, FAQ, changelog, tags, Stable Tag, and screenshot captions. |
| Main plugin PHP file | Plugin version and headers including Requires PHP and Requires at least. Since WordPress 5.8, the directory reads those requirements from the PHP header instead of the readme. |
Top-level /assets/ | Plugin banners, icons, and screenshot image files. This directory is beside /trunk/ and /tags/, not inside them. |
A minimal plugin readme header
The official format starts with a header like this:
=== Plugin Name ===
Contributors: wordpressdotorg-user
Tags: forms, contact form
Requires at least: 6.7
Tested up to: 7.1
Stable tag: 1.0.0
Requires PHP: 8.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
A clear description in 150 characters or fewer.The directory documentation still shows requirement fields in the readme format, but your main PHP file is authoritative for Requires PHP and Requires at least. Keep both places consistent if you include them in both.
Stable Tag must match your release
Stable tag is the plugin version, not the WordPress version. It should match the Version header in the main plugin file and the corresponding release folder under /tags/.
Do not use trunk as your long-term release strategy. WordPress.org notes that it is not the supported or recommended way to identify stable versions, and mismatched versions can cause users to receive the wrong code.
How screenshots work
The readme contains numbered screenshot captions. The matching files go in the repository’s top-level /assets/ directory with lowercase names such as screenshot-1.png and screenshot-2.png.
A line like 1. The plugin settings screen after setup. becomes the caption for screenshot-1.png. External image URLs will not work for directory screenshots.
Before you release
- Run the file through the official Readme Validator.
- Make sure the Stable Tag, main plugin Version, and SVN release tag match.
- Use no more than five useful tags. Extra tags are ignored.
- Check that your short description is clear and no longer than 150 characters.
- Verify every screenshot caption has a matching lowercase file in
/assets/. - Explain external services, account requirements, data collection, and anything else a user should know before installation.
A good readme does not need to be clever. It needs to be accurate, easy to scan, and honest about what happens after someone clicks Install.