Linux 软件免费装
Banner图

HTML Social Share Buttons

开发者 alimuzzamanalim
更新时间 2026年8月29日 00:07
PHP版本: 7.0 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

social media gutenberg block social sharing share icons social share buttons

下载

2.0.4 3.1.0 1.0.4 1.0.5 1.0.6 2.0.0 2.0.1 2.0.2 2.0.7 2.1.1 2.1.2 2.1.3 2.1.5.1 2.1.7 2.1.8.1 2.1.9 2.2.2 2.2.3 1.0.1 1.0.2 1.0.3 1.0.7 1.0.8 2.0.3 2.0.3.1 2.0.5 2.0.6 2.0.6.1 2.0.6.2 2.0.6.3 2.1 2.1.10 2.1.10.1 2.1.11 2.1.12 2.1.13 2.1.14 2.1.15 2.1.16 2.1.4 2.1.5 2.1.6 2.1.8 2.2.0 2.2.1 2.2.4 2.2.6 3.0.0

详情介绍:

HTML Social Share Buttons adds server-rendered HTML and CSS share buttons and profile links to posts, pages, sidebars, and builder layouts. By default, the plugin adds no frontend JavaScript. Bundled icons load from your own site, and optional Google Social Analytics stays off unless you enable it. Use the Social Share or Social Links block, automatic placement, the classic widget, Elementor, WPBakery, a shortcode, or PHP. Choose from six bundled icon sets and square or circle buttons. Why this plugin: Other features: Shortcode examples: [zm_sh_btn iconset="long-shadows" iconset_type="square" icons="facebook,x,linkedin,pinterest,mail" class="in_widget"] [html-social-share-buttons iconset="tabler-outline" iconset_type="circle" profile_links_mode="inherit"] The historical [zm_sh_btn] tag remains supported. Use class="in_widget" for a horizontal row.

安装:

  1. Install the plugin from the WordPress plugin directory, or upload the release ZIP.
  2. Activate HTML Social Share Buttons.
  3. Open Settings > HTML Social Share.
  4. Choose networks, icon set, button appearance, button shape, automatic placements, and viewer audiences.
  5. Optionally configure profile/contact links, share URL templates, exclusions, or analytics.
  6. Add a block, widget, builder element, shortcode, or generated PHP snippet where needed.

屏幕截图:

  • Appearance, placement, audience, and analytics controls in Settings.
  • Social Share and Social Links blocks in the block editor.
  • Separate profile-link destinations and viewer-audience controls.

常见问题:

Does the plugin track visitors?

No tracking is enabled by default. Optional Google Social Analytics support can be enabled in Advanced settings.

What is the difference between a share button and a profile link?

A share button opens a network composer for the current page. A profile link opens your configured social profile or email destination. Profile clicks are not sent through the optional share-analytics handler.

Does it work with the block editor?

Yes. Use the dynamic HTML Social Share block for share actions and the dynamic HTML Social Links block for profile/contact destinations. The share block resolves the current post URL on the server.

Can I use it without the block editor?

Yes. Automatic placement, widgets, Elementor, WPBakery, shortcodes, and a PHP code generator are supported. Both [html-social-share-buttons] and the historical [zm_sh_btn] shortcode tags are available.

Can I control who sees the buttons?

Yes. Audience settings independently control the content author viewing their own post, other logged-in users, and logged-out visitors. All three are enabled by default for existing and new installations, and the settings apply to automatic placement, blocks, widgets, builders, shortcodes, and PHP output.

Which button shapes are available?

The Default set supports square buttons. Flat, Long Shadow, Prajin, Bootstrap Solid, and Tabler Outline support square and circle buttons.

Which button appearances are available?

Legacy keeps the selected icon set's existing dimensions, spacing, and hover behavior. Minimal uses consistent targets and spacing, Framed adds a subtle shape-aware outline, and Soft shadow adds a quiet raised surface. Legacy is the default so existing sites keep their current presentation.

Which icon set does a new installation use?

Bootstrap Solid. The historical Default pack is hidden from normal selectors on a fresh installation. Existing settings and content that already select Default keep that selection and continue using the retained local assets.

Are icons loaded from a third-party CDN?

No. Bundled icon assets are served from your WordPress site.

Is the WPBakery integration tested in the paid editor?

The integration follows WPBakery's documented vc_map()/shortcode model and is covered by mapping, persistence, compiled-bundle, and public-render contracts. The current release-candidate evidence does not claim a live run in the paid WPBakery editor.

更新日志:

3.1.0