Title: Simple Share Follow Button
Author: Katsushi Kawamori
Published: <strong>2021 年 11 月 12 日</strong>
Last modified: 2026 年 3 月 29 日

---

搜尋外掛

![](https://ps.w.org/simple-share-follow-button/assets/icon-256x256.png?rev=2628557)

# Simple Share Follow Button

 由 [Katsushi Kawamori](https://profiles.wordpress.org/katsushi-kawamori/) 開發

[下載](https://downloads.wordpress.org/plugin/simple-share-follow-button.1.10.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/simple-share-follow-button/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/simple-share-follow-button/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/simple-share-follow-button/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/simple-share-follow-button/#developers)

 [技術支援](https://wordpress.org/support/plugin/simple-share-follow-button/)

## 外掛說明

Displays the Share button and Follow button.

#### Button

 * X(Twitter)
 * Facebook
 * Instagram
 * Youtube
 * WordPress
 * Github
 * Line
 * Pocket
 * Hatena
 * Rss
 * Feedly

#### View

 * The share button is displayed immediately after the content.
 * The follow button is displayed on the top right by default. It can be changed
   in the settings page.
 * The follow button can also be displayed with a shortcode.

#### Filter for share button

 * Each initial value indicates the position from the left side.
 * If the value is null, it will be hidden.
 * `ssfb_share_twitter` : initial value 1
 * `ssfb_share_facebook` : initial value 2
 * `ssfb_share_pocket` : initial value 3
 * `ssfb_share_hatena` : initial value 4
 * `ssfb_share_line` : initial value 5

    ```
    /** ==================================================
     * Filter for hide X(twitter).
     *
     */
    add_filter( 'ssfb_share_twitter', function(){ return null; }, 10, 1 );
    ```

    ```
    /** ==================================================
     * Filter for position X(twitter) and facebook.
     *
     */
    add_filter( 'ssfb_share_twitter', function(){ return 2; }, 10, 1 );
    add_filter( 'ssfb_share_facebook', function(){ return 1; }, 10, 1 );
    ```

 * If you want to hide it, set it to false.
 * `ssfb_share` : initial value true

    ```
    /** ==================================================
     * Filter for hide all.
     *
     */
    add_filter( 'ssfb_share', function(){ return false; }, 10, 1 );
    ```

 * If you want to hide it by post ID, set it to false.
 * `ssfb_share_id` : initial value true

    ```
    /** ==================================================
     * Display by post ID or not for Simple Share Follow Button
     *
     * @param bool $flag  view.
     * @param int  $pid  post ID.
     * @since 1.00
     */
    function ssfb_share_post_id( $flag, $pid ) {
        if ( 1567 === $pid ) {
            $flag = false;
        }
        return $flag;
    }
    add_filter( 'ssfb_share_id', 'ssfb_share_post_id', 10, 2 );
    ```

 * If you want to hide it by post type, set it to false.
 * `ssfb_share_type` : initial value true

    ```
    /** ==================================================
     * Display by post type or not for Simple Share Follow Button
     *
     * @param bool   $flag  view.
     * @param string $type  post type.
     * @since 1.00
     */
    function ssfb_share_post_type( $flag, $type ) {
        if ( 'page' === $type || 'attachment' === $type ) {
            $flag = false;
        }
        return $flag;
    }
    add_filter( 'ssfb_share_type', 'ssfb_share_post_type', 10, 2 );
    ```

#### icon

[IcoMoon – Free https://icomoon.io/]
 License GPL / CC BY 4.0

## 螢幕擷圖

 * [[
 * Follow button view
 * [[
 * Share button view
 * [[
 * Manage screen

## 安裝方式

 1. Upload `simple-share-follow-button` directory to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## 常見問題集

none

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈Simple Share Follow Button〉的開發相關工作。

參與者

 *   [ Katsushi Kawamori ](https://profiles.wordpress.org/katsushi-kawamori/)

〈Simple Share Follow Button〉外掛目前已有 1 個本地化語言版本。 感謝[全部譯者](https://translate.wordpress.org/projects/wp-plugins/simple-share-follow-button/contributors)
為這個外掛做出的貢獻。

[將〈Simple Share Follow Button〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/simple-share-follow-button)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/simple-share-follow-button/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/simple-share-follow-button/)，
或透過 [RSS](https://plugins.trac.wordpress.org/log/simple-share-follow-button/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/simple-share-follow-button/)。

## 變更記錄

#### [1.10] 2025/04/02

 * Fix – Rebuilt javascript.

#### [1.09] 2024/11/14

 * Fix – Rebuilt javascript.

#### [1.08] 2024/11/13

 * Fix – Rebuilt javascript.
 * Change – Changed the required version of WordPress.

#### [1.07] 2024/02/07

 * Fix – Twitter icon to X icon.
 * Fix – Icons is regenerated.
 * Tweak – Tweaked admin screen.

#### 1.06

Changed json_encode to wp_json_encode.

#### 1.05

Supported WordPress 6.4.
 PHP 8.0 is now required.

#### 1.04

Fixed problem of XSS via shortcode.

#### 1.03

Supported WordPress 6.1.

#### 1.02

Rebuild react.

#### 1.01

Rebuild react.

#### 1.00

Initial release.

## 中繼資料

 *  版本 **1.10**
 *  最後更新 **3 週前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 6.6 或更新版本 **
 *  已測試相容的 WordPress 版本 **7.0**
 *  PHP 版本需求 ** 8.0 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/simple-share-follow-button/) 及 
   [Japanese](https://ja.wordpress.org/plugins/simple-share-follow-button/).
 *  [將這個外掛本地化為你的母語版本](https://translate.wordpress.org/projects/wp-plugins/simple-share-follow-button)
 * 標籤
 * [follow](https://tw.wordpress.org/plugins/tags/follow/)[share](https://tw.wordpress.org/plugins/tags/share/)
 *  [進階檢視](https://tw.wordpress.org/plugins/simple-share-follow-button/advanced/)

## 評分

這個項目尚無任何評論記錄。

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

[查看全部使用者評論](https://wordpress.org/support/plugin/simple-share-follow-button/reviews/)

## 參與者

 *   [ Katsushi Kawamori ](https://profiles.wordpress.org/katsushi-kawamori/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/simple-share-follow-button/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](https://shop.riverforest-wp.info/donate/)