AI助手支持GPT4.0
bbPress Go To First Unread Post is a literally named plugin that allows registered users to jump to the first Reply in a Topic that they haven’t viewed yet.
bbPress转到第一个未读帖子是一个字面意义上的插件,它使注册用户可以跳转到他们尚未查看的主题中的第一个回复。
This gives your bbPress forum the simple and expected functionality of non-WordPress counterparts like phpBB, without a lot of coding.
这为您的bbPress论坛提供了非WordPress对等对象(如phpBB)的简单且预期的功能,而无需进行大量编码。 p>
First, you activate the plugin on a blog that already has the bbPress plugin enabled.
首先,您在已经启用bbPress插件的博客上激活该插件。
This is all you need to do to activate the basic functionality of the plugin, which includes:
这是激活插件的基本功能所需要做的一切,其中包括: p>
ul>
The plugin also includes two template tags for extra functionality:
该插件还包括两个模板标签以提供额外功能: p>
Tested for WordPress 3.6+.
经过WordPress 3.6及更高版本的测试。 p>
If you have suggestions or requests for a new feature or bugfix, feel free to email me at matt.roly@gmail.com or contact me on 如果您对新功能或错误修正有任何建议或要求,请随时通过matt.roly@gmail.com向我发送电子邮件,或者通过"nofollow">Twitter“ nofollow”> Twitter p>
如果您对新功能或错误修正有任何建议或要求,请随时通过matt.roly@gmail.com向我发送电子邮件,或者通过"nofollow">Twitter
"nofollow">Twitter
“ nofollow”> Twitter
ol>
Users can use this link to mark every topic in a single forum as read.
用户可以使用此链接将单个论坛中的每个主题标记为已读。
To include it, you simply need to add the following code somewhere in your single-forum layout:
要包含它,您只需要在单论坛布局的某处添加以下代码: p>
<?php gtf_mark_forum_read_link()?> code> pre>The recommended location to include it is in content-single-forum.php, next to the Subscribe link.推荐的包含位置的位置是 content-single-forum.php code>中的“订阅”链接旁边。 p>This operation may take some time, so an AJAX indicator is included along with the link.此操作可能需要一些时间,因此链接中包含AJAX指示器。If the default AJAX indicator doesn’t suit your theme, you are encouraged to replace it with your own.如果默认的AJAX指标不适合您的主题,建议您将其替换为您自己的主题。The plugin will look in the following places for an indicator, in this order, before falling back on the default:插件将在以下位置按以下顺序查找指示器: p>CHILD_THEME_DIRECTORY/images/ajax-loader.gif CHILD_THEME_DIRECTORY / images / ajax-loader.gif code> li>CHILD_THEME_DIRECTORY/images/ajax-loader.png CHILD_THEME_DIRECTORY / images / ajax-loader.png code> li>PARENT_THEME_DIRECTORY/images/ajax-loader.gif PARENT_THEME_DIRECTORY / images / ajax-loader.gif code> li>PARENT_THEME_DIRECTORY/images/ajax-loader.png PARENT_THEME_DIRECTORY / images / ajax-loader.png code> li> ol>Mark Thread Read标记线程已读 h4>User can use this link to mark a topic as read up to the current last post, from any page.用户可以使用此链接将任何页面上的主题标记为当前最新的帖子。To include it, you simply need to add the following code somewhere in your single-topic layout (eg. in loop-replies.php):要包含它,您只需要在单主题布局的某处添加以下代码(例如,在 loop-replies.php code>中): p> <?php gtf_mark_topic_read_link()?> code> pre>The recommended location to include it is in loop-replies.php, after the User Favorites link.建议的位置包括在“用户收藏夹”链接后的 loop-replies.php code>中。By default it displays with a pipe character at the end, to match the separation between the User Favorites and Subscribe link.默认情况下,它显示的末尾带有竖线字符,以匹配“用户收藏夹”和“订阅”链接之间的分隔。 p>
<?php gtf_mark_forum_read_link()?>
code> pre>
The recommended location to include it is in content-single-forum.php, next to the Subscribe link.
content-single-forum.php
推荐的包含位置的位置是 content-single-forum.php code>中的“订阅”链接旁边。 p>This operation may take some time, so an AJAX indicator is included along with the link.此操作可能需要一些时间,因此链接中包含AJAX指示器。If the default AJAX indicator doesn’t suit your theme, you are encouraged to replace it with your own.如果默认的AJAX指标不适合您的主题,建议您将其替换为您自己的主题。The plugin will look in the following places for an indicator, in this order, before falling back on the default:插件将在以下位置按以下顺序查找指示器: p>CHILD_THEME_DIRECTORY/images/ajax-loader.gif CHILD_THEME_DIRECTORY / images / ajax-loader.gif code> li>CHILD_THEME_DIRECTORY/images/ajax-loader.png CHILD_THEME_DIRECTORY / images / ajax-loader.png code> li>PARENT_THEME_DIRECTORY/images/ajax-loader.gif PARENT_THEME_DIRECTORY / images / ajax-loader.gif code> li>PARENT_THEME_DIRECTORY/images/ajax-loader.png PARENT_THEME_DIRECTORY / images / ajax-loader.png code> li> ol>Mark Thread Read标记线程已读 h4>User can use this link to mark a topic as read up to the current last post, from any page.用户可以使用此链接将任何页面上的主题标记为当前最新的帖子。To include it, you simply need to add the following code somewhere in your single-topic layout (eg. in loop-replies.php):要包含它,您只需要在单主题布局的某处添加以下代码(例如,在 loop-replies.php code>中): p> <?php gtf_mark_topic_read_link()?> code> pre>The recommended location to include it is in loop-replies.php, after the User Favorites link.建议的位置包括在“用户收藏夹”链接后的 loop-replies.php code>中。By default it displays with a pipe character at the end, to match the separation between the User Favorites and Subscribe link.默认情况下,它显示的末尾带有竖线字符,以匹配“用户收藏夹”和“订阅”链接之间的分隔。 p>
content-single-forum.php code>中的“订阅”链接旁边。 p>This operation may take some time, so an AJAX indicator is included along with the link.此操作可能需要一些时间,因此链接中包含AJAX指示器。If the default AJAX indicator doesn’t suit your theme, you are encouraged to replace it with your own.如果默认的AJAX指标不适合您的主题,建议您将其替换为您自己的主题。The plugin will look in the following places for an indicator, in this order, before falling back on the default:插件将在以下位置按以下顺序查找指示器: p>CHILD_THEME_DIRECTORY/images/ajax-loader.gif CHILD_THEME_DIRECTORY / images / ajax-loader.gif code> li>CHILD_THEME_DIRECTORY/images/ajax-loader.png CHILD_THEME_DIRECTORY / images / ajax-loader.png code> li>PARENT_THEME_DIRECTORY/images/ajax-loader.gif PARENT_THEME_DIRECTORY / images / ajax-loader.gif code> li>PARENT_THEME_DIRECTORY/images/ajax-loader.png PARENT_THEME_DIRECTORY / images / ajax-loader.png code> li> ol>Mark Thread Read标记线程已读 h4>User can use this link to mark a topic as read up to the current last post, from any page.用户可以使用此链接将任何页面上的主题标记为当前最新的帖子。To include it, you simply need to add the following code somewhere in your single-topic layout (eg. in loop-replies.php):要包含它,您只需要在单主题布局的某处添加以下代码(例如,在 loop-replies.php code>中): p> <?php gtf_mark_topic_read_link()?> code> pre>The recommended location to include it is in loop-replies.php, after the User Favorites link.建议的位置包括在“用户收藏夹”链接后的 loop-replies.php code>中。By default it displays with a pipe character at the end, to match the separation between the User Favorites and Subscribe link.默认情况下,它显示的末尾带有竖线字符,以匹配“用户收藏夹”和“订阅”链接之间的分隔。 p>
This operation may take some time, so an AJAX indicator is included along with the link.
此操作可能需要一些时间,因此链接中包含AJAX指示器。
If the default AJAX indicator doesn’t suit your theme, you are encouraged to replace it with your own.
如果默认的AJAX指标不适合您的主题,建议您将其替换为您自己的主题。
The plugin will look in the following places for an indicator, in this order, before falling back on the default:
插件将在以下位置按以下顺序查找指示器: p>
CHILD_THEME_DIRECTORY/images/ajax-loader.gif
CHILD_THEME_DIRECTORY / images / ajax-loader.gif code> li>CHILD_THEME_DIRECTORY/images/ajax-loader.png CHILD_THEME_DIRECTORY / images / ajax-loader.png code> li>PARENT_THEME_DIRECTORY/images/ajax-loader.gif PARENT_THEME_DIRECTORY / images / ajax-loader.gif code> li>PARENT_THEME_DIRECTORY/images/ajax-loader.png PARENT_THEME_DIRECTORY / images / ajax-loader.png code> li>
CHILD_THEME_DIRECTORY/images/ajax-loader.png
CHILD_THEME_DIRECTORY / images / ajax-loader.png code> li>PARENT_THEME_DIRECTORY/images/ajax-loader.gif PARENT_THEME_DIRECTORY / images / ajax-loader.gif code> li>PARENT_THEME_DIRECTORY/images/ajax-loader.png PARENT_THEME_DIRECTORY / images / ajax-loader.png code> li>
PARENT_THEME_DIRECTORY/images/ajax-loader.gif
PARENT_THEME_DIRECTORY / images / ajax-loader.gif code> li>PARENT_THEME_DIRECTORY/images/ajax-loader.png PARENT_THEME_DIRECTORY / images / ajax-loader.png code> li>
PARENT_THEME_DIRECTORY/images/ajax-loader.png
PARENT_THEME_DIRECTORY / images / ajax-loader.png code> li>
User can use this link to mark a topic as read up to the current last post, from any page.
用户可以使用此链接将任何页面上的主题标记为当前最新的帖子。
To include it, you simply need to add the following code somewhere in your single-topic layout (eg. in loop-replies.php):
loop-replies.php
要包含它,您只需要在单主题布局的某处添加以下代码(例如,在 loop-replies.php code>中): p> <?php gtf_mark_topic_read_link()?> code> pre>The recommended location to include it is in loop-replies.php, after the User Favorites link.建议的位置包括在“用户收藏夹”链接后的 loop-replies.php code>中。By default it displays with a pipe character at the end, to match the separation between the User Favorites and Subscribe link.默认情况下,它显示的末尾带有竖线字符,以匹配“用户收藏夹”和“订阅”链接之间的分隔。 p>
loop-replies.php code>中): p> <?php gtf_mark_topic_read_link()?> code> pre>The recommended location to include it is in loop-replies.php, after the User Favorites link.建议的位置包括在“用户收藏夹”链接后的 loop-replies.php code>中。By default it displays with a pipe character at the end, to match the separation between the User Favorites and Subscribe link.默认情况下,它显示的末尾带有竖线字符,以匹配“用户收藏夹”和“订阅”链接之间的分隔。 p>
<?php gtf_mark_topic_read_link()?> code> pre>The recommended location to include it is in loop-replies.php, after the User Favorites link.建议的位置包括在“用户收藏夹”链接后的 loop-replies.php code>中。By default it displays with a pipe character at the end, to match the separation between the User Favorites and Subscribe link.默认情况下,它显示的末尾带有竖线字符,以匹配“用户收藏夹”和“订阅”链接之间的分隔。 p>
<?php gtf_mark_topic_read_link()?>
The recommended location to include it is in loop-replies.php, after the User Favorites link.
建议的位置包括在“用户收藏夹”链接后的 loop-replies.php code>中。By default it displays with a pipe character at the end, to match the separation between the User Favorites and Subscribe link.默认情况下,它显示的末尾带有竖线字符,以匹配“用户收藏夹”和“订阅”链接之间的分隔。 p>
loop-replies.php code>中。By default it displays with a pipe character at the end, to match the separation between the User Favorites and Subscribe link.默认情况下,它显示的末尾带有竖线字符,以匹配“用户收藏夹”和“订阅”链接之间的分隔。 p>
By default it displays with a pipe character at the end, to match the separation between the User Favorites and Subscribe link.
默认情况下,它显示的末尾带有竖线字符,以匹配“用户收藏夹”和“订阅”链接之间的分隔。 p>
原文出处:http://www.sanshu.cn/a/4118.html
群主管理都是支付大佬