跳至内容
WordPress.org

China 简体中文

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

Plugin Directory

Zodan Like Button

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

Zodan Like Button

作者:martenmoolenaar
下载
  • 详情
  • 评价
  • 安装
  • 开发进展
支持

描述

Display a very simple and customisable like button for your posts or any custom post type.

安装

Install the plugin from within WordPress

  1. Visit the plugins page within your dashboard and select ‘Add New’;
  2. Search for ‘Zodan Like Button’;
  3. Activate the plugin from your Plugins page;
  4. Go to ‘after activation’ below.

Install manually

  1. Unzip the Z Like Button zip file
  2. Upload the unzipped folder to the /wp-content/plugins/ directory;
  3. Activate the plugin through the ‘Plugins’ menu in WordPress;
  4. Go to ‘after activation’ below.

After activation

  1. On the Plugins page in WordPress you will see a ‘settings’ link below the plugin name;
  2. On the settings page, tick the boxes for location (where on the page you want the button to appear) and post types (on what type of posts/pages);
  3. If you want you can
    • hide the counter box
    • change the icon
    • change the color of the icon
  4. If you want, you can give users a list of all the posts and pages they liked by
    a. Selecting a page to automatically have the list add to that page or
    b. Select ‘None’ and add the [zlikebutton_likes_list] shortcode on the page of your liking. If a user is logged in, the list of liked posts and pages will appear.
  5. Save your settings and you’re done!

常见问题

Can I add additional styling?

Yes you can. By adding custom styles in the WordPress customizer under /Appearance/Customize. The parent element of the button has the .zLikeButton class, the label containing the icon is styled using the zLikeLabel class.

Do you have plans to improve the plugin

Yes. We currently have on our roadmap:
* Adding translations
* Adding more features for both the button and the ‘My liks list’ (ordering in time, grouping by post type)
* Adding option for minifying the assets

评价

此插件暂无评价。

贡献者及开发者

「Zodan Like Button」是开源软件。 以下人员对此插件做出了贡献。

贡献者
  • martenmoolenaar
  • Zodan

「Zodan Like Button」插件已被翻译至 1 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「Zodan Like Button」翻译成简体中文。

对开发感兴趣吗?

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

更新日志

0.0.7

  • Name changes

0.0.6

  • Added option to include/exclude not-logged-in users
  • Added option to remove likes directly from My Likes List
  • Refactoring

0.0.5

  • Added security improvements
  • Changed the wp_json_encoded output
  • Changed some function names to satisfy the plugin check

0.0.4

  • Added color selection for the icons

0.0.3

  • Added shortcode for a “My liked posts” overview

0.0.2

  • Optimized validation, added icon selection

0.0.1

  • Pre-release

额外信息

  • 版本 0.0.7
  • 最后更新:2 周前
  • 活跃安装数量 不到10
  • WordPress 版本 5.5 或更高版本
  • 已测试的最高版本为 7.0
  • 语言

    Dutch 和 English (US).

    翻译成简体中文

  • 标签
    buttonlikelike button
  • 高级视图

评级

尚未提交反馈。

Your review

查看全部评论

贡献者

  • martenmoolenaar
  • Zodan

支持

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

查看支持论坛

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