توضیحات
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.
نصب
- Upload the plugin folder to
/wp-content/plugins/or install via Plugins > Add New. - Activate the plugin through the Plugins menu in WordPress.
- Go to Static Page Publisher in the admin menu.
- Generate an access token and use it in your API requests as:
- Header:
X-API-Token: yourtokenorAuthorization: Bearer yourtoken - Query param:
?token=yourtoken
- Header:
سوالات متداول
-
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-landingusing 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.