Beschreibung
ACF WPML Theme Options allows you to use another way of displaying Theme Options fields defined with ACF and translated with WPML allowing you to avoid any kind of problems in the translation process.
Say goodbye to adding prefixes for field slugs in your Theme Options pages and displaying it based on ICL_LANGUAGE_CODE and to other workarounds to make it work properly.
Instead of performing queries on translated ACF options pages, it allows you to assign custom fields to a custom post type and display the fields in your plugins and themes with a single function.
After it is properly configured and all the requisites are met, you can use it by calling get_field_option(‚option_name‘) or by triggering it as a shortcode [get_field_option option=“option_name“] – this feature allowing you to display options inside your posts and pages content.
The plugin is dependent on ACF or ACF Pro and WPML. However, it will not work if you are running a website which has both ACF and ACF Pro enabled at the same time.
Installation
- Upload and activate plugin to your WP installation
- Go to Settings -> ACF WPML Theme Options
- Replace the default name of the Custom Post Type to be added (default is Global Settings) and save. (don’t worry if the new Custom Post Type doesn’t appear. You can click on the link which appears at the top in the body of the notification or simply refresh the screen or navigate to another page. The custom post type should appear afterwards).
- Create a post of the newly acf_wpml_to post type, save it and set it as active. You will be guided through the entire process by the notifications which appear at the top of the screen.
- In ACF / ACF Pro, create a new field group, add a few options and assign it to your post type (for ACF -> Post Type = acf_wpml_to; for ACF Pro -> Post Type = the name you chose in step #3 above).
- You’re good to go. Don’t forget to translate the acf_wpml_to posts you create in order to benefit of the full functionality of this plugin. (you will be nagged by a warning notification until you do that) 🙂
Check the video tutorial for installation and usage on the plugin’s website
FAQ
- Installation Instructions
-
- Upload and activate plugin to your WP installation
- Go to Settings -> ACF WPML Theme Options
- Replace the default name of the Custom Post Type to be added (default is Global Settings) and save. (don’t worry if the new Custom Post Type doesn’t appear. You can click on the link which appears at the top in the body of the notification or simply refresh the screen or navigate to another page. The custom post type should appear afterwards).
- Create a post of the newly acf_wpml_to post type, save it and set it as active. You will be guided through the entire process by the notifications which appear at the top of the screen.
- In ACF / ACF Pro, create a new field group, add a few options and assign it to your post type (for ACF -> Post Type = acf_wpml_to; for ACF Pro -> Post Type = the name you chose in step #3 above).
- You’re good to go. Don’t forget to translate the acf_wpml_to posts you create in order to benefit of the full functionality of this plugin. (you will be nagged by a warning notification until you do that) 🙂
Check the video tutorial for installation and usage on the plugin’s website
Rezensionen
There are no reviews for this plugin.
Mitwirkende & Entwickler
„ACF WPML Theme Options“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt:
MitwirkendeÜbersetze „ACF WPML Theme Options“ in deine Sprache.
Interessiert an der Entwicklung?
Durchstöbere den Code, sieh dir das SVN Repository an oder abonniere das Entwicklungsprotokoll per RSS.