Plugin info
Maintenance & Compatibility
Maintenance score
Stale ⢠Last updated 291 days ago ⢠4 reviews
Is Plugin README Parser abandoned?
Likely maintained (last update 291 days ago).
Compatibility
Similar & Alternatives
Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.
Description
WordPress README files are formatted using a version of the Markdown language. This plugin can be used to convert these to XHTML and display on a post or page of your site.
Itâs ideal for plugin developers who wish to add instructions to their own site without having to duplicate effort.
Key features includeâŚ
- Convert your markdown README to XHTML and display in any post or page
- Use shortcodes or a direct PHP function call
- Responsive output of screenshots
- Output is cached for maximum performance
- Links automatically added to author and tag information
- Download links added
- Ability to specify which sections of the readme to exclude
- Can also omit specific lines of text
- Extra shortcodes available to display plugin banners and to return specific plugin data (download link, version number, etc)
- Google Translation suppressed on code output
- And much, much more!
Iconography is courtesy of Flatart âĽď¸
đ Please visit the Github page for the latest code development, planned enhancements and known issues đ
Getting Started
To use, simply add the [readme] shortcode to any post or page. An example of use would beâŚ
[readme]WP README Parser[/readme]
This would fetch and display the README for this plugin. You can also specify a filename instead.
The first heading, which is the name of the plugin, will be automatically suppressed as it is assumed that you have already added this to your post/page or are using it as the title.
Additional Shortcode Parameters
exclude
Each README is divided into a number of sections. If you wish to exclude any from the output then use this parameter to list them.
Before the first section (usually âDescriptionâ) is a number of pieces of âmeta dataâ about the plugin, including tags, etc. Links are automatically added to these. If, however, you wish to just exclude this data then you should use the section name of âmetaâ. Underneath this data is a short description which will remain in this case. If you want to remove this description and the meta data then use the section name of âheadâ. If you wish to just remove a particular bit of meta data then specify contributors, donate, tags, requires, license, license uri, tested or stable.
For exampleâŚ
[readme exclude="Meta,Changelog"]WP README Parser[/readme]
This will display the entire README with the exception of the Changelog and the Plugin meta.
include
The opposite of exclude this allows you to specify ONLY the section that you wish to appear. So, using the example from aboveâŚ
[readme include="Meta,Changelog"]WP README Parser[/readme]
This will ONLY show the Meta and Changelog sections of the README file.
The only difference to the exclude command is that you canât include just specific sections of the meta. If you believe that this option is required then please get in touch via the forum.
ignore
Different from exclude this allows to ignore specific lines of the README. Multiple lines should be separated by double commas (to allow single commas to be be used in the actual line to be ignored). For exampleâŚ
[readme ignore="this line,,and this line"]WP README Parser[/readme]
target
Any links will have a target of _blank. If you wish this to be anything else then change it with this parameter. For exampleâŚ
[readme target="_self"]WP README Parser[/readme]
nofollow
If you wish a link to have a nofollow option (i.e. the tag of rel="nofollow") then specify this as âYesâ. By default it wonât. For exampleâŚ
[readme nofollow="Yes"]WP README Parser[/readme]
cache
This allows you to specify how long output should be cached for, in minutes. By default caching is set to 60 minutes. For example, to cache for 24 hoursâŚ
[readme cache=1440]WP README Parser[/readme]
version
If you wish to display a specific version of the README, use this parameter to request it. For exampleâŚ
[readme version=1.0]WP README Parser[/readme]
mirror
If your plugin is hosted at a number of other locations then you can use this to specify alternative download URLs other than the WordPress repository. Simply seperate multiple URLs with double commas (i.e. ,,). For exampleâŚ
[readme mirror="http://www.example1.com,,http://www.example2.com"]WP README Parser[/readme]
links
By default download and other links will be added to the bottom of the README output. By specifying a section name via this parameter, however, then the links will appear before that section. For example, to appear before the description youâd putâŚ
[readme links="description"]WP README Parser[/readme]
name
If you specify a README filename instead a name then it will be assumed that the plugin name at the top of the README is the correct one. This may not be the case, however, if youâve renamed your plugin (as is the case for this plugin). You can therefore use the name parameter to override this.
[readme name="WP README Parser"]https://plugins.svn.wordpress.org/wp-readme-parser/trunk/readme.txt[/readme]
ext
The extension that your screenshots are stored as â i.e. PNG or JPG.
assets
Storing your screenshots in your assets folder? Then set this to âyesâ for them to be read from there. For exampleâŚ
[readme assets="yes"]WP README Parser[/readme]Using Content Reveal
If you also have the plugin Content Reveal installed, then each section of the README will be collapsable â that is, you can click on the section heading to hide the section content.
By default, all sections of the output will be revealed.
You may now use 3 further parameters when using the [readme] shortcodeâŚ
hide
Use this parameter to hide sections automatically â simply click on them to reveal them again.
For exampleâŚ
[readme hide="Changelog"]WP README Parser[/readme]
scr_url
If you wish to supply your own hide/reveal images then you can specify your own folder here.
The two images (one for when the content is hidden, another for when itâs shown) must be named image1 and image2. They can either by GIF or PNG images (see the next parameter).
For exampleâŚ
[readme scr_url="https://artiss.blogâ]WP README Parser[/readme]
scr_ext
Use this specify whether you wish to use PNG or GIF images for your own hide/reveal images. If you do not specify it, GIF will be used.
For exampleâŚ
[readme scr_url="https://artiss.blog" scr_ext="png"]WP README Parser[/readme]Using a Function Call
If you wish to code a direct PHP call to the plugin, you can do. The function is named readme_parser and accepts 2 parameters. The first is an array of all the options, the same as the shortcode. The second parameter is the README name or filename.
For exampleâŚ
echo readme_parser( array( 'exclude' => 'meta,upgrade notice,screenshots,support,changelog,links,installation,licence', 'ignore' => 'For help with this plugin,,for more information and advanced options ' ), 'YouTube Embed' );
This may be of particular use to plugin developers as they can then display the README for their plugins within their administration screens.
Displaying the plugin banner
Some plugins have banners assigned to them. The shortcode [readme_banner] can be used to output them (responsively too). Between the opening and closing shortcode you must specify a plugin name (a URL canât be used) and thatâs it. For exampleâŚ
[readme_banner]YouTube Embed[/readme_banner]
If no banner image exists then nothing will be output.
Display specific README information
You may wish to add your own section to the output to provide download links, etc. In which case you can suppress this section and then use an additional shortcode to retrieve the information that you need.
Use the shortcode [readme_info] to return one of a number of different pieces of information. Use the required parameter data to specify what you need â this can bâŚ
- download â Display a download link
- version â Output the current version number
- forum â Display a link to the forum
- wordpress â Display a link to the plugin in the WordPress.org repository
In the cases of the links you must specify text between the opening and closing shortcodes to link to.
There are 4 additional parametersâŚ
- name â Use this to specify the plugin name. This is a require parameter
- target â If outputting a link this will assign a target to the output (default is _blank)
- nofollow â If
Yesthen this will be anofollowlink. By default it wonât be - cache â By default any output will be cached for 50 minutes so that if you use this shortcode multiple times on a page the data will only be fetched once. Specify a different number (in minutes) to adjust this. Set to
Noto switch off caching entirely
An example of usage may beâŚ
`[readme_info name=âYouTube Embedâ data=âdownloadâ]Download YouTube Embed[/readme_info]â
Reviews & Mentions
WPCandy â WP README Parser Plugin converts Pluginâs readme into blog-ready XHTML
Acknowledgements
Plugin README Parser uses PHP Markdown Extra by Michel Fortin.
Installation
Plugin README Parser can be found and installed via the Plugin menu within WordPress administration (Plugins -> Add New). Alternatively, it can be downloaded from WordPress.org and installed manually…
- Upload the entire
wp-readme-parserfolder to yourwp-content/plugins/directory. - Activate the plugin through the ‘Plugins’ menu in WordPress administration.
Voila! It’s ready to go.
Frequently Asked Questions
You can. The whole output is encased in a <div> with a class of np- followed by the plugin name (lower case and spaces converted to dashes).
Each section that has a <div> around it with a class of np- followed by the section name (lower case and spaces converted to dashes).
The download link has an additional <div> around it with a class of np-download-link.
Screenshots have a <div> with a class of np-screenshotx, where x is the screenshot number.
Each of these div‘s can therefore be styled using your theme stylesheet.
Review feed
A must for WordPress plugin developers, amateurs or pros!
Very Handy!
Great plugin!
Screenshots

Example of Timed Content README being displayed on artiss.blog website.
Changelog
1.3.15
- Fix: Screenshot fix.
- Change: Set default cache to 60 minutes.
1.3.14
- Bug: Fixed Screenshots not being displayed when using the
assetsparameter. Thanks to David Artiss for bringing this to my attention.
1.3.13
- Fix: The “Requires PHP” line was incorrectly displaying when excluding the Meta section. Thanks to David Artiss for bringing this to my attention.
1.3.12
- Maintenance: Updated php-markdown library to latest version to resolve PHP deprecation notices.
- Bug: Variable name typo thanks!.
1.3.11
- Maintenance: SVN woes. Bumping version number to force a new release.
1.3.10
- Maintenance: Plugin adoption (Hi! I’m Joe). Updated Github link, contributors and author information
- Maintenance: Added deploy shell script
1.3.9
- Maintenance: Removed the previous notices, as the plugin is being adopted by a new developer
1.3.8
- Maintenance: Added notices about the plugin closure
1.3.7
- Maintenance: Removed donation links
1.3.6
- Maintenance: Updated this README to better reflect the new plugin directory format
- Maintenance: Plugin now works with a minimum WordPress version of 4.6. This also means that various language changes could be made
- Enhancement: Using Yoda conditions throughout
1.3.5
- Bug: Fixed a bug in the internationalization code
- Maintenance: Updated branding, inc. adding donation links
1.3.4
- Maintenance: Updated Markdown script to 1.6.0
- Maintenance: Updated branding
- Maintenance: Removed the arp- prefix from the file names
- Maintenance: Stopped doing the naughty thing of hardcoding the plugin name in the includes
1.3.3
- Maintenance: Added text domain and domain path
1.3.2
- Maintenance: Minor update to ensure compatibility with another of my plugins
1.3.1
- Maintenance: Upgraded PHP Markdown to the latest release.
1.3
- Maintenance: Removed deprecated functionality.
- Enhancement: Added new INCLUDE parameter to allow you to specify only the README sections that you list.
- Enhancement: Banner function will now return the high DPI banner, if available. It will also check for both PNG and JPG files.
- Enhancement: Added assets parameter which allows you to force the plugin to look in your assets folder for screenshots.
- Enhancement: Added license and license URI to meta section.
- Enhancement: Reduced the ridiculous number of blank lines being output.
- Bug: Fixed issue (not reported but found when testing this release!) where download links won’t work if meta content is suppressed.
- Bug: Fixed an error (is anybody actually using this plugin?) when trying to display banners.
1.2.1
- Maintenance: Changed plugin name
- Maintenance: Correct support forum link
1.2
- Maintenance: Split out code and improved code quality
- Maintenance: Major update to README
- Maintenance: Updated Artiss Content Reveal function names – was using older, deprecated names
- Enhancement: NOFOLLOW and TARGET information added to tags
- Enhancement: Changed DIVs to use CLASS instead of ID
- Enhancement: You may now specify which version of the README you wish to display
- Enhancement: Output may now be cached (by default it isn’t)
- Enhancement: Added option to specify download mirrors
- Enhancement: Code output has a CLASS added that prevents Google translation
- Enhancement: Added responsive output on screenshots
- Enhancement: You can specify where the download/links section will appear
- Enhancement: Added
readme_bannershortcode to display an assigned banner image - Enhancement: Added
readme_infoshortcode to output various useful bits of information about the README separately from the main shortcode - Enhancement: Added new
nameparameter. If a filename was specified and the name at the top of the README was not the same as it’s held in the WP repository (this plugin is an example) then it would not work. This new parameter allows you to specify a correct plugin name - Enhancement: Added internationalization
- Enhancement: Added additional meta information to the plugin settings
- Enhancement:
extparameter no longer needed – automatic detection of screenshot extension type - Bug: Resolved a number of WP Debug errors
1.1.1
- Bug: Updated Markdown Extra script to latest version – this fixes a number of bugs
1.1
- Bug: Fixed file fetching bug
- Enhancement: Improved code display – particularly code multi-lines
- Enhancement: New option to suppress specific lines
1.0.2
- Enhancement: Screenshots will now be picked from trunk or tag folders, depending on stable tag
- Enhancement: Improved handling of download link and version numbers
1.0.1
- Enhancement: Added check for malformed README file where there are no carriage returnes
- Enhancement: Output download version number
- Bug: Fix bug where download link didn’t work if “Stable Tag” meta was excluded
1.0
- Initial release