| 开发者 |
dartiss
morehawes |
|---|---|
| 更新时间 | 2024年10月2日 07:38 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 6.4 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
wp-readme-parser folder to your wp-content/plugins/ directory.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.
assets parameter. Thanks to David Artiss for bringing this to my attention.readme_banner shortcode to display an assigned banner imagereadme_info shortcode to output various useful bits of information about the README separately from the main shortcodename parameter. 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 nameext parameter no longer needed - automatic detection of screenshot extension type