Upgrading to v2 Lost all my modals.
-
If you have this issue please add the following function to your themes functions.php file which will run once and import your modals.
add_action('admin_init', 'fix_my_modals'); function fix_my_modals() { if(!emodal_get_option(EMCORE_SLUG.'_fix_my_modals')) { emodal_delete_option(EMCORE_SLUG.'_migration_approval'); if(emodal_get_option('EasyModal_Version') && !emodal_get_option(EMCORE_SLUG.'_migration_approval')) { new EModal_Migrate_Pre_V2; } emodal_update_option(EMCORE_SLUG.'_fix_my_modals', true); } }
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Upgrading to v2 Lost all my modals.’ is closed to new replies.