Dynamic Multi level fields and acfcp and simply responsive
Hi,
For those people that use Dynamic Multi level fields and acfcp and the simply responsive theme this is a little fix for getting the drop down selects working in the custom login template - (registration section) of the simply responsive theme.
By default the dynamic drop downs work fine in the custom registration template but not the login template.
So.
Go here:
plugins/dynamic-multi-level-fields/acf-bridge
Open the file ml-acf-bridge.php in your fav text editor.
On line 17 look for this code:
if( is_page_template( 'tpl-registration.php' ) || is_page_template( 'tpl-profile.php' ) || in_array( $pagenow, $pagenow_arr ) ) {
Now add the code in red to the code in line 17.
if( is_page_template( 'tpl-registration.php' ) || is_page_template( 'tpl-login.php' ) || is_page_template( 'tpl-profile.php' ) || in_array( $pagenow, $pagenow_arr ) ) {
Save the file and upload it back to your server.
The dynamic drop downs will now work in both templates.
Enjoy.