Super fast and super customizable social sharing. Adds Facebook, Twitter, Google+, LinkedIn and Email icons to your posts and pages.
The files are also available at GitHub
Simply install, activate and visit the “Sharing icons” settings page.
By default, the plugin displays the sharing icons via the_content(), however
you may wish to display it elsewhere. If this is the case, please install
the “Metro Share Remover” plugin and add the code
<?php do_action( 'metroshare' ); ?>
wherever you wish to display the sharing icons.
The plugin is provided with CSS by default, but you can unhook this and add your own. For an example of this, check out the “Metro Share Styles” plugin.
- Q. I want new icons, how do I do that?
A. Dequeue the existing CSS and replace it with new CSS. Or try the “Metro Share Styles” plugin.
Q. Why is this better than other sharing plugins?
A. It’s easier to apply custom styles and features lazy loads it’s scripts so that it won’t bog down your page loads unnecessarily.
Q. Why don’t you add an administration page to let us customise the icons?
- A. This plugin is intended for use by developers. The plugin is intended to be as extensible. Most changes you might like to make can be achieved via a few lines in a short custom plugin (or in your theme).
Contributors & Developers
“Metro Share” is open source software. The following people have contributed to this plugin.Contributors
- Tested & found compatible with WP 4.7.
- Update plugin for WordPress Coding Standards.
- Tested & found compatible with WP 4.6.
- Fixed critical bug affecting people using do_action( ‘metroshare’ )
- Added documentation for extension plugins
- Matching transation slug to new WordPress.org requirements
- Matching indentation and brace coding to new WordPress coding standards
- Added filter to allow for addition of Google Analytics event tracking code
- Setup better UX for entering Twitter handles – now removes @ characters automatically
- Removed redundant form elements and changed to URL with query vars
- Plugin now works correctly when used multiple times on the same page
- Added filter for allow users to modify the prefix text. Useful for translations or if you need different text depending on the page.
- Final touches ready for public release
- Documentation update
- Updated CSS to use WordPress coding standards
- Added support for adding the content automatically
- Added _icons to end of some functions to make their names clearer
- Removed class of .tabs due to clashes with off the shelf scripts
- Removed unncessary CSS
- Added plugin upgrade block for security purposes
- Initial plugin creation