Advance Custom Fields

[mirrorpress_documentation_nav]

SirSync Pro lets you synchronize Advanced Custom Fields configurations and values between connected WordPress websites. You can deploy Field Groups, ACF-created Post Types, Taxonomies, Options Pages, and the custom field values associated with your content.

SirSync works with both Advanced Custom Fields (ACF) and Secure Custom Fields (SCF). This documentation refers primarily to ACF, but the same synchronization features also apply when using Secure Custom Fields.

SirSync does not place separate synchronization limits on ACF Free, ACF Pro, or Secure Custom Fields. The available configuration screens and field types depend on the custom fields plugin installed on your website, but SirSync can synchronize the supported features available in that installation.

What Gets Synchronized

SirSync supports synchronizing the following ACF and SCF features:

  • Field Groups
  • Fields and nested subfields
  • Field Group location rules
  • Conditional logic and field settings
  • ACF-created Custom Post Types
  • ACF-created Custom Taxonomies
  • ACF Options Pages
  • Values saved to Options Pages
  • Custom field values attached to pages, posts, products, and supported custom post types
  • Media referenced by supported ACF fields
  • Relationships to other synchronized content

Configuration and Content Are Synchronized Separately

ACF configurations and ACF field values are related, but they are synchronized as separate parts of a deployment.

Synchronizing a Field Group deploys the fields, settings, and location rules that determine how the editing interface is structured. It does not automatically synchronize every page, post, product, or other content item using that Field Group.

Custom field values are synchronized when the page, post, product, or custom post type containing those values is pushed or pulled through SirSync.

This separation keeps deployments predictable. Synchronizing a Field Group does not automatically trigger the synchronization of every piece of content that uses it.

Recommended Deployment Order

When setting up ACF on a connected website for the first time, synchronize the supporting configurations before synchronizing the content that uses them.

  1. Synchronize any required Post Types and Taxonomies.
  2. Synchronize any required Options Pages.
  3. Synchronize the Field Groups assigned to those locations.
  4. Synchronize the pages, posts, products, or custom post type entries containing the field values.

SirSync can help resolve some missing Field Group locations during synchronization, but deploying the supporting configurations first gives you greater control over what is created on the receiving website.

Synchronizing a Field Group

SirSync adds synchronization controls to the ACF Field Group editor. You can push the current Field Group to the connected website or pull its linked version to the current website.

To synchronize a Field Group:

  1. In the WordPress dashboard, open the ACF Field Groups screen.
  2. Edit the Field Group you want to synchronize.
  3. Save any changes you have made.
  4. Click Push to Remote to send the Field Group to the connected website, or click Pull from Remote to retrieve its corresponding version.

If the Field Group has not been synchronized before, SirSync creates it on the receiving website. After the first synchronization, SirSync stores a relationship between the two Field Groups so future deployments update the corresponding version.

Field Group Data

Field Group synchronization includes the Field Group settings and its complete field structure. This includes nested fields used by supported field types such as:

  • Repeater fields
  • Group fields
  • Flexible Content fields and layouts
  • Clone field references
  • Conditional field logic

SirSync preserves the field hierarchy and uses stable field identities to update existing fields without relying on WordPress database IDs from the source website.

Missing Field Group Locations

Field Group location rules can reference a Post Type, Taxonomy, Options Page, or Block that is not available on the receiving website. SirSync checks for these missing location targets before synchronizing the Field Group.

If a location target is missing, SirSync gives you the following choices:

  • Create: Attempt to create the missing ACF Post Type, Taxonomy, or Options Page before synchronizing the Field Group. Registered Blocks and configurations not managed through ACF may need to be created manually.
  • Skip: Synchronize the Field Group without the unresolved location rule.
  • Cancel: Stop the synchronization so you can add or deploy the required configuration manually.

If SirSync cannot create a requested location, the unresolved location rule is excluded from the synchronized Field Group. Review the Field Group on the receiving website after synchronization to confirm that its location rules are complete.

Fields Missing from One Website

Before updating an existing Field Group, SirSync compares the fields on both websites. If fields exist on the receiving website but are missing from the version being synchronized, SirSync asks how those fields should be handled.

  • Remove Fields: Remove the additional fields from the receiving website so its Field Group matches the incoming version.
  • Merge Fields: Apply the incoming changes while retaining fields that exist only on the receiving website.
  • Cancel: Stop the synchronization without changing the receiving Field Group.

Removing a field from a Field Group can affect how existing data is displayed or edited. Review the listed fields carefully before choosing to remove them.

Field Conflicts

SirSync checks for changes that may affect existing field data before applying an update. For example, a warning may appear when:

  • A field name has changed.
  • A field type has changed.
  • Fields with matching names use different field types.

The warning shows the conflicting settings and asks you to confirm before continuing. Cancel the synchronization if you need to review the differences before changing the receiving Field Group.

Synchronizing ACF Post Types

ACF can be used to register Custom Post Types through the WordPress dashboard. SirSync can synchronize these Post Type definitions between connected websites.

To synchronize a Post Type:

  1. Open the ACF Post Types screen.
  2. Edit the Post Type you want to synchronize.
  3. Save any changes you have made.
  4. Click Push to Remote or Pull from Remote.

Post Type synchronization includes the registration settings stored by ACF, such as labels, visibility, hierarchy, archive behavior, rewrite settings, supported features, menu settings, and other available Post Type options.

Synchronizing a Post Type creates or updates the Post Type definition. It does not automatically synchronize the posts or entries stored within that Post Type. Those items must be synchronized separately.

Post Type Conflicts

SirSync warns you when an incoming change may alter the identity, URLs, or behavior of an existing Post Type. This can include changes to:

  • The Post Type key
  • The rewrite slug
  • The rewrite prefix setting
  • Archive settings
  • Hierarchical behavior
  • Public visibility

Changes to these settings can affect existing URLs, templates, queries, and content. Review the warning before continuing.

Synchronizing ACF Taxonomies

SirSync can synchronize Custom Taxonomies registered through ACF.

To synchronize a Taxonomy:

  1. Open the ACF Taxonomies screen.
  2. Edit the Taxonomy you want to synchronize.
  3. Save any changes you have made.
  4. Click Push to Remote or Pull from Remote.

Taxonomy synchronization includes the registration settings stored by ACF, including its labels, object type assignments, visibility, hierarchy, rewrite settings, administrative settings, and other available Taxonomy options.

Synchronizing a Taxonomy creates or updates the Taxonomy definition. It does not automatically synchronize all terms or content assigned to that Taxonomy. Terms used by synchronized content are handled as part of the content deployment.

Synchronizing ACF Options Pages

SirSync can synchronize Options Pages created through the ACF interface. Options Page synchronization includes both the page configuration and the custom field values saved to that Options Page.

To synchronize an Options Page:

  1. Open the ACF Options Pages screen.
  2. Edit the Options Page you want to synchronize.
  3. Save any changes you have made.
  4. Click Push to Remote or Pull from Remote.

The Options Page configuration can include its page title, menu title, menu slug, parent page, capability, position, redirect behavior, menu icon, and other settings available through the installed custom fields plugin.

SirSync also synchronizes the values stored for fields assigned to the Options Page. This allows sitewide settings such as contact information, global calls to action, logos, reusable content, and theme settings to be deployed with the Options Page.

Synchronize the Field Group assigned to the Options Page so the receiving website also has the correct editing interface and field definitions.

Synchronizing Custom Field Values

Custom field values attached to content are synchronized when you push or pull the page, post, product, or supported custom post type containing them. You do not need to map each ACF field manually.

SirSync reads the ACF field definitions associated with the content and uses them to determine how stored values should be handled on the receiving website.

Standard Field Values

Text, textarea, number, select, checkbox, radio, date, color, and other standard values are copied with the content that contains them.

Nested Field Values

SirSync supports values stored in nested ACF structures, including:

  • Repeater rows
  • Group fields
  • Flexible Content layouts
  • Clone fields
  • Nested combinations of supported field types

SirSync uses ACF field keys to identify nested values, including values stored inside repeated rows or Flexible Content layouts.

Images, Galleries, and Files

Media referenced by Image, Gallery, File, and other supported media fields is transferred to the receiving website when required. SirSync then replaces the source attachment IDs and URLs with the corresponding attachments on the receiving website.

This prevents ACF fields from continuing to reference attachment IDs that belong only to the original website.

Relationship Fields

SirSync remaps supported content references stored by fields such as:

  • Relationship
  • Post Object
  • Page Link

For the most reliable mapping, synchronize the referenced pages, posts, products, or custom post type entries before synchronizing the content containing the relationship field.

Synchronizing a relationship field does not automatically deploy every referenced content item. This keeps the deployment limited to the content you intentionally selected.

Taxonomy Fields

Taxonomy field values are matched to the corresponding Taxonomy and terms on the receiving website. Synchronize the Taxonomy definition before deploying content that relies on it.

User Fields

User field values are matched to existing users on the receiving website using available account information, such as the email address or username. SirSync does not automatically create a new WordPress user when a matching account does not exist.

WYSIWYG Fields

ACF WYSIWYG fields are processed similarly to WordPress editor content. SirSync updates supported internal links and media references so they point to the corresponding content and files on the receiving website.

Push and Pull Behavior

Push to Remote sends the configuration or content from the current website to the connected website.

Pull from Remote retrieves the linked configuration or content from the connected website and applies it to the current website.

SirSync creates a relationship during the first successful synchronization. Later pushes and pulls use that relationship to update the corresponding item instead of creating a new copy each time.

Always save the current item before synchronizing it. Synchronization begins when you confirm the action.

Activating and Deactivating Configurations

When you activate or deactivate a linked ACF Field Group, Post Type, Taxonomy, or Options Page, SirSync can apply the same status change to its remote copy.

When prompted, choose whether to apply the change to both websites or only to the current website. This is also supported when using the bulk activation and deactivation actions on supported ACF list screens.