A powerful, customizable floating widget that generates magic squares of any size. Supports multiple algorithms and output formats (text, HTML, PDF, PNG).
- ✨ 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
- Go to Plugins → Add New
- Search for "Magic Square Widget"
- Install and activate
- Upload
magicsquare-widgetfolder to/wp-content/plugins/ - Activate via WordPress admin
- Configure at Settings → Magic Square
- WordPress 5.0+
- PHP 7.2+
- jQuery (included with WordPress)
- Enter your Buy Me a Coffee username
- Choose button color and position
- Select button type (emoji/SVG/PNG)
- Save and enjoy!
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-widgetNo build process required - pure PHP/JavaScript.
# 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.moGPL-2.0+ - See LICENSE file.
If you like my project, you can support me by buying me a coffee!
Thank you! 🙏
