Plugin WordPress per barra condivisione social con integrazione Share2Fedi e testi personalizzabili via pannello admin https://emanuelegori.uno
Find a file
2026-01-20 00:01:08 +01:00
languages Fix: Translation loading error in WordPress 6.7+ 2026-01-15 22:56:01 +01:00
screenshots Aggiungi screenshot al README 2026-01-05 00:30:59 +01:00
social-icons Aggiorna social-icons/bluesky.svg 2026-01-04 22:40:28 +01:00
.gitignore Initial release v1.0.0 2026-01-03 22:32:49 +01:00
admin-page.php Bump version to 1.1.1 - Badge informativo e localizzazione completa 2026-01-15 21:51:22 +01:00
eg-sharebar-config.php Fix: Translation loading error in WordPress 6.7+ 2026-01-15 22:56:01 +01:00
eg-sharebar-fedi.php Bump version to 1.1.3 - Fixed info badge positioning in bottom right corner 2026-01-19 23:54:21 +01:00
LICENSE.IT.md Aggiorna LICENSE.IT.md 2026-01-06 16:31:06 +01:00
LICENSE.md Aggiorna LICENSE.md 2026-01-06 16:31:56 +01:00
README.it.md Bump version to 1.1.3 - Fixed info badge positioning in bottom right corner 2026-01-20 00:01:08 +01:00
README.md Bump version to 1.1.3 - Fixed info badge positioning in bottom right corner 2026-01-19 23:54:21 +01:00
readme.txt Bump version to 1.1.3 - Fixed info badge positioning in bottom right corner 2026-01-19 23:54:21 +01:00
sharebar-style.css Bump version to 1.1.3 - Fixed info badge positioning in bottom right corner 2026-01-19 23:54:21 +01:00

EG Sharebar Fedi

Version License WordPress PHP

WordPress plugin for social sharing bar with Share2Fedi integration and customizable texts via admin panel.

Versione Italiana | English Version

Preview

Standard Sharebar

Standard sharebar

Social sharing bar with all visible buttons (X, Bluesky, Fediverse, Telegram, Copy Link)

Compact Sharebar (Icons Only)

Compact sharebar

Compact icon-only version - ideal for mobile and tight spaces

Configuration Panel

Admin 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

  1. Fediverse (Mastodon, Pleroma, Misskey, etc.) via Share2Fedi
  2. X (Twitter)
  3. Bluesky
  4. Telegram
  5. Copy Link

Installation

Via WordPress (ZIP Upload)

  1. Download latest version: eg-sharebar-fedi.zip
  2. Go to WordPress → Plugins → Add New → Upload Plugin
  3. Select downloaded ZIP file
  4. Click "Install Now" → "Activate Plugin"

Via FTP

  1. Download latest version: eg-sharebar-fedi.zip
  2. Extract eg-sharebar-fedi folder
  3. Upload to /wp-content/plugins/ via FTP
  4. 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

  1. Download new version: eg-sharebar-fedi.zip
  2. Deactivate plugin in WordPress
  3. Delete old folder /wp-content/plugins/eg-sharebar-fedi/
  4. Upload new version (ZIP or FTP)
  5. Reactivate plugin

Note: Saved configurations in database are NOT lost

Initial setup:

  1. Download Git Updater (free, no subscription required)
  2. Install Git Updater in WordPress
  3. 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

  1. Go to Settings → Sharebar Fedi
  2. Customize:
    • Main label
    • Sharing texts (prefix + signature) for each social
    • Button labels
    • Share2Fedi instance URL
    • Debug mode
  3. 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:

  1. Use the eg-sharebar-fedi.pot file as template
  2. Create your .po and .mo files
  3. 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:

For more information visit: https://www.gnu.org/licenses/gpl-2.0.html

Author

Emanuele Gori

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


For a free, decentralized Internet in the hands of the people.