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

Countdown to Next Post

描述

This plugin will display a countdown timer that counts down towards your next scheduled post.

The countdown to your next post can be added as a widget, manually to your sidebar, or into any post or page.

This plugin is perfect for people who write posts in advance and schedule them to be posted at a later time. This plugin will automatically search the wordpress database for the next scheduled post and display a countdown so your readers know exactly when it will be posted.

屏幕截图

  • Example on a test blog

安装

Download and move “Countdown to Next Post” into your WordPress plugins directory.

Activate this plugin on your admin panel.

Widget

You can activate this plugin as a sidebar widget.

Manually Insert into Sidebar

Instead of using the widget, you can also manually add the following code into your sidebar.php file:

<li>
<h2>Next Post</h2>
<ul>
<li>
<?php function_exists('scott_timer')?scott_timer():NULL; ?>
</li>
</ul>
</li><li id='countdown'><h2>Countdown:</h2>
<ul>

Insert into a page or post

If you want to insert the “Countdown to Next Post” into a page or post, you can add the following shortcode into the HTML editor for a post or page.

[countdown_to_next_post]

常见问题

I am not getting a countdown. All I see is “No scheduled Posts”.

For this plugin to create a countdown timer there needs to be atleast one post scheduled to be posted at a future time. If you do not have any posts scheduled then you will not see a countdown because there is nothing to countdown to. I would suggest scheduling a test post so you can play around with the plugin and get the formatting how you want it.

How do I schedule a post to be posted at a later time?

When you have completed writing a post, you have the option of posting it right away or scheduling it to post at a later time. You can do this by clicking on the “edit” link beside “Publish immediately” which is just above the save and publish buttons.

评价

此插件暂无评价。

贡献者及开发者

“Countdown to Next Post” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Countdown to Next Post”翻译成您的语言。

对开发感兴趣吗?

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