Linux 软件免费装

Static Page Publisher

开发者 Websolut Org
更新时间 2025年9月11日 09:57
PHP版本: 7.4 及以上
WordPress版本: 6.8
版权: GPLv2 or later
版权网址: 版权信息

标签

landing pages automation rest api deployment

下载

1.1.0

详情介绍:

Static Page Publisher allows you to deploy static landing pages to your WordPress site automatically via REST API. Features:

安装:

  1. Upload the plugin folder to /wp-content/plugins/ or install via Plugins > Add New.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Go to Static Page Publisher in the admin menu.
  4. Generate an access token and use it in your API requests as:
  5. Header: X-API-Token: yourtoken or Authorization: Bearer yourtoken
  6. Query param: ?token=yourtoken

升级注意事项:

1.1.0 Front-page override is now always enabled. Tokens and ZIP upload endpoints remain unchanged.

常见问题:

How do I deploy a landing page?

Send a POST request with a JSON body containing a base64 ZIP (zip_base64) to /wp-json/static-page-publisher/v1/update-landing using your access token.

Will this override my existing front page?

Yes, the plugin automatically serves the uploaded landing page on your site’s front page. The original theme files are not modified.

Is my token secure?

Tokens are stored in the WordPress database and should be treated like API keys. Rotate tokens periodically.

更新日志:

1.1.0