'https://docs.deothemes.com/arendelle', 'video-tutorials' => 'https://www.youtube.com/watch?v=R9tPDGK1q-Q&list=PLaPNmyRO67T0BsLPlGdrXO0T_5SxM5A4-&ab_channel=DeoThemes', 'header-footer-builder' => $docs_url . 'header-footer-builder', 'product-builder' => $docs_url . 'product-builder', 'mega-menu-builder' => $docs_url . 'mega-menu-builder', 'page-layout' => $docs_url . 'page-layout', 'gdpr' => $docs_url . 'gdpr', 'home-page-demos' => $docs_url . 'home-page-demos', ); $buttons = array( 'logo' => array( 'link_url' => admin_url( 'customize.php?autofocus[section]=arendelle_settings_logo' ), 'link_text' => __( 'Logo', 'arendelle' ), 'icon' => 'dashicons dashicons-format-image', ), 'header' => array( 'link_url' => admin_url( 'customize.php?autofocus[panel]=arendelle_settings_header' ), 'link_text' => __( 'Header', 'arendelle' ), 'icon' => 'dashicons dashicons-align-center', ), 'footer' => array( 'link_url' => admin_url( 'customize.php?autofocus[section]=arendelle_settings_footer' ), 'link_text' => __( 'Footer', 'arendelle' ), 'icon' => 'dashicons dashicons-align-full-width', ), 'layout' => array( 'link_url' => admin_url( 'customize.php?autofocus[panel]=arendelle_settings_layout' ), 'link_text' => __( 'Layout', 'arendelle' ), 'icon' => 'dashicons dashicons-layout', ), 'colors' => array( 'link_url' => admin_url( 'customize.php?autofocus[section]=arendelle_settings_colors' ), 'link_text' => __( 'Colors', 'arendelle' ), 'icon' => 'dashicons dashicons-admin-appearance', ), 'typography' => array( 'link_url' => admin_url( 'customize.php?autofocus[section]=arendelle_settings_typography' ), 'link_text' => __( 'Typography', 'arendelle' ), 'icon' => 'dashicons dashicons-editor-textcolor', ), 'customizer' => array( 'link_url' => admin_url( 'customize.php' ), 'link_text' => __( 'Customizer', 'arendelle' ), 'icon' => 'dashicons dashicons-admin-generic', ), 'documentation' => array( 'link_url' => 'https://docs.deothemes.com/arendelle', 'link_text' => __( 'Documentation', 'arendelle' ), 'icon' => 'dashicons dashicons-book-alt', ), 'support' => array( 'link_url' => admin_url( 'themes.php?page=arendelle-theme-contact' ), 'link_text' => __( 'Support', 'arendelle' ), 'icon' => 'dashicons dashicons-sos', ), ); if ( arendelle_fs()->can_use_premium_code__premium_only() && defined( 'ARENDELLE_CORE_VERSION' ) ) { unset($buttons['logo']); unset($buttons['footer']); $buttons['header'] = array( 'link_url' => admin_url( 'edit.php?post_type=theme_template' ), 'link_text' => __( 'Header / Footer', 'arendelle' ), 'icon' => 'dashicons dashicons-align-center', ); $buttons['adobe_fonts'] = array( 'link_url' => admin_url( 'admin.php?page=arendelle-core-custom-typekit-fonts' ), 'link_text' => __( 'Adobe Fonts', 'arendelle' ), 'icon' => 'dashicons dashicons-editor-spellcheck', ); $buttons['integrations'] = array( 'link_url' => admin_url( 'admin.php?page=arendelle-core-integrations' ), 'link_text' => __( 'Google Map', 'arendelle' ), 'icon' => 'dashicons dashicons-location-alt', ); } $videos = array( 'theme-installation' => array( 'links' => array(array( 'link_url' => 'https://www.youtube.com/watch?v=R9tPDGK1q-Q&list=PLaPNmyRO67T0BsLPlGdrXO0T_5SxM5A4-&ab_channel=DeoThemes', 'link_text' => __( 'Theme Installation', 'arendelle' ), 'link_img_src' => ARENDELLE_URI . '/assets/admin/img/videos/arendelle_video_demo_import.jpg', )), ), 'color-editing' => array( 'links' => array(array( 'link_url' => 'https://www.youtube.com/watch?v=MpjPEHzWti8&list=PLaPNmyRO67T0BsLPlGdrXO0T_5SxM5A4-&index=3&ab_channel=DeoThemes', 'link_text' => __( 'Color Editing', 'arendelle' ), 'link_img_src' => ARENDELLE_URI . '/assets/admin/img/videos/arendelle_video_colors_editing.jpg', )), ), 'product-builder' => array( 'links' => array(array( 'link_url' => 'https://www.youtube.com/watch?v=2zUr4KWO6rQ&list=PLaPNmyRO67T0BsLPlGdrXO0T_5SxM5A4-&index=2&ab_channel=DeoThemes', 'link_text' => __( 'Product Builder', 'arendelle' ), 'link_img_src' => ARENDELLE_URI . '/assets/admin/img/videos/arendelle_video_product_builder.jpg', )), ), ); $info = array( 'home-page-demos' => array( 'title' => esc_html__( '6 Home Page Demos', 'arendelle' ), 'class' => 'arendelle-addon-list-item', 'title_url' => $urls['home-page-demos'], 'links' => array(array( 'link_class' => 'arendelle-learn-more', 'link_url' => $urls['home-page-demos'], 'link_text' => esc_html__( 'Learn More »', 'arendelle' ), 'target_blank' => true, )), ), 'header-footer-builder' => array( 'title' => esc_html__( 'Header / Footer Builder', 'arendelle' ), 'class' => 'arendelle-addon-list-item', 'title_url' => $urls['header-footer-builder'], 'links' => array(array( 'link_class' => 'arendelle-learn-more', 'link_url' => $urls['header-footer-builder'], 'link_text' => esc_html__( 'Learn More »', 'arendelle' ), 'target_blank' => true, )), ), 'product-builder' => array( 'title' => esc_html__( 'Product Builder', 'arendelle' ), 'class' => 'arendelle-addon-list-item', 'title_url' => $urls['product-builder'], 'links' => array(array( 'link_class' => 'arendelle-learn-more', 'link_url' => $urls['product-builder'], 'link_text' => esc_html__( 'Learn More »', 'arendelle' ), 'target_blank' => true, )), ), 'mega-menu-builder' => array( 'title' => esc_html__( 'Mega Menu Builder', 'arendelle' ), 'class' => 'arendelle-addon-list-item', 'title_url' => $urls['mega-menu-builder'], 'links' => array(array( 'link_class' => 'arendelle-learn-more', 'link_url' => $urls['mega-menu-builder'], 'link_text' => esc_html__( 'Learn More »', 'arendelle' ), 'target_blank' => true, )), ), 'page-layouts' => array( 'title' => esc_html__( 'Page Layout', 'arendelle' ), 'class' => 'arendelle-addon-list-item', 'title_url' => $urls['page-layout'], 'links' => array(array( 'link_class' => 'arendelle-learn-more', 'link_url' => $urls['page-layout'], 'link_text' => esc_html__( 'Learn More »', 'arendelle' ), 'target_blank' => true, )), ), 'gdpr' => array( 'title' => esc_html__( 'GDPR Tools', 'arendelle' ), 'class' => 'arendelle-addon-list-item', 'title_url' => $urls['gdpr'], 'links' => array(array( 'link_class' => 'arendelle-learn-more', 'link_url' => $urls['gdpr'], 'link_text' => esc_html__( 'Learn More »', 'arendelle' ), 'target_blank' => true, )), ), ); ?>

  1. %s', esc_url( admin_url( 'themes.php?page=tgmpa-install-plugins' ) ), esc_html__( 'required plugins', 'arendelle' ) ) ); ?>

%s', esc_url( admin_url( 'themes.php?page=one-click-demo-import' ) ), esc_html__( 'Import Demo Content.', 'arendelle' ) ) ); ?>

%s', esc_url( admin_url( 'themes.php?page=tgmpa-install-plugins' ) ), esc_html__( 'One Click Demo Import', 'arendelle' ) ) ); ?>

id === 'appearance_page_arendelle-theme' || $current_screen->id === 'toplevel_page_arendelle' ) { return; } if ( is_admin() ) { $current_theme = wp_get_theme(); $welcome_dismissed = get_user_meta( $current_user->ID, 'arendelle_wizard_admin_notice' ); if ( ($current_theme->get( 'Name' ) == "Arendelle" || $current_theme->get( 'Name' ) == "Arendelle Pro") && !$welcome_dismissed ) { add_action( 'admin_notices', 'arendelle_wizard_admin_notice', 99 ); } wp_enqueue_style( 'arendelle-wizard-notice-css', get_template_directory_uri() . '/assets/admin/css/wizard-notice.css' ); } } add_action( 'current_screen', 'arendelle_activation_admin_notice' ); /** * Adds a button to dismiss the notice */ function arendelle_dismiss_wizard_notice() { global $current_user; $user_id = $current_user->ID; if ( isset( $_GET['arendelle_wizard_dismiss'] ) && $_GET['arendelle_wizard_dismiss'] == '1' ) { add_user_meta( $user_id, 'arendelle_wizard_admin_notice', 'true', true ); } } add_action( 'admin_init', 'arendelle_dismiss_wizard_notice', 1 ); /** * Display an admin notice linking to the wizard screen */ function arendelle_wizard_admin_notice() { if ( current_user_can( 'customize' ) ) { ?>