Consolidate asset documentation and clarify RTL support (v1.6.28)
Some checks failed
Build Release / Build and Create Release (push) Has been cancelled
Build Release / Deploy to WordPress.org (push) Has been cancelled
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/tag/woodpecker Pipeline failed

This commit is contained in:
2025-04-12 19:50:23 +01:00
parent cf977a250d
commit 5049557e04
11 changed files with 114 additions and 64 deletions

View File

@ -1,6 +1,6 @@
# WordPress.org Plugin Submission Assets Guide
This document explains how to prepare and upload assets for WordPress.org plugin submission.
This document explains how to prepare and upload assets for WordPress.org plugin submission. This is the main reference document for all asset-related information.
## WordPress.org SVN Repository Structure
@ -14,9 +14,9 @@ When submitting a plugin to WordPress.org, you'll work with an SVN repository th
banner-1544x500.png
screenshot-1.png
/tags/ # Contains tagged releases
/1.0.0/
/1.6.27/
[plugin files]
/1.0.1/
/1.6.26/
[plugin files]
/trunk/ # Contains the current version of the plugin
[plugin files]
@ -93,6 +93,33 @@ Note: `-rtl` is specifically for Right-to-Left language support, not for dark th
svn commit -m "Initial plugin submission"
```
## Image Conversion Tools
For converting SVG to PNG or creating different sizes of images, you can use:
- **Graphic Design Software**:
- Adobe Photoshop
- Adobe Illustrator
- Affinity Designer
- Affinity Photo
- GIMP (free, open-source)
- Inkscape (free, open-source)
- Pixelmator
- **Online Converters**:
- [SVG to PNG Converter](https://svgtopng.com/)
- [Convertio](https://convertio.co/svg-png/)
- [CloudConvert](https://cloudconvert.com/svg-to-png)
- **Command Line** (using ImageMagick):
```bash
# For 256x256 icon
convert -background none -size 256x256 assets/icon/icon.svg assets/icon/icon-256x256.png
# For 128x128 icon
convert -background none -size 128x128 assets/icon/icon.svg assets/icon/icon-128x128.png
```
## Resources
- [WordPress Plugin Developer Handbook - Plugin Assets](https://developer.wordpress.org/plugins/wordpress-org/plugin-assets/)