Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mcguffin/wpml-acf-relations
Sets ACF Relations to their translated versions when duplicating a WordPress Post for translation with WPML.
https://github.com/mcguffin/wpml-acf-relations
Last synced: 27 days ago
JSON representation
Sets ACF Relations to their translated versions when duplicating a WordPress Post for translation with WPML.
- Host: GitHub
- URL: https://github.com/mcguffin/wpml-acf-relations
- Owner: mcguffin
- License: gpl-2.0
- Archived: true
- Created: 2014-11-28T16:33:27.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-11-28T17:05:40.000Z (about 10 years ago)
- Last Synced: 2024-08-03T17:10:48.208Z (4 months ago)
- Language: PHP
- Homepage:
- Size: 164 KB
- Stars: 17
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-acf - WPML ACF Relations - Sets ACF Relations to their translated versions when duplicating a WordPress Post for translation with WPML. (Third-Party Add-Ons)
README
WPML ACF Relations
==================Aims on WordPress sites with both WPML and ACF plugin installed.
When you duplicate a post in [WPML](http://wpml.org/) Relational Fields created with [Advanced Custom Fields](http://advancedcustomfields.com/) will not change to their corresponding translations. This can be annoying, when you have large image galeries that you want to translate as well.
This little plugin fills the gap by replacing all ACF relations with their translated version.
Tested with
- Advanced Custom Fields 5 (Pro)
- WPML Multilingual CMS (3.1.8.3)Currently supported ACF Fields:
- Content / Image
- Content / File
- Content / Gallery
- Relational / Post Object
- Relational / Page Link
- Relational / RelationshipUntested (but likely unsupported):
- Layout / RepeaterUnsupported fields:
- Relational / Taxonomy
- Relational / UserWill you answer Support requests?
---------------------------------
Sorry, I won't.I made this plugin for a client's job, where I had to find a solution for the problem described above.
I made it public in the hope that it may be useful for others.If it doesn't work for you, make your changes, and send me a pull request if you think that others can benefit as well.