| 开发者 |
jumedeenkhan
mozedia |
|---|---|
| 更新时间 | 2026年11月13日 03:56 |
| 捐献地址: | 去捐款 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv3 or later |
| 版权网址: | 版权信息 |
[sharetosocial] shortcode for any template or content.utm_source.add_filter( 'stsocial_share_svg_icon', function( $icon, $network ) { // Modify or replace an icon. return $icon; }, 10, 2 );
Customize the share buttons output:
add_filter( 'stsocial_share_buttons_output', function( $output, $args ) { return '<div class="my-share-buttons">' . $output . '</div>'; }, 10, 2 );
/wp-content/plugins/.[sharetosocial] shortcode.Add the ShareToSocial Share Buttons block, drop the Share – Buttons widget in a sidebar, or use the [sharetosocial] shortcode. You can also let the plugin add them automatically before or after your content.
Yes. Each has its own network list and order.
Yes. In the editor, the ShareToSocial panel sets Inline Share Buttons and Floating Share Bar to Default, On, or Off for that post only.
No. The buttons and icons are fully local. A sharing service is opened only when a visitor clicks a button.
No. ShareToSocial does not track visitors or set cookies.
The buttons are plain links with no tracking scripts, so you are not required to show a consent banner. If your policy still calls for one, the Advanced settings include an optional consent gate that hides the buttons behind a "Show share buttons" prompt until the visitor chooses to reveal them. A cookie-consent plugin can release them directly through the stsocial_consent_granted filter.
No. ShareToSocial skips its own Open Graph and Twitter Card tags when a supported SEO plugin already outputs them.
No. It uses its own markup and styles, so it works with any theme.
Yes. Eight button styles, four sizes, adjustable spacing, brand or custom colors, monochrome, and your own CSS.
Yes. Turn on mobile hiding and set the screen width below which the bar is hidden.
They are kept by default. Enable the data deletion option in Advanced settings to remove them on uninstall.
ShareToSocial.init() for page-builder and AJAX content.target="_blank" only on real web URLs.[sharetosocial] shortcode.