WP Manifestindependent plugin directory
manifest / integrations / wp-post-sync-plugin

WP Post Sync & Translate

Sync WordPress posts from a Host site to one or more Target sites via REST API with secure key-based authentication and chunked AI translation.

by Hemant Patel · github.com/hemantwpdev/wp-post-sync-plugin · website

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/hemantwpdev/wp-post-sync-plugin/archive/refs/heads/master.zip

Automatically sync blog posts from Host site to Target sites in real-time using REST API.

Version: 1.0.0 | Requires: WordPress 5.0+, PHP 7.4+


Installation & Setup

Host Site Setup

  1. Upload plugin to /wp-content/plugins/wp-post-sync-translate/
  2. Activate plugin: Plugins → Activate
  3. Go to Settings → Post Sync & Translate
  4. Select "Host" mode
  5. Add Target URL and click Add Target (auto-generates key)
  6. Copy the key to paste on Target site
  7. Save Settings

Target Site Setup

  1. Upload same plugin to /wp-content/plugins/wp-post-sync-translate/
  2. Activate plugin: Plugins → Activate
  3. Go to Settings → Post Sync & Translate
  4. Select "Target" mode
  5. Paste the key from Host
  6. Select Language (English/French/Spanish/Hindi)
  7. (Optional) Add ChatGPT API key for translation
  8. Save Settings

Settings Explanation

Host Mode

Field What to do
Mode Select "Host"
Add Target Enter target site URL and click Add
Copy Key Click to copy key, paste on Target site

Target Mode

Field What to do
Mode Select "Target"
Shared Key Paste key from Host site
Language Choose: English / Français / Español / हिन्दी
ChatGPT Key (Optional) For translation feature

Functionality Status

✅ COMPLETED & WORKING

  • ✅ Host mode configuration (stores target URLs & keys)
  • ✅ Target mode configuration (stores shared key & language)
  • ✅ Add target sites (with auto-generated 48-char keys)
  • ✅ Remove target sites
  • ✅ Real-time post push (triggers on publish/update)
  • ✅ Audit logging (shows in settings page)
  • ✅ Admin settings interface
  • ✅ REST API endpoints (/sync)
  • ✅ AJAX handlers for settings save/add/remove
  • ✅ Security validation & sanitization

Screenshots

Host Settings Page: https://prnt.sc/LxH6tlrfhzFK

Target Settings Page: https://prnt.sc/4pBOiHjYEPxh

Logs Section: https://prnt.sc/2KW2DHDQpYdo

Host Settings Page

Location: Settings → Post Sync & Translate

[Host Mode Selected]
├─ Add Target Site URL
├─ Generate & Copy Key
└─ Table: URL | Key | Copy Button | Remove Button

Target Settings Page

Location: Settings → Post Sync & Translate

[Target Mode Selected]
├─ Paste Shared Key
├─ Select Language (Dropdown)
├─ ChatGPT API Key (Optional)
├─ Save Settings Button
└─ Recent Sync Logs (Last 50 operations)

Sync Log Example

Shows: Timestamp | Action | Status | IDs | Duration | Message
Example: 2026-02-10 09:15:23 | sync | success | Host: 1845 | Target: 2301 | 1250ms | Post synced successfully

Demo Video

https://www.loom.com/share/648c0b1ba3c2462fb0985b1cff6c788c https://www.loom.com/share/048d78b2bf1f4ed6853f8e57951f6837


  • Translation Feature and Post Generation Feature -

When a post is created or updated on the host website, it is automatically pushed to the target websites.

Based on the target site’s settings, the post is then translated automatically in the background. The translation process (title, content, and excerpt) may take 10–15 seconds, so please allow some time for it to complete.

You can monitor the translation progress and status in the Sync Logs section on the target website.

After the post is synced and translated, it is recommended to resave the post on the target website. Gutenberg may store older block data in the database, and resaving the post will refresh the content and resolve any spacing or formatting issues.

Scren-shot: https://prnt.sc/2C8LvLCMXi5b