wordpress添加媒体_如何在WordPress中添加积分系统来激发用户参与度

wordpress添加媒体

Do you want to boost user engagement on your site? Want to add gamification in WordPress? Gamification is an effective way to increase user participation and engagement. In this article, we will show you how can add points system in WordPress to Ignite user engagement.

您想提高您网站上的用户参与度吗? 是否想在WordPress中添加游戏化? 游戏化是增加用户参与度和参与度的有效方法。 在本文中,我们将向您展示如何在WordPress中添加积分系统来点燃用户参与度。

How To Add Points System in WordPress to Ignite User Engagement

First thing you need to do is install and activate the WordPoints plugin. Upon activation, visit the WordPoints » Point Hooks page to create your points type.

您需要做的第一件事是安装并激活WordPoints插件 。 激活后,访问WordPoints»点挂钩页面以创建您的点类型。

Add a new points type

Start by entering a name for your points type and click on the save button. After creating your points type, you can drag and drop hooks from left to the points type.

首先输入点类型的名称,然后单击保存按钮。 创建点类型后,可以将挂钩从左侧拖放到点类型。

Adding hooks or activities to points type

Hooks are activities that your users can perform to earn points. Currently you can give users points for visiting your site, leaving a comments, writing a post, registering on your site, and receiving comments on their posts.

挂钩是用户可以执行以赚取积分的活动。 当前,您可以为用户提供访问您的网站,发表评论,撰写帖子,在您的网站上注册以及接收有关他们的帖子的评论的积分。

Add a hook for activity you want to reward and then configure its settings. You can also select the post types and choose how many points to reward.

为您要奖励的活动添加一个挂钩,然后配置其设置。 您还可以选择帖子类型并选择要奖励的积分。

Don’t forget to click on the save button to store your settings.

不要忘记单击保存按钮来存储您的设置。

Setting up a hook or activity for reward points

Now repeat the process for each activity you want to reward. For registration hook, you will need to allow user registration on your site.

现在,为您要奖励的每个活动重复该过程。 对于注册挂钩,您将需要允许用户在您的站点上注册

If you want to reward users for submitting posts, then please take a look at our guide on how to allow users to submit posts to your WordPress site.

如果您想奖励提交帖子的用户,请查看我们的指南,了解如何允许用户向您的WordPress网站提交帖子

That’s all, WordPoints will now start tracking user rewards points on your site. You can see the points log by visiting WordPoints » Points log page in the admin area.

就是这样,WordPoints现在将开始跟踪您网站上的用户奖励积分。 您可以通过访问管理区域中的WordPoints»点日志页面来查看点日志。

在WordPress网站上显示用户点 (Showing User Points on Your WordPress Site)

WordPoints makes it quite simple to show user points on your website. Simply go to Appearance » Widgets page, and you will notice three new widgets in the list of available widgets.

WordPoints使在网站上显示用户点变得非常简单。 只需转到外观»小部件页面,您将在可用小部件列表中注意到三个新的小部件。

1. Points Log

1.点数记录

This widget will show latest points activity on your website. It will show the latest activities performed by users that earned them points.

此小部件将显示您网站上的最新积分活动。 它将显示获得积分的用户执行的最新活动。

Points log widget settings

Simply enter a title for the widget and then select a points type. You need to enter the number of entries you want to display from the log and then click on the save button to store your settings.

只需为小部件输入标题,然后选择点类型。 您需要输入要从日志中显示的条目数,然后单击保存按钮以存储您的设置。

This is how the widget will appear on your website.

该小部件将以这种方式显示在您的网站上。

Preview of Points log widget

2. WordPoints

2. WordPoints

This widget displays total points a user has earned. Users need to be logged in to see their points.

此小部件显示用户获得的总积分。 用户需要登录才能查看其要点。

User points widget

Enter the widget title and change the form fields if needed. You can adjust the number of latest log entries for the user to display. Once done, click on the save button to store your settings.

输入窗口小部件标题,并根据需要更改表单字段。 您可以调整要显示给用户的最新日志条目的数量。 完成后,单击“保存”按钮以存储您的设置。

This is how the widget will appear on your site.

这是小部件将在您的网站上显示的方式。

User points widget displayed on front-end

3. WordPoints Top Users

3. WordPoints最高用户

This widget showcases your top users based on the points they earned.

此小部件可根据您获得的积分向您的顶级用户展示。

Top users widget settings

Simply provide a widget title and choose the points type. Enter the number of users you want to list and click on the save button to store settings.

只需提供小部件标题并选择点类型即可。 输入要列出的用户数,然后单击保存按钮以存储设置。

This is how the top users widget will look on your site.

这是顶级用户窗口小部件在您网站上的外观。

Top users
在WordPress帖子或页面中显示点 (Showing Points in WordPress Posts or Pages)

WordPoints also comes with handy shortcodes to display points on your website.

WordPoints还附带方便的短代码,以在您的网站上显示点。

You can display your top users by simply adding this shortcode:

您只需添加以下简短代码即可显示您的主要用户:

[wordpoints_points_top]

[wordpoints_points_top]

Just like widgets, you can also show points log on the front-end by adding the shortcode:

就像小部件一样,您还可以通过添加简码在前端显示点日志:

[wordpoints_points_logs]

[wordpoints_points_logs]

You can also show users how they can earn the points by quickly listing actions that earn them points. Simply add this shortcode to display action hooks.

您还可以通过快速列出赚取积分的操作,向用户展示他们如何获得积分。 只需添加此短代码即可显示动作挂钩。

[wordpoints_how_to_get_points]

[wordpoints_how_to_get_points]

That’s all, we hope this article helped you add a points system in WordPress to ignite user engagement. You may also want to check out our list of 40 useful tools to manage and grow your WordPress blog.

仅此而已,我们希望本文能帮助您在WordPress中添加积分系统以激发用户参与度。 您可能还需要查看我们的40种有用工具列表, 以管理和发展WordPress博客

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

如果您喜欢这篇文章,请订阅我们的YouTube频道 WordPress视频教程。 您也可以在TwitterFacebook上找到我们。

翻译自: https://www.wpbeginner.com/plugins/add-points-system-ignite-user-engagement/

wordpress添加媒体

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值