wordpress-publisher
Publish content from OpenClaw to WordPress automatically via REST API. Use when: auto-publishing blog posts, scheduling content, bulk publishing, or managing WordPress content from OpenClaw.
- License 许可
- MIT
- 最近更新
- 2026-04-05
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- wordpress-publisher
- risk
- safe
- source
- openclaw-workspace
- metadata
- { "openclaw": { "emoji": "?", "requires": { "bins": [ "curl", "jq" ] } } }
- description
- Publish content from OpenClaw to WordPress automatically via REST API. Use when: auto-publishing blog posts, scheduling content, bulk publishing, or managing WordPress content from OpenClaw.
02 资源文件 7
- 参考文档config.json413 B
- 参考文档posts.example.json1.1 KB
- 参考文档README.md2.9 KB
- 脚本scripts/bulk.sh2.3 KB
- 脚本scripts/publish.sh1.9 KB
- 脚本scripts/schedule.sh2.1 KB
- 脚本scripts/test.sh1.4 KB
03 SKILL.md 正文
WordPress Publisher
Publish drafts from OpenClaw to WordPress automatically via REST API.
Features
- ✅ Auto-publish to WordPress
- ✅ Schedule posts for future dates
- ✅ Bulk publish from JSON
- ✅ Template-based formatting
- ✅ Draft or publish mode
- ✅ Category & tag support
Usage
Publish Single Post
# Publish as draft
bash skills/wordpress-publisher/scripts/publish.sh "Post Title" "Post content here"
# Publish immediately
bash skills/wordpress-publisher/scripts/publish.sh "Post Title" "Content" "publish"
Test Connection
bash skills/wordpress-publisher/scripts/test.sh
Schedule Post
bash skills/wordpress-publisher/scripts/schedule.sh "Title" "Content" "2026-03-20 10:00:00"
Bulk Publish
# From JSON file
bash skills/wordpress-publisher/scripts/bulk.sh posts.json
Setup
-
Enable WordPress REST API (already enabled by default in WP 5.6+)
-
Create Application Password:
- Login to WordPress admin
- Go to: Users → Your Profile
- Scroll to "Application Passwords"
- Add new: "OpenClaw Integration"
- Copy the generated password
-
Configure credentials:
- Edit
skills/wordpress-publisher/config.json - Add your WordPress URL, username, and app password
- Edit
-
Test connection:
bash skills/wordpress-publisher/scripts/test.sh
Configuration
Edit config.json:
{
"wordpress": {
"url": "https://your-site.com",
"username": "your-username",
"app_password": "xxxx xxxx xxxx xxxx xxxx"
},
"defaults": {
"status": "draft",
"author": 1
}
}
Requirements
- WordPress 5.6+ (REST API enabled)
- Application Password configured
curlandjqinstalled
Security
- ✅ Use HTTPS only
- ✅ Application Password (not main password)
- ✅ Config file permissions: 600
- ✅ Rate limiting: max 10 req/min
Examples
Publish Tutorial
bash skills/wordpress-publisher/scripts/publish.sh \
"How to Use OpenClaw" \
"<h1>Tutorial</h1><p>Step by step guide...</p>" \
"publish"
Bulk Publish
Create posts.json:
[
{"title": "Post 1", "content": "Content 1"},
{"title": "Post 2", "content": "Content 2"}
]
Then:
bash skills/wordpress-publisher/scripts/bulk.sh posts.json
Troubleshooting
401 Unauthorized:
- Check application password
- Regenerate if expired
403 Forbidden:
- Check user permissions (need Editor or Author role)
- Verify REST API is enabled
Connection failed:
- Verify WordPress URL is correct
- Check HTTPS is working
- Test with:
curl https://your-site.com/wp-json/wp/v2/posts
Workflow
OpenClaw → Generate Content → Review → Approve → WordPress Publish → Live Post
Last Updated
2026-03-15
04 同仓库更多 Skills
zahra-workspace-manager
Comprehensive workspace management skill for Zahra Maurita's development environment. Use when managing projects across 8 divisions (Web, App, AI Agent, Bot, Content, Marketing, Research, Business), organizing files, tracking progress, managing memory, or coordinating multi-domain work. Triggers on mentions of workspace organization, project management, division-specific tasks, memory updates, or cross-domain coordination.
tinyfish
AI-powered web automation using TinyFish Web Agent. Use when you need to scrape data from websites, automate form filling, extract structured information, or perform any web-based task using natural language instructions. Works with any website including those with JavaScript, dynamic content, and bot protection.
tinyfish-openclaw
TinyFish Web Agent integration for OpenClaw. Use this skill to scrape websites, automate web tasks, extract structured data, and perform browser automation using natural language. Works seamlessly with OpenClaw's MCP protocol.
autoresearchclaw
暂无简介
researchclaw
暂无简介
academic-research-assistant
Research assistant for management & digital business academics - literature review, paper analysis, citation management, research methodology