Title: Default Post Date and Time
Author: Greg Ross
Published: <strong>2014 年 10 月 3 日</strong>
Last modified: 2023 年 12 月 3 日

---

搜索插件

![](https://ps.w.org/default-post-datetime/assets/banner-772x250.png?rev=1001022)

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

![](https://ps.w.org/default-post-datetime/assets/icon-256x256.png?rev=1001021)

# Default Post Date and Time

 作者：[Greg Ross](https://profiles.wordpress.org/gregross/)

[下载](https://downloads.wordpress.org/plugin/default-post-datetime.1.3.1.zip)

 * [详情](https://cn.wordpress.org/plugins/default-post-datetime/#description)
 * [评价](https://cn.wordpress.org/plugins/default-post-datetime/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/default-post-datetime/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/default-post-datetime/#developers)

 [支持](https://wordpress.org/support/plugin/default-post-datetime/)

## 描述

When you create a new post in WordPress, the publish date is set to ‘immediately’,
this plugin allows you more control over this behaviour and set a date or time of
your choosing.

For example, you can choose to have new posts scheduled for:

 * first Tuesday of next month at 5:30pm
 * next Monday at 09:00
 * Friday at 19:30

Any format that PHP’s (strtotime)[http://php.net/manual/en/datetime.formats.php]
function can understand can be used.

Settings are on a per user basis, just go to your profile page!

This code is released under the GPL v2, see license.txt for details.

## 屏幕截图

[⌊A screenshot of the admin settings page.⌉⌊A screenshot of the admin settings page
.⌉[

A screenshot of the admin settings page.

[⌊A screenshot of the user settings page.⌉⌊A screenshot of the user settings page
.⌉[

A screenshot of the user settings page.

## 安装

 1. Extract the archive file into your plugins directory in the default-post-datetime
    folder.
 2. Activate the plugin in the Plugin options.
 3. Customize the settings from the the Your Profile page, if desired.

## 常见问题

### I’m formatting a date/time that seems to be valid and works but when I hit the validate button it says its wrong?

The validate button uses JavaScript to do it’s work and JavaScript does not have
a strtotime() function and so not all cases may be supported. If the configuration
you have set is working as you expect you can safely ignore the validation errors.

### Can I use non-English words in the date/time fields?

No, strtotime() does not support internationalization and therefore neither does
this plugin.

## 评价

![](https://secure.gravatar.com/avatar/c1adb360e9ad9eb79f0888bd981630f8461d8169fa3593171dfb38f399ad7a7f?
s=60&d=retro&r=g)

### 󠀁[simple and time saving](https://wordpress.org/support/topic/simple-and-time-saving-2/)󠁿

 [iamrichardjames](https://profiles.wordpress.org/iamrichardjames/) 2016 年 9 月
3 日

Great little plugin – when I had to publish lots of back-dated posts, this saved
me from the mind-numbing job of changing the publish date every time. Couldn’t be
easier to use.

 [ 阅读所有1条评价 ](https://wordpress.org/support/plugin/default-post-datetime/reviews/)

## 贡献者及开发者

「Default Post Date and Time」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Greg Ross ](https://profiles.wordpress.org/gregross/)

[帮助将「Default Post Date and Time」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/default-post-datetime)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/default-post-datetime/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/default-post-datetime/)，或通过[RSS](https://plugins.trac.wordpress.org/log/default-post-datetime/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/default-post-datetime/)。

## 更新日志

#### 1.3.1

 * Release date: October 5, 2015
 * Added load_plugin_textdomain() call

#### 1.3

 * Release date: October 2, 2015
 * Added translation. domain.
 * Fixed WP_Debug warning on profile screen.

#### 1.2

 * Release date: May 15, 2015
 * Fixed WP_Debug warning on profile screen.
 * Fixed user id bug on profile screen.
 * Fixed user profile only displays if the user has edit privileges.

#### 1.1

 * Release date: October 3, 2014
 * Fixed PHP warning when no post types had been excluded on new post creation.

#### 1.0

 * Release date: October 3, 2014
 * Added some colour to the validation icons.
 * Added support for using the latest scheduled post to calculate the date from.
 * Added rate/review and page links to the plugin list.
 * Added exclusion for post types.
 * Fixed button styling on the profile page.

#### 0.1

 * Release date: October 2, 2014
 * Initial release.

## 额外信息

 *  版本 **1.3.1**
 *  最后更新：**3 年前**
 *  活跃安装数量 **70+**
 *  WordPress 版本 ** 3.8 或更高版本 **
 *  已测试的最高版本为 **6.4.8**
 *  语言
 * [English (US)](https://wordpress.org/plugins/default-post-datetime/)
 * 标签
 * [admin](https://cn.wordpress.org/plugins/tags/admin/)
 *  [高级视图](https://cn.wordpress.org/plugins/default-post-datetime/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/default-post-datetime/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/default-post-datetime/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/default-post-datetime/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/default-post-datetime/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/default-post-datetime/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/default-post-datetime/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/default-post-datetime/reviews/)

## 贡献者

 *   [ Greg Ross ](https://profiles.wordpress.org/gregross/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/default-post-datetime/)