| languages | ||
| screenshots | ||
| social-icons | ||
| .gitignore | ||
| admin-page.php | ||
| eg-sharebar-config.php | ||
| eg-sharebar-fedi.php | ||
| LICENSE.IT.md | ||
| LICENSE.md | ||
| README.it.md | ||
| README.md | ||
| readme.txt | ||
| sharebar-style.css | ||
EG Sharebar Fedi
WordPress plugin for social sharing bar with Share2Fedi integration and customizable texts via admin panel.
Versione Italiana | English Version
Preview
Standard Sharebar
Social sharing bar with all visible buttons (X, Bluesky, Fediverse, Telegram, Copy Link)
Compact Sharebar (Icons Only)
Compact icon-only version - ideal for mobile and tight spaces
Configuration Panel
Complete administration panel - customize texts, labels and behavior
Features
- Share2Fedi Integration - Direct sharing to the Fediverse via Share2Fedi instance (https://s2f.emanuelegori.uno)
- Complete Admin Panel - Customize all sharing texts
- Optimized Icons - Optimized dimensions (18px) for mobile and desktop
- Git Updater Compatible - Automatic updates from Git repository
- Privacy-First - Zero trackers, zero external JavaScript
- Lightweight - Inline CSS, no dependencies
- Responsive - Adaptive design for desktop, tablet and mobile
- Full Localization - Complete translation support with .pot file
Supported Social Networks
- Fediverse (Mastodon, Pleroma, Misskey, etc.) via Share2Fedi
- X (Twitter)
- Bluesky
- Telegram
- Copy Link
Installation
Via WordPress (ZIP Upload)
- Download latest version: eg-sharebar-fedi.zip
- Go to WordPress → Plugins → Add New → Upload Plugin
- Select downloaded ZIP file
- Click "Install Now" → "Activate Plugin"
Via FTP
- Download latest version: eg-sharebar-fedi.zip
- Extract
eg-sharebar-fedifolder - Upload to
/wp-content/plugins/via FTP - Activate plugin from WordPress panel
Updates
This plugin is NOT available on WordPress.org Store, so it does NOT update via standard WordPress system. You have two options:
Manual
- Download new version: eg-sharebar-fedi.zip
- Deactivate plugin in WordPress
- Delete old folder
/wp-content/plugins/eg-sharebar-fedi/ - Upload new version (ZIP or FTP)
- Reactivate plugin
Note: Saved configurations in database are NOT lost
Automatic via Git Updater (Recommended)
Initial setup:
- Download Git Updater (free, no subscription required)
- Install Git Updater in WordPress
- No configuration required (public repository)
How it works:
- Git Updater periodically checks for new releases on Gitea
- Notifications appear in WordPress → Dashboard → Updates
- Click "Update" to automatically install new version
- Configurations are maintained
Configuration
- Go to Settings → Sharebar Fedi
- Customize:
- Main label
- Sharing texts (prefix + signature) for each social
- Button labels
- Share2Fedi instance URL
- Debug mode
- Save configuration
Usage
Shortcode (in posts)
[eg_sharebar]
PHP Function (in templates)
<?php eg_sharebar(); ?>
Customization
Sharing Texts
Each social network can have:
- Prefix: Text before title (e.g., "I liked ")
- Signature: Text after URL (e.g., " via @youraccount@yourdomain.com")
Shared text example:
I liked Article Title https://site.com/article via @user@domain.com
Share2Fedi
Configure custom Share2Fedi instance URL:
- Default:
https://s2f.emanuelegori.uno - Custom:
https://s2f.yourdomain.com
Translation
The plugin is fully translatable. Translation files are located in the /languages/ folder.
To create a translation:
- Use the
eg-sharebar-fedi.potfile as template - Create your
.poand.mofiles - Place them in
/languages/folder
Current translations:
- English (built-in)
- Italian (built-in)
Requirements
- WordPress 5.0 or higher
- PHP 7.2 or higher
- Modern browser with CSS Grid support
License
GPL-2.0-or-later (GNU General Public License v2.0 or later)
This program is free software distributed under the terms of the GNU General Public License version 2 or later.
Full license text:
- LICENSE.md - English version
- LICENSE.IT.md - Italian version
For more information visit: https://www.gnu.org/licenses/gpl-2.0.html
Author
Emanuele Gori
- Website: https://emanuelegori.uno
- Mastodon: @emanuelegori@emanuelegori.uno
- Repository: https://git.emanuelegori.uno/emanuelegori/eg-sharebar-fedi
Bug Reports
Open an issue at: https://git.emanuelegori.uno/emanuelegori/eg-sharebar-fedi/issues
Changelog
1.1.3 - 2026-01-19
- Fixed info badge positioning - now in bottom right corner like eg-fediverso-box
- Added wrapper container with relative positioning for badge
- Improved badge visibility and hover effect
- Maintains responsive behavior on mobile devices
1.1.2 - 2026-01-15
- Added info badge in bottom right corner with link to repository
- Implemented complete localization with translation support
- Added .pot file for translators
- Added multilingual README (English README.md and Italian README.it.md)
- Added plugin action links (Documentation and Settings)
- Fixed menu name from "Sharebar Fedi" to "EG Sharebar Fedi"
- Localized default configuration file (eg-sharebar-config.php)
- Improved UX with informative tooltip on hover
1.1.1 - 2026-01-14
- Added info badge in bottom right corner with link to repository
- Implemented complete localization with translation support
- Added .pot file for translators
- Added English README.md and Italian README.it.md
- Improved UX with informative tooltip on hover
1.1.0 - 2026-01-04
- License migration from CC BY-NC-SA 4.0 to GPL-2.0-or-later for WordPress compatibility
- Added LICENSE.md and LICENSE.IT.md files with full license text
1.0.6 - 2026-01-04
- Fix Show checkbox now hides only label
- Added icon-only buttons become square 44x44px
- Improved admin panel UX more intuitive
1.0.4 - 2026-01-03
- Fix increased button width (150-170px) to avoid Copy Link wrap
- Fix label aligned left by default
- Added admin panel option for label alignment (left/center)
1.0.3 - 2026-01-03
- Added complete compatibility with custom-plugin
- Added intelligent JavaScript auto-initialization
1.0.2 - 2026-01-03
- Fix added automatic spaces between prefix/title/URL/signature
- Fix reduced button dimensions (140-160px)
- Fix reduced button and label font-size
- Fix icons increased to 20px for better visibility
- Fix removed gray background from label
- Improved dedicated CSS style for label
1.0.1 - 2026-01-03
- Fix resolved backslash escape issue in apostrophes
- Fix icons resized from 11px to 18px (were too small)
- Fix added wp_unslash for correct apostrophe handling
- Improved icon rendering more visible on mobile
1.0.0 - 2026-01-03
- Initial release
- Share2Fedi integration for Fediverse
- Complete admin panel
- Customizable texts for each social
- Optimized icons
- Git Updater compatible
- Shortcode [eg_sharebar]
- PHP function eg_sharebar()
Credits
- Fediverse Logo: Public Domain
- Share2Fedi: Nikita Karamov (https://github.com/kytta/share2fedi)
For a free, decentralized Internet in the hands of the people.


