Static Page Publisher

설명

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

Features:
* Generate a secure access token for API requests.
* Upload and deploy a base64-encoded ZIP containing your landing page.
* Front page is dynamically replaced with uploaded content.
* Easily view and share your API base URL for integration.

REST API Endpoints:
* GET /wp-json/static-page-publisher/v1/verify-token — Verify if a token is valid.
* POST /wp-json/static-page-publisher/v1/update-landing — Upload and deploy a base64-encoded ZIP as the new landing page.

Ideal for teams automating content deployment from Figma, design systems, or CI/CD pipelines.

설치

  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:
    • Header: X-API-Token: yourtoken or Authorization: Bearer yourtoken
    • Query param: ?token=yourtoken

FAQ

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.

후기

이 플러그인에 대한 평가가 없습니다.

기여자 & 개발자

“Static Page Publisher”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “Static Page Publisher”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

1.1.0

  • Always serve uploaded landing page on front page.
  • Removed toggle option for front-page override.
  • Improved file type validation for uploaded ZIPs.