{"id":149972,"date":"2021-11-12T11:08:52","date_gmt":"2021-11-12T11:08:52","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/simple-share-follow-button\/"},"modified":"2026-03-29T22:00:08","modified_gmt":"2026-03-29T22:00:08","slug":"simple-share-follow-button","status":"publish","type":"plugin","link":"https:\/\/oci.wordpress.org\/plugins\/simple-share-follow-button\/","author":12387480,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.10","stable_tag":"1.10","tested":"7.0","requires":"6.6","requires_php":"8.0","requires_plugins":null,"header_name":"Simple Share Follow Button","header_author":"Katsushi Kawamori","header_description":"Displays the Share button and Follow button.","assets_banners_color":"","last_updated":"2026-03-29 22:00:08","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/shop.riverforest-wp.info\/donate\/","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/simple-share-follow-button\/","header_author_uri":"https:\/\/riverforest-wp.info\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":3240,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.00":{"tag":"1.00","author":"Katsushi Kawamori","date":"2021-11-12 11:08:50"},"1.01":{"tag":"1.01","author":"Katsushi Kawamori","date":"2021-12-01 00:00:11"},"1.02":{"tag":"1.02","author":"Katsushi Kawamori","date":"2022-07-12 00:53:49"},"1.03":{"tag":"1.03","author":"Katsushi Kawamori","date":"2023-07-18 23:04:12"},"1.04":{"tag":"1.04","author":"Katsushi Kawamori","date":"2023-08-02 00:11:01"},"1.05":{"tag":"1.05","author":"Katsushi Kawamori","date":"2023-10-31 23:40:25"},"1.06":{"tag":"1.06","author":"Katsushi Kawamori","date":"2023-12-22 12:20:55"},"1.07":{"tag":"1.07","author":"Katsushi Kawamori","date":"2024-11-05 23:16:51"},"1.08":{"tag":"1.08","author":"Katsushi Kawamori","date":"2024-11-13 00:41:11"},"1.09":{"tag":"1.09","author":"Katsushi Kawamori","date":"2024-11-14 11:59:29"},"1.10":{"tag":"1.10","author":"Katsushi Kawamori","date":"2026-03-29 22:00:08"}},"upgrade_notice":{"1.04":"<p>Security measures.<\/p>","1.00":"<p>Initial release.<\/p>"},"ratings":[],"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":2628557,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.00","1.01","1.02","1.03","1.04","1.05","1.06","1.07","1.08","1.09","1.10"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3032698,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3032698,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3032698,"resolution":"3","location":"assets","locale":""}},"screenshots":{"1":"Follow button view","2":"Share button view","3":"Manage screen"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2037,138],"plugin_category":[56],"plugin_contributors":[79586],"plugin_business_model":[],"class_list":["post-149972","plugin","type-plugin","status-publish","hentry","plugin_tags-follow","plugin_tags-share","plugin_category-social-and-sharing","plugin_contributors-katsushi-kawamori","plugin_committers-katsushi-kawamori"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/simple-share-follow-button\/assets\/icon-256x256.png?rev=2628557","icon_2x":"https:\/\/ps.w.org\/simple-share-follow-button\/assets\/icon-256x256.png?rev=2628557","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/simple-share-follow-button\/assets\/screenshot-1.png?rev=3032698","caption":"Follow button view"},{"src":"https:\/\/ps.w.org\/simple-share-follow-button\/assets\/screenshot-2.png?rev=3032698","caption":"Share button view"},{"src":"https:\/\/ps.w.org\/simple-share-follow-button\/assets\/screenshot-3.png?rev=3032698","caption":"Manage screen"}],"raw_content":"<!--section=description-->\n<p>Displays the Share button and Follow button.<\/p>\n\n<h4>Button<\/h4>\n\n<ul>\n<li>X(Twitter)<\/li>\n<li>Facebook<\/li>\n<li>Instagram<\/li>\n<li>Youtube<\/li>\n<li>WordPress<\/li>\n<li>Github<\/li>\n<li>Line<\/li>\n<li>Pocket<\/li>\n<li>Hatena<\/li>\n<li>Rss<\/li>\n<li>Feedly<\/li>\n<\/ul>\n\n<h4>View<\/h4>\n\n<ul>\n<li>The share button is displayed immediately after the content.<\/li>\n<li>The follow button is displayed on the top right by default. It can be changed in the settings page.<\/li>\n<li>The follow button can also be displayed with a shortcode.<\/li>\n<\/ul>\n\n<h4>Filter for share button<\/h4>\n\n<ul>\n<li>Each initial value indicates the position from the left side.<\/li>\n<li>If the value is null, it will be hidden.<\/li>\n<li><code>ssfb_share_twitter<\/code> : initial value 1<\/li>\n<li><code>ssfb_share_facebook<\/code> : initial value 2<\/li>\n<li><code>ssfb_share_pocket<\/code> : initial value 3<\/li>\n<li><code>ssfb_share_hatena<\/code> : initial value 4<\/li>\n<li><code>ssfb_share_line<\/code> : initial value 5<\/li>\n<\/ul>\n\n<pre><code>\/** ==================================================\n * Filter for hide X(twitter).\n *\n *\/\nadd_filter( 'ssfb_share_twitter', function(){ return null; }, 10, 1 );\n<\/code><\/pre>\n\n<pre><code>\/** ==================================================\n * Filter for position X(twitter) and facebook.\n *\n *\/\nadd_filter( 'ssfb_share_twitter', function(){ return 2; }, 10, 1 );\nadd_filter( 'ssfb_share_facebook', function(){ return 1; }, 10, 1 );\n<\/code><\/pre>\n\n<ul>\n<li>If you want to hide it, set it to false.<\/li>\n<li><code>ssfb_share<\/code> : initial value true<\/li>\n<\/ul>\n\n<pre><code>\/** ==================================================\n * Filter for hide all.\n *\n *\/\nadd_filter( 'ssfb_share', function(){ return false; }, 10, 1 );\n<\/code><\/pre>\n\n<ul>\n<li>If you want to hide it by post ID, set it to false.<\/li>\n<li><code>ssfb_share_id<\/code> : initial value true<\/li>\n<\/ul>\n\n<pre><code>\/** ==================================================\n * Display by post ID or not for Simple Share Follow Button\n *\n * @param bool $flag  view.\n * @param int  $pid  post ID.\n * @since 1.00\n *\/\nfunction ssfb_share_post_id( $flag, $pid ) {\n    if ( 1567 === $pid ) {\n        $flag = false;\n    }\n    return $flag;\n}\nadd_filter( 'ssfb_share_id', 'ssfb_share_post_id', 10, 2 );\n<\/code><\/pre>\n\n<ul>\n<li>If you want to hide it by post type, set it to false.<\/li>\n<li><code>ssfb_share_type<\/code> : initial value true<\/li>\n<\/ul>\n\n<pre><code>\/** ==================================================\n * Display by post type or not for Simple Share Follow Button\n *\n * @param bool   $flag  view.\n * @param string $type  post type.\n * @since 1.00\n *\/\nfunction ssfb_share_post_type( $flag, $type ) {\n    if ( 'page' === $type || 'attachment' === $type ) {\n        $flag = false;\n    }\n    return $flag;\n}\nadd_filter( 'ssfb_share_type', 'ssfb_share_post_type', 10, 2 );\n<\/code><\/pre>\n\n<h4>icon<\/h4>\n\n<p>[IcoMoon - Free https:\/\/icomoon.io\/]\nLicense GPL \/ CC BY 4.0<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>simple-share-follow-button<\/code> directory to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=faq-->\n<p>none<\/p>\n\n<!--section=changelog-->\n<h4>[1.10] 2025\/04\/02<\/h4>\n\n<ul>\n<li>Fix - Rebuilt javascript.<\/li>\n<\/ul>\n\n<h4>[1.09] 2024\/11\/14<\/h4>\n\n<ul>\n<li>Fix - Rebuilt javascript.<\/li>\n<\/ul>\n\n<h4>[1.08] 2024\/11\/13<\/h4>\n\n<ul>\n<li>Fix - Rebuilt javascript.<\/li>\n<li>Change - Changed the required version of WordPress.<\/li>\n<\/ul>\n\n<h4>[1.07] 2024\/02\/07<\/h4>\n\n<ul>\n<li>Fix - Twitter icon to X icon.<\/li>\n<li>Fix - Icons is regenerated.<\/li>\n<li>Tweak - Tweaked admin screen.<\/li>\n<\/ul>\n\n<h4>1.06<\/h4>\n\n<p>Changed json_encode to wp_json_encode.<\/p>\n\n<h4>1.05<\/h4>\n\n<p>Supported WordPress 6.4.\nPHP 8.0 is now required.<\/p>\n\n<h4>1.04<\/h4>\n\n<p>Fixed problem of XSS via shortcode.<\/p>\n\n<h4>1.03<\/h4>\n\n<p>Supported WordPress 6.1.<\/p>\n\n<h4>1.02<\/h4>\n\n<p>Rebuild react.<\/p>\n\n<h4>1.01<\/h4>\n\n<p>Rebuild react.<\/p>\n\n<h4>1.00<\/h4>\n\n<p>Initial release.<\/p>","raw_excerpt":"Displays the Share button and Follow button.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/oci.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/149972","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oci.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/oci.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/oci.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=149972"}],"author":[{"embeddable":true,"href":"https:\/\/oci.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/katsushi-kawamori"}],"wp:attachment":[{"href":"https:\/\/oci.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=149972"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/oci.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=149972"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/oci.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=149972"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/oci.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=149972"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/oci.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=149972"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/oci.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=149972"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}