# WordPress.org plugin assets

This folder holds the graphic assets that appear on the plugin's
WordPress.org listing page. These files are **not** bundled inside the
plugin zip — they live in the separate `/assets/` folder of the plugin's
SVN repository and are uploaded there after approval.

`build_plugin_zips.py` skips any directory that starts with a dot, so
this folder is automatically excluded from the submission zip.

## Required files

Drop the following files in this folder (exact names, lowercase, PNG):

| File | Dimensions | Notes |
|---|---|---|
| `icon-128x128.png` | 128×128 | Plugin list icon |
| `icon-256x256.png` | 256×256 | Retina icon |
| `banner-772x250.png` | 772×250 | Plugin page banner |
| `banner-1544x500.png` | 1544×500 | Retina banner |
| `screenshot-1.png` | any (≥1280 wide) | Settings page with "Connect to Draft2Live" button |
| `screenshot-2.png` | any | WordPress native Application Password approval screen |
| `screenshot-3.png` | any | Plugin settings page in the connected state |
| `screenshot-4.png` | any | Draft2Live publish panel publishing to the connected site |

The screenshot captions live in `readme.txt` under the `== Screenshots ==`
section — if you change the order here, update the captions there too.

## Design rules (from WP.org guidelines)

- No prices, no "NEW / FREE / PRO" stickers on banners
- No unrelated third-party logos
- Text on banners must be readable at the non-retina size (772×250)
- JPG is allowed for banners but PNG is recommended for the icons

## Deploy

Assets are uploaded to SVN separately from the plugin code:

```bash
cd .svn-cache/draft2live-connect/assets
cp ../../plugins/wordpress/draft2live-connect/.wordpress-org/*.png .
svn add *.png
svn commit -m "Add plugin assets" --username draft2live
```

See `docs/wordpress-plugin-release.md` for the full release flow.
