跳至内容
WordPress.org

China 简体中文

  • 主题
  • 插件
  • 新闻
    • 文档
    • 论坛
  • 关于
  • 获取 WordPress
获取 WordPress
WordPress.org

Plugin Directory

DP Easy Social Share

  • 提交插件
  • 我的收藏
  • 登录
  • 提交插件
  • 我的收藏
  • 登录

DP Easy Social Share

作者:divyangprajapati
下载
实时预览
  • 详情
  • 评价
  • 安装
  • 开发进展
支持

描述

DP Easy Social Share is a simple and lightweight social sharing plugin for WordPress. With an easy-to-use interface and customizable options, you can add social sharing buttons to your posts, pages and custom post types effortlessly. Enhance your content’s reach by enabling your visitors to share your posts on their favorite social networks.

Features

  • Easy-to-Use Interface: Configure your social sharing settings through an intuitive admin settings page.
  • Customizable Icons: Choose from a selection of icons via checkboxes including Facebook, X, LinkedIn, WhatsApp, Reddit, Pinterest, and Email.
  • Flexible Display: Set the social icons to appear above or below your content.
  • Multi-Post Type Support: Specify which post types display the social share icons.
  • Lightweight & Fast: Designed to add social sharing functionality without slowing down your site.
  • Responsive Design: Social icons adjust seamlessly for mobile and desktop viewing.

External Services

This plugin uses Font Awesome to provide social media icons for sharing posts and pages. Font Awesome is a third-party icon library that is included to enhance the visual presentation of social icons.

** Font Awesome **

  • What the service is and what it is used for:
    The plugin uses Font Awesome to display SVG icons for various social media platforms such as Facebook, X (formerly Twitter), LinkedIn, WhatsApp, Reddit, Pinterest, Email and more.

  • What data is sent and when:
    No personal data is sent from the user’s website to Font Awesome. The icons are embedded locally in the plugin, and no external calls to Font Awesome servers are made.

  • Terms of Use and Privacy Policy:

    • Font Awesome Terms of Use
    • Font Awesome Privacy Policy

License

DP Easy Social Share is released under the GPLv3 license. This means you are free to use, modify, and distribute the software as long as you comply with the license terms. See https://www.gnu.org/licenses/gpl-3.0.txt for more details.

屏幕截图

Admin Settings Page: The plugin settings interface where you can select social icons, define post types, and choose the display position.
Admin Settings Page: The plugin settings interface where you can select social icons, define post types, and choose the display position.
Frontend Display Example: A post displaying the social share icons in the configured position.
Frontend Display Example: A post displaying the social share icons in the configured position.

安装

  1. Upload the dp-easy-social-share folder to your /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Navigate to the “DP Easy Social Share” menu to manage the plugin settings

常见问题

How do I enable social sharing icons?

After installing and activating the plugin, go to the plugin settings page in your WordPress admin area. From there, you can choose which icons to display on your site.

Does this plugin support custom post types?

Yes. You can specify the post types in the settings page where you want the icons to appear.

Can I customize the icons or URLs?

Yes. The plugin now supports filters:
– dpessr_social_share_url_{$platform}: Customize the share URL per social platform.
– dpessr_social_share_icons: Modify the entire array of icon data (label, icon, url, etc).

Examples:

Change WhatsApp share URL:

<?php
add_filter('dpessr_social_share_url_whatsapp', function($url, $post_url, $post_title) {
    return 'https://wa.me/?text=' . urlencode($post_title . ' ' . $post_url);
}, 10, 3);
?>

Modify icon data (e.g., add a custom platform):

<?php
add_filter('dpessr_social_share_icons', function($icons) {
    $icons['custom'] = [
        'name' => 'Custom',
        'icon' => '<svg>...</svg>',
        'url'  => 'https://custom.com/share?u={url}',
    ];
    return $icons;
});
?>

评价

Simple and Best Plugin

alpeshinfo 2025 年 3 月 26 日
I have used this plugin , it easy to use. Without any extra bloatware feature, No ADD , NO subscription
阅读所有1条评价

贡献者及开发者

「DP Easy Social Share」是开源软件。 以下人员对此插件做出了贡献。

贡献者
  • divyangprajapati

帮助将「DP Easy Social Share」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志。

更新日志

1.1.3

  • Updated compatibility to WordPress 7.0

1.1.2

  • Improved share URL encoding with rawurlencode for better standards compliance.
  • Escaped raw URL and title values before filtering for enhanced safety.
  • Tested compatibility with WordPress 6.9.

1.1.1

  • Improved SVG icon handling and sanitization for security.
  • Enhanced accessibility and responsiveness of icons.
  • Minor code and style improvements.

1.1.0

  • Added filter hooks for customizing share URLs and icon data.

1.0.1

  • Updated compatibility to WordPress 6.8

1.0.0

  • Initial release of DP Easy Social Share.
  • Basic social sharing functionality.

额外信息

  • 版本 1.1.3
  • 最后更新:2 周前
  • 活跃安装数量 30+
  • WordPress 版本 5.0 或更高版本
  • 已测试的最高版本为 7.0
  • PHP 版本 7.0 或更高版本
  • 语言
    English (US)
  • 标签
    sharingsocialsocial iconssocial mediasocial share
  • 高级视图

评级

5 星(最高 5 星)。
  • 1 条 5 星评价 5 星 1
  • 0 条 4 星评价 4 星 0
  • 0 条 3 星评价 3 星 0
  • 0 条 2 星评价 2 星 0
  • 0 条 1 星评价 1 星 0

Your review

查看全部评论

贡献者

  • divyangprajapati

支持

有话要说吗?是否需要帮助?

查看支持论坛

捐助

您愿意支持这个插件的发展吗?

捐助此插件

  • 关于
  • 新闻
  • 主机
  • 隐私
  • 陈列窗
  • 主题
  • 插件
  • 区块样板
  • 学习
  • 支持
  • 开发者
  • WordPress.tv ↗︎
  • 参与
  • 活动
  • 捐赠 ↗
  • 未来五分计划
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

China 简体中文

  • 关注我们的 X(原 Twitter)账号
  • 访问我们的 Bluesky 账号
  • 关注我们的 Mastodon 账号
  • 访问我们的 Threads 账号
  • 访问我们的 Facebook 公共主页
  • 关注我们的 Instagram 账号
  • 关注我们的 LinkedIn 主页
  • 访问我们的 TikTok 账号
  • 访问我们的 YouTube 频道
  • 访问我们的 Tumblr 账号
代码如诗
The WordPress® trademark is the intellectual property of the WordPress Foundation.