跳至内容
WordPress.org

China 简体中文

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

Plugin Directory

Basic Social Share Buttons

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

该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Basic Social Share Buttons

作者:Michael James
下载
  • 详情
  • 评价
  • 开发进展
支持

描述

Basic Social Share Buttons allows your users to share posts to social networks without loading any javascript.

Configuration

Admin options are in the WordPress admin under Reading.

You can choose between three button sizes:
* Small – Icon only
* Medium – Icon + site name
* Large – Icon + “Share on ” + site name

You can choose to include the css (via wp_enqueue) or you can disable the enqueue and the css rules will be shown in admin for you to insert in your main stylesheet (for one less http request).

Usage

Use the short [basic-share-buttons] in your post content.

or in a php template its <?php echo do_shortcode('[basic-share-buttons]'); ?>

The title and URL are taken from WordPress’s the_title() and the_permalink() functions.

You can override both as parameters to the shortcode.
[basic-share-buttons title=’Your custom page title’ url=’http://customurl.com/page’]

Copyright

This plugin includes code from:
* SortableJS https://github.com/SortableJS/Sortable – MIT License
* Sharing Buttons io https://github.com/mxstbr/sharingbuttons.io – MIT License

屏幕截图

  • Admin settings (Large buttons)
  • Admin settings (Medium buttons)
  • Admin settings (Small buttons)
  • Admin settings (CSS dumped to be included in your main stylesheet)
  • Buttons on page

评价

此插件暂无评价。

贡献者及开发者

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

贡献者
  • Michael James

帮助将「Basic Social Share Buttons」翻译成简体中文。

对开发感兴趣吗?

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

更新日志

1.0.1

  • Shortcode added to admin page

1.0

  • Initial launch

额外信息

  • 版本 1.0.2
  • 最后更新:2 年前
  • 活跃安装数量 10+
  • 已测试的最高版本为 6.3.8
  • PHP 版本 7.0 或更高版本
  • 语言
    English (US)
  • 标签
    share buttonssocial buttonsSocial Share Buttonssocial shares
  • 高级视图

评级

尚未提交反馈。

添加我的评价

查看全部评论

贡献者

  • Michael James

支持

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

查看支持论坛

  • 关于
  • 新闻
  • 主机
  • 隐私
  • 陈列窗
  • 主题
  • 插件
  • 区块样板
  • 学习
  • 支持
  • 开发者
  • 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.