Polylang: Unsync specified custom fields

Polylang has two options for syncing custom fields - all or nothing, but in some cases we need more fine-grain control.

Polylang: Unsync specified custom fields

Polylang has two options for syncing custom fields – all or nothing, but in some cases we need more fine-grain control.

The usual requirement is to be able to exclude one or two fields, while syncing the majority – the alternative is to not sync any of the post meta and instead require content editors to manually enter all data in each translated post copy – this is both tedious and prone to error.

Here is a simple filter function to allow for specified post meta fields to be excluded from this sync.

We find a number of users who request this functionality and are considering adding this to the main PolyLang settings page in the future.

Release Overview

Codex

Find a way to integrate this into the main PolyLang settings page.


One Comment

Add a Comment

Your email address will not be published. Required fields are marked *

These HTML tags work: <a href=""> <code> <strong> <pre>


Connect:
OR

Our Services
Validate your ideas before diving in. Consultancy
Dig deep, audit your data, prepare for action Discovery
Get everything in shape to smooth the project path. Shaping
Let us help you realize your imagination Design
Rock-solid WordPress tools, built to last. Development
Without water, the garden will not grow. Support


Projects
Quinta de Sant’Ana, Portugal
Quinta de Sant’Ana, Portugal

Quinta de Sant'Ana overlooks the picturesque village of Gradil with its cobbled streets, white washed houses and hospitable inhabitants.


Projects: View All or
Releases
Willow
Willow

Willow is a Logic~less Template Engine built for WordPress. Willow plays nicely with ACF, is quick to learn and developer-focused.


Releases: View All or