Extra Iranian Share Buttons (Extra Theme)
Lightweight plugin that adds Bale, Soroush, and Eitaa share buttons to Xtra Theme posts and WooCommerce products, with full RTL support and custom SVG icons.
by Mehdi Mirabi · github.com/mmirabi/extra-share-iran · 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/mmirabi/extra-share-iran/archive/refs/heads/main.zipExtra Iranian Share Buttons
Contributors: mehdimirabi
Donate:
Bitcoin: bc1qyxue9vymqcwamhz5v5ktjjtg2hvsktr2jlslgw
ethereum: 0xCb874e740fF9480719d99479029A6DacFc24c98E
Tags: share, social, bale, soroush, eitaa, iran, xtra, woocommerce
Requires at least: 5.0
Tested up to: 6.5
Stable tag: 1.0.1
License: MIT
License URI: https://opensource.org/licenses/MIT
Lightweight plugin that adds Bale, Soroush, and Eitaa share buttons to Xtra Theme posts and WooCommerce products, with full RTL support and custom SVG icons.
Description
Extra Iranian Share Buttons is a simple, clean, and fully compatible WordPress plugin that adds share buttons for Bale, Soroush, and Eitaa to the Xtra Theme and WooCommerce product pages.
The plugin preserves the original UI/UX of Xtra's default social share icons and injects the new networks using native theme hooks.
No JavaScript, no settings panel, and no bloat — just functional, lightweight, and fast.
✨ Features
- Adds Bale, Soroush, and Eitaa share buttons
- Full support for:
- Xtra Theme posts (via
codevz/share) - WooCommerce products (via
woocommerce_share)
- Xtra Theme posts (via
- Custom SVG icons (optimized and retina-ready)
- Full RTL compatibility
- Custom tooltip system (lightweight, CSS-only)
- Zero conflicts with theme or page builders
- Works with Elementor product templates
- Clean UI with center-aligned share box
- Copy-link button included
- Very lightweight: loads only on singular content
👌 Why this plugin?
Xtra Theme hardcodes its share icons list, so classic filters do not work.
This plugin directly hooks into native share actions and injects real icon markup, ensuring 100% compatibility even inside Elementor templates and WooCommerce product pages.
Installation
- Upload the plugin folder to
/wp-content/plugins/extra-iranian-share-buttons/ - Activate the plugin through the "Plugins" menu
- You're done — share buttons will automatically appear on:
- Posts (default Xtra share area)
- WooCommerce product pages
Frequently Asked Questions
Does this plugin add settings to the dashboard?
No. It works automatically and does not require configuration.
Does it work with Elementor?
Yes. Xtra's Elementor widgets rely on WooCommerce hooks, which this plugin supports.
Can I customize colors or sizes?
Yes. All styles are in assets/iran-share.css.
You can safely override via theme or child-theme.
Does it support RTL?
Yes. It is fully RTL optimized.
Screenshots
- Share buttons displayed on an Xtra Theme post
- Share buttons displayed on a WooCommerce product
- Tooltip preview with SVG icons
Changelog
1.0.1
- Added background wrapper to share area
- Increased icon sizes (SVG + Font Awesome)
- Added label “اشتراک”
- Improved tooltip design
- Codebase refactoring and cleanup
- Added WooCommerce compatibility (
woocommerce_share) - Added copy-link icon
- Added custom tooltip system
- Improved CSS structure
1.0.0
- Initial release
- Added Bale, Soroush and Eitaa buttons for posts (Xtra Theme)
Upgrade Notice
1.0.1
Improved UI, larger icons, added share label, better styling.
License
MIT License
Copyright (c) Mehdi Mirabi
https://opensource.org/licenses/MIT
Releases
1 release.
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.