Install
Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/metatronslove/magicsquare-widget/releases/download/magic-square-widget/magicsquare-widget.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Magic Square Widget for WordPress
A powerful, customizable floating widget that generates magic squares of any size. Supports multiple algorithms and output formats (text, HTML, PDF, PNG).
Features
- ✨ Magic Square Generation - For any size (n ≥ 3)
- 🔢 Customizable Sum - Set your own target row/column/diagonal total
- 🧮 Multiple Algorithms - Siamese, Strachey, Dürer, Simple Exchange
- 🌍 Multi-language - English, Turkish, and more via WordPress translations
- 🎨 Customizable - Colors, positions, button styles (emoji, SVG, PNG)
- 📄 Multiple Output Formats - Tab-separated, boxed text, HTML, PDF, PNG
- 🎯 Interactive Controls - Rotate, mirror, adjust cell dimensions
- 💝 Buy Me a Coffee - Integrated support button
Installation
WordPress.org
- Go to Plugins → Add New
- Search for "Magic Square Widget"
- Install and activate
Manual
- Upload
magicsquare-widgetfolder to/wp-content/plugins/ - Activate via WordPress admin
- Configure at Settings → Magic Square
Requirements
- WordPress 5.0+
- PHP 7.2+
- jQuery (included with WordPress)
Configuration
- Enter your Buy Me a Coffee username
- Choose button color and position
- Select button type (emoji/SVG/PNG)
- Save and enjoy!
Development
Local Setup
git clone https://github.com/metatronslove/magicsquare-widget.git
cd magicsquare-widget
# Symlink to your WordPress plugins directory
ln -s $(pwd) /path/to/wp-content/plugins/magicsquare-widget
Building
No build process required - pure PHP/JavaScript.
Translations
# Generate .pot file
wp i18n make-pot . languages/magicsquare-widget.pot
# Update .po files
msgmerge -U languages/tr_TR.po languages/magicsquare-widget.pot
# Compile .mo
msgfmt languages/tr_TR.po -o languages/tr_TR.mo
License
GPL-2.0+ - See LICENSE file.
Support
☕ Buy Me a Coffee
If you like my project, you can support me by buying me a coffee!
Thank you! 🙏
Releases
1 release. Each count is every asset in that release; expand a row for the breakdown.
Tag
Published
Assets
Downloads
