WP Manifestindependent plugin directory
manifest / i18n / duplicate-cpt-wpml

Auto duplicate for WPML

Automatically duplicates new posts into other WPML languages when published for the first time.

by jpagano · github.com/jpagano/duplicate-cpt-wpml · 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/jpagano/duplicate-cpt-wpml/archive/refs/heads/main.zip

Readme

Auto duplicate for WPML

Automatically duplicates new posts into other WPML languages when published for the first time. Select which custom post types (CPTs) you want to be duplicated.


Description

This plugin creates WPML translations automatically when a post is published for the first time.

It's designed to simplify multilingual workflows when managing custom post types. When a selected post type is published, the plugin automatically creates a duplicate translation in all active WPML languages (if not already present).

Features

  • Works with any public custom post type.
  • Admin options page to choose which CPTs are affected.
  • Prevents duplicate translations if they already exist.
  • Built with extensibility and WP standards in mind.

Requires the WPML Multilingual CMS plugin to work.


Installation

  1. Upload the plugin folder to /wp-content/plugins/duplicate-cpt-wpml, or install it directly from the WordPress plugin directory.
  2. Activate the plugin through the 'Plugins' screen in WordPress.
  3. Go to Settings → Auto duplicate CPT to configure which post types should be duplicated.

Frequently Asked Questions

Does this plugin work without WPML?

No. This plugin is designed to work only if WPML Multilingual CMS is installed and active.

What happens if a translation already exists?

No action is taken. The plugin only duplicates content if a translation is missing at the time of first publishing.

Can I choose which post types are duplicated?

Yes. Go to Settings → Auto duplicate CPT and select the post types you'd like the plugin to act on.


Changelog

1.0.0

  • Initial release.
  • Adds settings page.
  • Duplicates selected post types when published for the first time.
  • Ensures no duplicate translations are created.

License

This plugin is licensed under the GPLv2 or later.
See https://www.gnu.org/licenses/gpl-2.0.html for full license terms.

Read the full README on GitHub →