WordPress.org Icon Requirements
For WordPress.org plugin submission, you need to:
- Convert the SVG icon to PNG format
- Create a 256x256 and 128x128 pixel version
- Name them
icon-256x256.png
andicon-128x128.png
- Place them in the
/assets/
directory of your WordPress.org SVN repository
How to Convert
You can use tools like:
- Inkscape (free, open-source)
- Adobe Illustrator
- Adobe Photoshop
- Affinity Designer
- Affinity Photo
- GIMP
- Pixelmator
- Online converters like https://svgtopng.com/
Command Line Conversion (if you have ImageMagick installed)
# For 256x256 icon
convert -background none -size 256x256 assets/icon/fix-plugin-does-not-exist-notices-icon.svg assets/icon/icon-256x256.png
# For 128x128 icon
convert -background none -size 128x128 assets/icon/fix-plugin-does-not-exist-notices-icon.svg assets/icon/icon-128x128.png
After creating the PNG file, it should be uploaded to the WordPress.org SVN repository in the assets directory.