mcguffin / polylang-fix-relationships

Manage post relationships like attachments or (ACF Relational fields) which are not covered by the WordPress polylang plugin.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Polylang Fix Relationships

This Plugin is discontinued.
You might like to take a look at Polylang Sync here on GitHub, which addresses a similar issue.


Manage post relationships like attachments, post parents and ACF Relational fields which are not covered by Polylang plugin.

Compatibility

Tested With WP 4.4.2 - 4.5.2, Polylang 1.8.4 - 1.9, ACF pro 5.x

Features:

  • Adds a clone post feature
  • Clones post attachments to corresponding languages
  • Changes post thumbnail and ACF Relations (like post object, image, ...) to their corresponding translations

Plugin API

There are two filters allowing a developer to disable one of the two two features:

// disables the Fix Relationships row action
add_filter( 'polylang_relationships_enable_fix', '__return_false' );

// disables the Create4 Translations row action
add_filter( 'polylang_relationships_enable_clone', '__return_false' );

About

Manage post relationships like attachments or (ACF Relational fields) which are not covered by the WordPress polylang plugin.


Languages

Language:PHP 99.1%Language:CSS 0.9%