[wordpress插件] Auto Schedule自动排程

wordpress 插件 文章 2020-02-24 18:30 574 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

The purpose of this plugin is for automatically set the scheduled date just with one click.

此插件的目的是只需单击一下即可自动设置计划日期。

This is useful since it not that convenient to set schedule in WordPress.

这很有用,因为在WordPress中设置时间表不太方便。

The plugin can set the date (including the month and the year) & time (hour & minutes) automatically and can be changed from the settings page.

该插件可以自动设置日期(包括月份和年份)和时间(小时和分钟),并且可以从设置页面进行更改。

Please see the screenshots to see how it look like.

请查看屏幕截图以查看其外观。

This plugin works by adding a button in the post editor page, but this button only shows for the drafted post to avoid cluttering the editor page.

此插件通过在帖子编辑器页面中添加按钮来工作,但是此按钮仅针对草稿帖子显示,以避免使编辑器页面混乱。

When the button is clicked, the plugin will find the date that is available (have a less scheduled post than the limit).

单击该按钮时,插件将找到可用的日期(安排的帖子少于限制的日期)。

If there is some date that available, the plugin will assign the nearest available future date.

如果有可用的日期,该插件将分配最近的可用的未来日期。

However, to automatically set the schedule set for you, this plugin will add single javascript only when you are in the editor.

但是,要自动为您设置时间表,此插件仅在您处于编辑器中时才添加单个javascript。

What this javascript do is:

这个javascript的作用是:

    1. Find the date that are available based on data generated in PHP.
    2. 根据PHP中生成的数据查找可用的日期。

    3. Set the schedule in the page.
    4. 在页面中设置时间表。

    This javascript do not have any data communication with the server (since I don’t know how anyway).

    此javascript与服务器之间没有任何数据通信(因为无论如何我都不知道)。

    This javascript only set the schedule from the element in the editor page such as edit button, publish button, etc. This is really simple plugin after all.

    此javascript仅从编辑器页面中的元素(例如“编辑”按钮,“发布”按钮等)设置时间表。毕竟,这确实是一个非常简单的插件。

安装步骤

    1. Upload the plugin files to the /wp-content/plugins/auto-schedule directory, or install the plugin through the WordPress plugins screen directly.
    2. 将插件文件上传到 / wp-content / plugins / auto-schedule 目录,或直接通过WordPress插件屏幕安装插件。

    3. Activate the plugin through the ‘Plugins’ screen in WordPress
    4. 通过WordPress中的“插件”屏幕激活插件

    5. Use the Settings->Auto Schedule screen to configure the plugin (or skip this one if want to use the default)
    6. 使用“设置”->“自动计划”屏幕来配置插件(如果要使用默认插件,则跳过此插件)

    7. Start creating a new post or edit the draft.
    8. 开始创建新帖子或编辑草稿。

    9. Click the schedule button
    10. 点击计划按钮

    11. Profit
    12. 利润

下载地址
https://downloads.wordpress.org/plugin/auto-scheduling.1.0.zip
-EOF-

AI助手支持GPT4.0