Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/michaelgenesisii/comprestack-wordpress/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Comprestack for WordPress
Compress and convert Media Library and WooCommerce product images with the Comprestack API.
Install
- Copy the
comprestackfolder intowp-content/plugins/(or uploadcomprestack.zip) - Activate Comprestack
- Settings → Comprestack → API key → Test connection
Or set COMPRESTACK_API_KEY in the server environment.
Requirements: WordPress 6.0+, PHP 8.1+ (curl, json). WooCommerce 8+ optional.
Features
- Auto-optimize on upload
- WebP / AVIF convert (or same-format compress)
- Media Library bulk + attachment re-optimize
- Original backups under
uploads/comprestack-backups/ - Test connection + quota
- WooCommerce: optimize on product save, product metabox, Products bulk action
- Clean uninstall (keeps backup files)
wordpress.org
- Build zip: from
sdk/wordpressrunpwsh ./build-zip.ps1 - Create a WordPress.org plugin account if needed
- Submit: https://wordpress.org/plugins/developers/add/
- After approval, upload icons/banners from
sdk/wordpress/.wordpress-org/
Slug suggestion: comprestack
License
MIT © Comprestack