[wordpress插件] StaticPress Auto BuilderStaticPress自动生成器

wordpress 插件 文章 2020-04-05 05:30 523 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

This plugin provides scheduled build and WP-CLI command for build from console/cron.

此插件为控制台/ cron提供了计划的构建和WP-CLI命令。

Requirements

要求

    • StaticPress

    • StaticPress

        • https://wordpress.org/plugins/staticpress/
        • https://wordpress.org/plugins/staticpress/

      • WP-CLI

      • WP-CLI

          • http://wp-cli.org
          • http://wp-cli.org

        WP-CLI command usage

        WP-CLI命令用法

        The user option required.

        需要用户选项。

        $ wp staticpress build --user=

          $ wp staticpress build --user = <用户名/用户名/电子邮件>

        When your WordPress is multisite, you can specify a blog.

        当WordPress为多站点时,您可以指定一个博客。

        $ wp staticpress build --user= --url=

          $ wp staticpress build --user = <用户ID /用户名/电子邮件> --url = 

安装步骤

    1. Install WP-CLI to server, example location to /usr/local/bin/wp.
    2. 将WP-CLI安装到服务器,示例位置为 / usr / local / bin / wp

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

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

下载地址
https://downloads.wordpress.org/plugin/cron-staticpress.zip
-EOF-

AI助手支持GPT4.0