ID; $show_pop_meta = get_user_meta($user_id, 'idesign_txoc_show_pops'); $how_to_import = esc_url('https://www.youtube.com/watch?v=wYFFlo93cKU'); if ( !empty($show_pop_meta) ){ if ( '1' == $show_pop_meta[0] ) { $intropop_content .= '
'; } elseif ( '0' == $show_pop_meta[0] ) { $intropop_content .= '
'; } } else { $intropop_content .= '
'; } $intropop_content .= '
'; $intropop_content .= '
'; $intropop_content .= '
    '; $intropop_content .= '
  1. '. esc_html__('Start Setup', 'i-design') .'
  2. '; $intropop_content .= '
  3. '. esc_html__('Select Demo', 'i-design') .'
  4. '; $intropop_content .= '
  5. '. esc_html__('Plugin Install', 'i-design') .'
  6. '; $intropop_content .= '
  7. '. esc_html__('Import Demo', 'i-design') .'
'; $intropop_content .= '
'; $intropop_content .= '

'. esc_html__('I-DESIGN Setup', 'i-design') .'

'; $intropop_content .= '

'. esc_html__('Installing accompanying plugin Templatesnext ToolKit.', 'i-design') .'

'; $intropop_content .= ''; $intropop_content .= ''; $intropop_content .= '
'; $intropop_content .= '
'; $intropop_content .= '

'. esc_html__('Main Features', 'i-design') .'

'; $intropop_content .= '
    '; $intropop_content .= '
  • '. esc_html__('Ready To Import Demos.', 'i-design') .'
  • '; $intropop_content .= '
  • '. esc_html__('Portfolio, Team, Custom Slider, etc.', 'i-design') .'
  • '; $intropop_content .= '
  • '. esc_html__('20+ Custom Shortcodes', 'i-design') .'
  • '; $intropop_content .= '
  • '. esc_html__('Page/Post Meta Options.', 'i-design') .'
  • '; $intropop_content .= '
  • '. esc_html__('Wishlist And Products Compare.', 'i-design') .'
  • '; $intropop_content .= '
  • '. esc_html__('And Much More..', 'i-design') .'
  • '; $intropop_content .= '
'; $intropop_content .= '
'; $pluginLocation = rawurlencode('templatesnext-toolkit/tx-toolkit.php'); $pluginLink = idesign_plugin_activation( $pluginLocation, 'templatesnext-toolkit', 'tx-toolkit.php' ); $nonce_install = idesign_plugin_install('templatesnext-toolkit'); $pluginTitle = 'TemplatesNext ToolKit'; $activation_button = ''; $activation_button .= '
'; if ( !empty($show_pop_meta) ) { if ( '1' == $show_pop_meta[0] ) { $activation_button .= '' . esc_html__( 'Never Show This Popup', 'i-design' ) . ''; } } $activation_button .= '
'; if ( is_plugin_active( 'templatesnext-toolkit/tx-toolkit.php' ) ) { $activation_button .= '' . esc_html__( 'Plugin installed and active', 'i-design' ) . ''; } elseif( idesign_is_plugin_installed($pluginTitle) == false ) { $activation_button .= '' . esc_html__( 'Install and activate', 'i-design' ) . ''; $activation_button .= ''; $activation_button .= ''; } else { $activation_button .= '' . esc_html__( 'Activate', 'i-design' ) . ''; $activation_button .= ''; } $activation_button .= '
'; return $intropop_content.$activation_button; } function idesign_customizer_demolist () { $intropop_content = ''; $intropop_plugins = ''; $demolist = idesign_import_files(); $intropop_classes = ''; global $current_user ; $user_id = $current_user->ID; $show_pop_meta = get_user_meta($user_id, 'idesign_txoc_show_pops'); if ( is_plugin_active( 'templatesnext-toolkit/tx-toolkit.php' ) ) { if ( !empty($show_pop_meta) ){ if ( '1' == $show_pop_meta[0] ) { $intropop_content .= '
'; } elseif ( '0' == $show_pop_meta[0] ) { $intropop_content .= '
'; } } else { $intropop_content .= '
'; } } else { if ( !empty($show_pop_meta) ){ if ( '1' == $show_pop_meta[0] ) { $intropop_content .= '