Hello,
Thanks for the feedback! Well, it’s weird. Can you please make sure that this code is in the functions.php
file of the active theme?
Also please note that this code has to remain in the file, you should not remove it (unless you want to disable the Single Meta Save).
Let know when you check it.
Regards.
Hi,
Sorry, yes I put the code in functions.php
(and leave it there).
When check $name
and $value
with var_dump()
in advanced-custom-fields-pro/acf.php
I get:
[..]/plugins/advanced-custom-fields-pro/acf.php:527:string 'acfe/modules/single_meta' (length=24)
[..]/plugins/advanced-custom-fields-pro/acf.php:528:boolean true
Somehow it shows false
on the ACFE settings page and it’s not working.
Hello,
I just tested again on a blank WP Install + Blank Theme + ACF Pro + ACF Extended and everything works fine. Maybe you have a custom code somewhere which disable the module?
I would recommend to test it on a blank WP Install and make sure WordPress, ACF Pro & ACF Extended are all up-to-date.
For reference here is the code to enable the module:
add_action('acf/init', 'my_acfe_modules');
function my_acfe_modules(){
acf_update_setting('acfe/modules/single_meta', true);
// OR:
//acfe_update_setting('modules/single_meta', true);
}
Regards.
Hi,
I tried it on a blank WP install and works. So it’s indeed something in my theme that’s preventing the module from activating.
Thanks for helping!