ShareSnap WP
Create automatic posters from WordPress posts with customizable options
by Salim Hossain · github.com/salimhossain/sharesnap-wp · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/salimhossain/sharesnap-wp/archive/refs/heads/master.zipCreate beautiful, professional social media posters automatically from your WordPress posts with customizable designs.
📋 Description
ShareSnap WP is a powerful WordPress plugin that transforms your blog posts into eye-catching social media posters. Perfect for sharing on Facebook, Instagram, Twitter, and other social platforms.
Whether you're a blogger, content marketer, or social media manager, ShareSnap WP makes it easy to create professional-looking posters that drive engagement and traffic to your content.
✨ Features
Core Features
- 🎨 Automatic Poster Generation - Convert any WordPress post into a shareable poster
- 🎭 Customizable Design - Full control over colors, fonts, and layout
- 🖼️ Background Images - Upload custom backgrounds or use defaults
- 📸 Featured Image Support - Automatically includes post featured images
- 📝 Rich Text Editor - Edit heading text with formatting options
- 🎯 One-Click Download - Download high-quality PNG posters instantly
Customization Options
-
Text Styling
- Custom text colors
- Font size adjustment (10-50px)
- Line height control (10-70px)
- Rich text formatting (bold, italic, underline, alignment)
-
Layout Controls
- Heading position (top/bottom)
- Featured image positioning (9 options)
- Image zoom (10-500%)
- Background image upload
-
Branding
- Custom website URL
- Additional details text
- Logo integration (uses WordPress custom logo)
Integration
- 📌 Meta Box Integration - Quick access from post editor sidebar
- 🔗 Multiple Access Points - Available in main menu, settings, and tools
- 💾 Settings Management - Save and reset settings with AJAX
- 🌍 Translation Ready - Full internationalization support
📦 Installation
Automatic Installation
- Log in to your WordPress admin panel
- Navigate to Plugins > Add New
- Search for "ShareSnap WP"
- Click "Install Now" and then "Activate"
Manual Installation
- Download the plugin zip file from releases
- Log in to your WordPress admin panel
- Navigate to Plugins > Add New > Upload Plugin
- Choose the downloaded zip file and click "Install Now"
- Activate the plugin
From Source
# Clone the repository
git clone https://github.com/salimhossain/ShareSnap-WP.git
# Move to your WordPress plugins directory
mv ShareSnap-WP /path/to/wordpress/wp-content/plugins/sharesnap-wp
# Activate through WordPress admin or WP-CLI
wp plugin activate sharesnap-wp
🚀 Usage
Quick Start
-
Create or Edit a Post
- Go to your WordPress post editor
- Look for the "ShareSnap" meta box in the sidebar
-
Generate Poster
- Click "Get ShareSnap Poster"
- The poster generator will open with your post data
-
Customize
- Adjust colors, fonts, and layout to your preference
- Upload custom background or featured images
- Preview changes in real-time
-
Download
- Click "Download Poster"
- Share on social media platforms
Advanced Usage
Configure Default Settings
Navigate to ShareSnap WP in your admin menu to set default values:
// Default settings
'bg_image_url' => 'path/to/background.png',
'website_url' => 'yourdomain.com',
'image_position' => 'center center',
'text_color' => '#000000',
'title_position' => 'top',
'details' => 'Learn More'
Access Points
The plugin is accessible from three locations:
- Main Menu → ShareSnap WP
- Settings → ShareSnap WP
- Tools → ShareSnap WP
🛠️ Technical Details
Requirements
- WordPress: 5.0 or higher
- PHP: 7.2 or higher
- Browser: Modern browser with HTML5 Canvas support
Architecture
Built using the WordPress Plugin Boilerplate with proper separation of concerns:
sharesnap-wp/
├── sharesnap-wp.php # Main plugin file
├── uninstall.php # Cleanup on uninstall
├── includes/ # Core functionality
│ ├── class-sharesnap-wp.php
│ ├── class-sharesnap-wp-loader.php
│ ├── class-sharesnap-wp-i18n.php
│ ├── class-sharesnap-wp-activator.php
│ └── class-sharesnap-wp-deactivator.php
├── admin/ # Admin-specific functionality
│ ├── class-sharesnap-wp-admin.php
│ ├── partials/
│ │ └── sharesnap-wp-admin-display.php
├── assets/ # Shared assets
│ └── images/
│ ├── css/
│ │ └── sharesnap-wp-admin.css
│ └── js/
│ ├── sharesnap-wp-admin.js
│ └── html2canvas.min.js
└── languages/ # Translation files
Technologies
- HTML5 Canvas - Poster rendering
- html2canvas - Client-side screenshot library
- WordPress Color Picker - Color selection
- WordPress Media Uploader - Image uploads
- AJAX - Asynchronous settings management
🎯 Roadmap
- [ ] Multiple poster templates
- [ ] Social media size presets (Instagram, Facebook, Twitter)
- [ ] Batch poster generation
- [ ] Custom font upload support
- [ ] Gradient backgrounds
- [ ] Filter and effects
- [ ] Export as JPG/WebP
- [ ] Schedule poster creation
- [ ] Integration with social media APIs
- [ ] Analytics tracking
🤝 Contributing
Contributions are welcome! Here's how you can help:
- Fork the repository
- Create a feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Development Setup
# Clone your fork
git clone https://github.com/salimhossain/ShareSnap-WP.git
# Create a branch
cd ShareSnap-WP
git checkout -b feature/your-feature
# Make changes and test in WordPress environment
# Commit and push
git add .
git commit -m "Description of changes"
git push origin feature/your-feature
Coding Standards
- Follow WordPress Coding Standards
- Use proper escaping and sanitization
- Document all functions and classes
- Write clean, readable code
📝 Changelog
1.0.0 - 2024-01-15
Added
- Initial release
- Automatic poster generation from posts
- Customizable backgrounds and colors
- Featured image support with positioning
- Typography controls (size, height, color)
- Rich text editor for headings
- Zoom controls for images
- Meta box integration in post editor
- AJAX settings management
- Translation ready infrastructure
- WordPress Plugin Boilerplate architecture
📄 License
This project is licensed under the GPL v2 or later - see the LICENSE file for details.
ShareSnap WP - WordPress Social Media Poster Generator
Copyright (C) 2024 Salim Hossain
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
👤 Author
Salim Hossain
- GitHub: @salimhossain
- Website: https://github.com/salimhossain
🙏 Acknowledgments
- WordPress Plugin Boilerplate - Plugin architecture
- html2canvas - Canvas rendering
- WordPress Community - Documentation and support
📞 Support
- Issues: GitHub Issues
- Documentation: Wiki
- Questions: Discussions
🔒 Privacy
ShareSnap WP does not collect or store any personal data. All poster generation happens locally in your browser. No data is sent to external servers.
Made with ❤️ for the WordPress Community
If you find this plugin helpful, please consider:
- ⭐ Starring the repository
- 🐛 Reporting bugs
- 💡 Suggesting new features
- 🔀 Contributing code
- 📢 Spreading the word
Releases
1 release.
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.