Configure Purple Variants
Purple Hub
Summary
This guide provides instructions on how to configure article (post) variants in Purple Hub via the Purple Variants feature. Variants enable you to create separate versions of content for various platforms, such as online or print. This configuration ensures each format can be handled independently within the Purple Hub.
Preconditions
- Have the "Purple Variants" Plugin enabled in Purple Hub. This can only be done by a Super Admin, a role restricted to Purple staff. If you want us to enable the Plugin for you open a ticket in our Support Helpdesk.
- Have an Admin role in Purple Hub to configure Purple Variants
Purple Variants Settings

Once the Purple Variants plugin is activated, within the Settings (1) menu, you will now see a new sub-menu labeled Purple Variants Settings (2). With click on this sub-menu opens the configuration page for Purple Variants.
Choosing post types as variants

Every variant is a post type of your Purple Hub. The settings page lists all post types that can be used as a variant, with their Name and their Post type key.
- Tick the Variant checkbox of a post type to use it as a variant.
- Choose the Icon of each variant: Neutral, Online or Print.
- Change the order of the variants with the arrows on the left of their rows.
- Untick the checkbox to stop using a post type as a variant. Its articles and their links to other variants are kept, so ticking it again brings the variants back.
Note: The Article variant can be removed from the interface by toggling the 'Hide' option on the right side of its row.
Adding a new variant
To add a new variant, first create a new post type for it, see Create a Custom Post Type in Purple Hub. The new post type then appears in the list of the Purple Variants settings, where you can tick it as a variant.
Variant icons

Each variant is assigned a unique icon to help visually differentiate between them. Icons are automatically displayed next to each variant type (Neutral, Online, Print) in Purple Hub for you to quickly identify them.
Visibility in the editor interface
The Purple Variants editor sidebar is only shown for articles of post types that are used as variants. Articles of all other post types are not treated as variants: they get no sidebar, are not listed as variants of other articles, and the automatic sync does not change them.
Auto sync content between variants
With the Auto sync content between variants switch above the table turned on, saving an article automatically copies its content to all other variants of that article, so the variants always stay identical. The switch is off by default and applies to the whole Purple Hub.
The automatic sync always copies the title, content, excerpt and featured image. Which authors, ACF fields and taxonomies (such as categories and tags) it copies as well is set in the sync settings, see Choosing which fields are synced. It works in every direction: saving any variant updates all the others. Variants you are not allowed to edit and variants in the trash are skipped.
While the auto sync is on, the sync icon in the editor sidebar is hidden, because the variants are already kept identical. Turn the auto sync off to sync variants by hand.
If another variant of the article is open in a second browser tab when the sync runs, that tab is locked with a dialog until it is reloaded, so it cannot overwrite the synced content. Click Copy my content in the dialog to keep any unsaved changes before you reload.
If you need two articles with different content, create them as separate articles instead of linking them as variants.

Choosing which fields are synced
The sync settings decide which fields are copied to the other variants. They apply when you create a new variant, when the auto sync runs and when you sync a variant by hand with the sync icon in the editor sidebar. The settings icon next to the Auto sync content between variants switch is shown whether the auto sync is on or off.
- Click the settings icon next to the switch. The Sync settings dialog opens.
- Tick the fields that should be copied between variants, and untick the ones that each variant should keep for itself: Author (the authors of the article), ACF fields (every ACF field that is shown on a variant post type, grouped by field group) and Taxonomies (every taxonomy of the variant post types, such as Categories and Tags). The checkbox in the header of ACF fields and Taxonomies ticks or unticks all entries of that section at once; the header also shows how many of them are synced. Each ACF field group has its own checkbox as well, which ticks or unticks all fields of that group.
- Click Save.

All fields are synced by default, and fields or taxonomies added later are synced until you untick them.
The title, content, excerpt and featured image are always copied. ACF fields that only lay out the edit screen (Tab, Message, Accordion) are not listed, as they hold no value.
Fields that plugins add in code, such as the workflow assignee or the related articles, are not listed and are never copied. The ACF field setting Copy content to new variants has been removed; the sync settings replace it. Fields for which it was turned off are unticked in the sync settings, so they are still not copied.
The settings only apply to future copies. Fields that were synced before you unticked them keep their copied values on the other variants until you change them by hand.
API Identifier (optional)
If you are integrating with external APIs, the Post type key of a variant is its identifier. External systems use it to retrieve content for specific variants. Variants that existed before keep their previous identifier, e.g. "pv_online".