f(x) Share is a very simple sharing plugin. You can easily add Facebook, Twitter, and Google+ share button to your content. After installation of this plugin, you can configure where to
f(x) Share is a very simple sharing plugin. You can easily add Facebook, Twitter, and Google+ share button to your content.
After installation of this plugin, you can configure where to display and reorder your sharing buttons via the “Customizer” page under the “Appearance” menu where you can see the changes live before you save them.
Features:
Easily disable/enable sharing item and reorder it.
Hide/display in post/page or any post type (custom post types are supported).
Hide/display in archive page and single page.
Customizer: See it live before saving the settings.
Extendable and fully documented (read the Dev Notes).
The GPL v2.0 or later license. 🙂 Use it to make something cool.
Both are loaded using fx_share_scripts function hooked to wp_enqueue_scripts at default priority (10). To remove the default CSS, you can use this code in theme functions.php:
List of post types in the checkbox option. You can remove or add post types in the list. As default it will list all public post types.
filter:fx_share_services (array)
List of supported sharing provider. As default it support facebook, google plus, and twitter. It’s a multi dimentional array, with array key as the service ID, each item has id, label, and callback node.
filter:fx_share (string)
The HTML output of the share buttons.
filter:fx_share_display (bool, default: true)
Control the default excerpt and content filter. Set it to false to disable excerpt and content filter. Useful if you need to manually place the share button in template using <?php echo fx_share(); ?> function.
This website uses cookies to improve your experience. If you decide to use this website, you agree that certain cookies will be used. If you do not agree please close this website. Read moreACCEPT
Privacy & Cookies Policy
Privacy Overview
This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are as essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
f(x) Share
€0
f(x) Share is a very simple sharing plugin. You can easily add Facebook, Twitter, and Google+ share button to your content. After installation of this plugin, you can configure where to
1.0.0
2016.03.15
10
4.3
4.7.28
5.00
1
Description
f(x) Share is a very simple sharing plugin. You can easily add Facebook, Twitter, and Google+ share button to your content.
After installation of this plugin, you can configure where to display and reorder your sharing buttons via the “Customizer” page under the “Appearance” menu where you can see the changes live before you save them.
Features:
Dev Notes
Notes for developer:
Github
Development of this plugin is hosted at GitHub. Pull request and bug reports are welcome.
Options
This plugin save the options in single option name:
fx_share
. To read more about the data structure you can read this tutorial:How to Create Sortable Checkboxes Option in Customizer
Scripts
This plugin load two CSS in site front-end.
fx-share-icon
is the icon font.fx-share
is the stylesheet.Both are loaded using
fx_share_scripts
function hooked towp_enqueue_scripts
at default priority (10). To remove the default CSS, you can use this code in themefunctions.php
:Hooks
List of hooks available in this plugin:
filter:
fx_share_post_types
(array)List of post types in the checkbox option. You can remove or add post types in the list. As default it will list all public post types.
filter:
fx_share_services
(array)List of supported sharing provider. As default it support facebook, google plus, and twitter. It’s a multi dimentional array, with array key as the service ID, each item has
id
,label
, andcallback
node.filter:
fx_share
(string)The HTML output of the share buttons.
filter:
fx_share_display
(bool, default: true)Control the default excerpt and content filter. Set it to false to disable excerpt and content filter. Useful if you need to manually place the share button in template using
<?php echo fx_share(); ?>
function.