Title: f(x) Share
Author: David Chandra Purnama
Published: <strong>8 de Xaneiro, 2016</strong>
Last modified: 1 de Agosto, 2016

---

Buscar plugins

![](https://ps.w.org/fx-share/assets/banner-772x250.png?rev=1497585)

Este plugin **non se actualizou en máis de 2 anos**. É posible que xa non sexa compatible
ou mantido por ninguén, ou podes ter problemas de compatibilidade cando se usa con
novas versións de WordPress.

![](https://ps.w.org/fx-share/assets/icon-256x256.png?rev=1497585)

# f(x) Share

 Por [David Chandra Purnama](https://profiles.wordpress.org/turtlepod/)

[Descargar](https://downloads.wordpress.org/plugin/fx-share.1.0.0.zip)

 * [Detalles](https://gl.wordpress.org/plugins/fx-share/#description)
 * [Valoracións](https://gl.wordpress.org/plugins/fx-share/#reviews)
 *  [Instalación](https://gl.wordpress.org/plugins/fx-share/#installation)
 * [Desenvolvemento](https://gl.wordpress.org/plugins/fx-share/#developers)

 [Soporte](https://wordpress.org/support/plugin/fx-share/)

## Descrición

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:**

 1. Easily disable/enable sharing item and reorder it.
 2. Hide/display in post/page or any post type (custom post types are supported).
 3. Hide/display in archive page and single page.
 4. Customizer: See it live before saving the settings.
 5. Extendable and fully documented (read the Dev Notes).
 6. The GPL v2.0 or later license. 🙂 Use it to make something cool.
 7. Support available at [Genbu Media](https://genbu.me/contact-us/).

### Dev Notes

Notes for developer:

#### Github

Development of this plugin is hosted at [GitHub](https://github.com/turtlepod/fx-share).
Pull request and bug reports are welcome.

#### Opcións

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](https://shellcreeper.com/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 to `wp_enqueue_scripts`
at default priority (10). To remove the default CSS, you can use this code in theme`
functions.php`:

    ```
    remove_action( 'wp_enqueue_scripts', 'fx_share_scripts' );
    ```

#### 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`, 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.

## Capturas

[⌊Customizer setting.⌉⌊Customizer setting.⌉[

Customizer setting.

## Instalación

 1. Navigate to “Plugins > Add New” Page from your Admin.
 2. To install directly from WordPress.org repository, search the plugin name in the
    search box and click “Install Now” button to install the plugin.
 3. To install from plugin .zip file, click “Upload Plugin” button in “Plugins > Add
    New” Screen. Browse the plugin .zip file, and click “Install Now” button.
 4. Activate the plugin.
 5. Navigate to “Appearance > Customize” page in your admin panel to manage the plugin
    settings.

## Preguntas frecuentes

  Where is the settings ?

The settings in in the customizer page (Appearance > Customize) in the “Sharing”
section.

  How to disable the CSS?

This plugin have no option to disable CSS. If you want to disable the CSS you need
to dequeue the stylesheet. Read the “Dev Notes” section for more info.

  How to manually place the share button in template ?

You can use the `fx_share();` function. Please read the “Dev Notes”.

## Comentarios

![](https://secure.gravatar.com/avatar/892c0716ab606189211e31c70047104e48067d22fc385770b193d89e8a056164?
s=60&d=retro&r=g)

### 󠀁[Does exactly what you need with no bloat!](https://wordpress.org/support/topic/does-exactly-what-you-need-with-no-bloat/)󠁿

 [brettsmason](https://profiles.wordpress.org/brettsmason/) 3 de Setembro, 2016 
1 resposta

If you are looking for a simple to use, bloat free social sharing plugin then this
is it. It has a wide range of hooks which allowed me to extend it with more services
as needed. Highly recommended!

 [ Ler a 1 opinión ](https://wordpress.org/support/plugin/fx-share/reviews/)

## Colaboradores e desenvolvedores

“f(x) Share” é un software de código aberto. As seguintes persoas colaboraron con
este plugin.

Colaboradores

 *   [ David Chandra Purnama ](https://profiles.wordpress.org/turtlepod/)

[Traduce “f(x) Share” ao teu idioma.](https://translate.wordpress.org/projects/wp-plugins/fx-share)

### Interesado no desenvolvemento?

[Revisa o código](https://plugins.trac.wordpress.org/browser/fx-share/), bota unha
ollada ao[repositorio SVN](https://plugins.svn.wordpress.org/fx-share/), ou subscríbete
ao [log de desenvolvemento](https://plugins.trac.wordpress.org/log/fx-share/) por
[RSS](https://plugins.trac.wordpress.org/log/fx-share/?limit=100&mode=stop_on_copy&format=rss).

## Rexistro de cambios

#### 1.0.0 – 7 Jan 2015

 * Add readme. Change description.

#### 0.1.0

 * First relase.

## Meta

 *  Versión **1.0.0**
 *  Última actualización **Fai 10 anos**
 *  Instalacións activas **10+**
 *  Versión de WordPress ** 4.3 ou superior **
 *  Probado ata **4.7.33**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/fx-share/)
 * Etiquetas
 * [comments](https://gl.wordpress.org/plugins/tags/comments/)[spam](https://gl.wordpress.org/plugins/tags/spam/)
 *  [Vista avanzada](https://gl.wordpress.org/plugins/fx-share/advanced/)

## Valoracións

 5 de 5 estrelas

 *  [  1 valoración de 5 estrelas     ](https://wordpress.org/support/plugin/fx-share/reviews/?filter=5)
 *  [  0 valoracións de 4 estrelas     ](https://wordpress.org/support/plugin/fx-share/reviews/?filter=4)
 *  [  0 valoracións de 3 estrelas     ](https://wordpress.org/support/plugin/fx-share/reviews/?filter=3)
 *  [  0 valoracións de 2 estrelas     ](https://wordpress.org/support/plugin/fx-share/reviews/?filter=2)
 *  [  0 valoracións de 1 estrelas     ](https://wordpress.org/support/plugin/fx-share/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/fx-share/reviews/#new-post)

[Ver todas as valoracións](https://wordpress.org/support/plugin/fx-share/reviews/)

## Colaboradores

 *   [ David Chandra Purnama ](https://profiles.wordpress.org/turtlepod/)

## Soporte

Tes algo que dicir? Necesitas axuda?

 [Ver o foro de soporte](https://wordpress.org/support/plugin/fx-share/)

## Doar

Queres apoiar o progreso deste plugin?

 [ Dona a este plugin ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=TT23LVNKA3AU2)