array( 'title' => esc_html__('General Settings', 'maizzy'), 'sections' => array( array( 'title' => esc_html__('Logo & Site Identity', 'maizzy'), 'url' => esc_url($base_url . '/wp-admin/customize.php?autofocus%5Bcontrol%5D=custom_logo'), 'icon' => 'dashicons-format-image', ), array( 'title' => esc_html__('Background Image', 'maizzy'), 'url' => esc_url($base_url . '/wp-admin/customize.php?autofocus%5Bsection%5D=background_image'), 'icon' => 'dashicons-desktop', ), array( 'title' => esc_html__('Menu Settings', 'maizzy'), 'url' => esc_url($base_url . '/wp-admin/customize.php?autofocus%5Bpanel%5D=nav_menus'), 'icon' => 'dashicons-menu', ), ), ), 'theme_colors_panel' => array( 'title' => esc_html__('Color Settings', 'maizzy'), 'sections' => array( array( 'title' => esc_html__('Color Options', 'maizzy'), 'url' => esc_url($base_url . '/wp-admin/customize.php?autofocus%5Bsection%5D=colors'), 'icon' => 'dashicons-admin-customizer', ), array( 'title' => esc_html__('Color Scheme', 'maizzy'), 'url' => esc_url($base_url . '/wp-admin/customize.php?autofocus%5Bsection%5D=color_scheme'), 'icon' => 'dashicons-art', ), array( 'title' => esc_html__('Category Scheme', 'maizzy'), 'url' => esc_url($base_url . '/wp-admin/customize.php?autofocus%5Bsection%5D=maizzy_category_color_section'), 'icon' => 'dashicons-art', ), ), ), 'theme_option_panel' => array( 'title' => esc_html__('Theme Options', 'maizzy'), 'sections' => array( array( 'title' => esc_html__('Header Settings', 'maizzy'), 'url' => esc_url($base_url . '/wp-admin/customize.php?autofocus%5Bsection%5D=main_header_setting'), 'icon' => 'dashicons-align-center', ), array( 'title' => esc_html__('Pagination Settings', 'maizzy'), 'url' => esc_url($base_url . '/wp-admin/customize.php?autofocus%5Bsection%5D=maizzy_pagination_section'), 'icon' => 'dashicons-ellipsis', ), array( 'title' => esc_html__('Post Settings', 'maizzy'), 'url' => esc_url($base_url . '/wp-admin/customize.php?autofocus%5Bsection%5D=posts_settings'), 'icon' => 'dashicons-admin-settings', ), array( 'title' => esc_html__('Single Post Settings', 'maizzy'), 'url' => esc_url($base_url . '/wp-admin/customize.php?autofocus%5Bsection%5D=single_post_setting'), 'icon' => 'dashicons-welcome-write-blog', ), array( 'title' => esc_html__('Animation Settings', 'maizzy'), 'url' => esc_url($base_url . '/wp-admin/customize.php?autofocus%5Bsection%5D=animation_settings'), 'icon' => 'dashicons-layout', ), array( 'title' => esc_html__('Footer Setting', 'maizzy'), 'url' => esc_url($base_url . '/wp-admin/customize.php?autofocus%5Bsection%5D=footer_widget_area'), 'icon' => 'dashicons-admin-generic', ), ), ), ); //Free vs Pro $maizzy_panel_compare = array( array( 'title' => __('Supports One Click Demo Import', 'maizzy'), 'free' => __('yes', 'maizzy'), 'pro' => __('yes', 'maizzy'), ), array( 'title' => __('Logo and SiteTitle Option', 'maizzy'), 'free' => __('yes', 'maizzy'), 'pro' => __('yes', 'maizzy'), ), array( 'title' => __('Background Image', 'maizzy'), 'free' => __('yes', 'maizzy'), 'pro' => __('yes', 'maizzy'), ), array( 'title' => __('Light/Dark Mode', 'maizzy'), 'free' => __('no', 'maizzy'), 'pro' => __('yes', 'maizzy'), ), array( 'title' => __('Basic Color Option', 'maizzy'), 'free' => __('yes', 'maizzy'), 'pro' => __('yes', 'maizzy'), ), array( 'title' => __('Advance Color Option', 'maizzy'), 'free' => __('no', 'maizzy'), 'pro' => __('yes', 'maizzy'), ), array( 'title' => __('Webmaster Tools', 'maizzy'), 'free' => __('no', 'maizzy'), 'pro' => __('yes', 'maizzy'), ), array( 'title' => __('Typography Style Option', 'maizzy'), 'free' => __('no', 'maizzy'), 'pro' => __('yes', 'maizzy'), ), array( 'title' => __('Custom Widgets', 'maizzy'), 'free' => __('less', 'maizzy'), 'pro' => __('yes', 'maizzy'), ), array( 'title' => __('MP: Category Widget', 'maizzy'), 'free' => __('yes', 'maizzy'), 'pro' => __('yes', 'maizzy'), ), array( 'title' => __('MP: Recent Post Widget', 'maizzy'), 'free' => __('yes', 'maizzy'), 'pro' => __('yes', 'maizzy'), ), array( 'title' => __('MP: Social Widget', 'maizzy'), 'free' => __('3 Layout', 'maizzy'), 'pro' => __('5 Layout', 'maizzy'), ), array( 'title' => __('MP: Tab Posts Widget', 'maizzy'), 'free' => __('yes', 'maizzy'), 'pro' => __('yes', 'maizzy'), ), array( 'title' => __('Footer Widgets Area', 'maizzy'), 'free' => __('3', 'maizzy'), 'pro' => __('4', 'maizzy'), ), array( 'title' => __('Main Advertisement Area', 'maizzy'), 'free' => __('yes', 'maizzy'), 'pro' => __('yes', 'maizzy'), ), array( 'title' => __('Topbar (Date, Clock) Options', 'maizzy'), 'free' => __('yes', 'maizzy'), 'pro' => __('yes', 'maizzy'), ), array( 'title' => __('Table of Contents', 'maizzy'), 'free' => __('no', 'maizzy'), 'pro' => __('yes', 'maizzy'), ), array( 'title' => __('Coming Soon - Maintenance mode', 'maizzy'), 'free' => __('no', 'maizzy'), 'pro' => __('yes', 'maizzy'), ), array( 'title' => __('Onsite Popup Messages', 'maizzy'), 'free' => __('no', 'maizzy'), 'pro' => __('yes', 'maizzy'), ), array( 'title' => __('Social Nav Options', 'maizzy'), 'free' => __('yes', 'maizzy'), 'pro' => __('yes', 'maizzy'), ), array( 'title' => __('Header Advertisement Area', 'maizzy'), 'free' => __('yes', 'maizzy'), 'pro' => __('yes', 'maizzy'), ), array( 'title' => __('Breaking News Option', 'maizzy'), 'free' => __('yes', 'maizzy'), 'pro' => __('yes', 'maizzy'), ), array( 'title' => __('Pagination Options', 'maizzy'), 'free' => __('4', 'maizzy'), 'pro' => __('4', 'maizzy'), ), array( 'title' => __('Archive Options', 'maizzy'), 'free' => __('Limited', 'maizzy'), 'pro' => __('yes', 'maizzy'), ), array( 'title' => __('Multiple Post Layouts', 'maizzy'), 'free' => __('yes', 'maizzy'), 'pro' => __('yes', 'maizzy'), ), array( 'title' => __('Article Meta Options', 'maizzy'), 'free' => __('Limited', 'maizzy'), 'pro' => __('yes', 'maizzy'), ), array( 'title' => __('Single Post Options', 'maizzy'), 'free' => __('Limited', 'maizzy'), 'pro' => __('yes', 'maizzy'), ), array( 'title' => __('Multiple single Post Layouts', 'maizzy'), 'free' => __('yes', 'maizzy'), 'pro' => __('yes', 'maizzy'), ), array( 'title' => __('Copyright Text Edit Option', 'maizzy'), 'free' => __('no', 'maizzy'), 'pro' => __('yes', 'maizzy'), ), array( 'title' => __('Pre-loader Animations', 'maizzy'), 'free' => __('yes', 'maizzy'), 'pro' => __('yes', 'maizzy'), ), array( 'title' => __('Footer Navigation', 'maizzy'), 'free' => __('no', 'maizzy'), 'pro' => __('yes', 'maizzy'), ), array( 'title' => __('Instagram Feed Integration', 'maizzy'), 'free' => __('no', 'maizzy'), 'pro' => __('yes', 'maizzy'), ), array( 'title' => __('Twitter Feed Integration', 'maizzy'), 'free' => __('no', 'maizzy'), 'pro' => __('yes', 'maizzy'), ), array( 'title' => __('Facebook Fanpage widget', 'maizzy'), 'free' => __('no', 'maizzy'), 'pro' => __('yes', 'maizzy'), ), array( 'title' => __('Homepage Section Repeater', 'maizzy'), 'free' => __('no', 'maizzy'), 'pro' => __('yes', 'maizzy'), ), array( 'title' => __('Homepage Section Reorder', 'maizzy'), 'free' => __('yes', 'maizzy'), 'pro' => __('yes', 'maizzy'), ), array( 'title' => __('Multiple single Post Layouts', 'maizzy'), 'free' => __('yes', 'maizzy'), 'pro' => __('yes', 'maizzy'), ), array( 'title' => __('Theme Support', 'maizzy'), 'free' => __('Normal', 'maizzy'), 'pro' => __('High Priority', 'maizzy'), ), array( 'title' => __('Responsive Layout', 'maizzy'), 'free' => __('yes', 'maizzy'), 'pro' => __('yes', 'maizzy'), ), array( 'title' => __('Translations Ready', 'maizzy'), 'free' => __('yes', 'maizzy'), 'pro' => __('yes', 'maizzy'), ), array( 'title' => __('SEO Optimized', 'maizzy'), 'free' => __('yes', 'maizzy'), 'pro' => __('yes', 'maizzy'), ), ); include_once ABSPATH . 'wp-admin/includes/plugin-install.php'; $rec_plugins = Maizzy_Getting_started::maizzy_recommended_plugins(); $theme_version = wp_get_theme()->get('Version'); $theme_info = wp_get_theme(); $theme_name = $theme_info->__get('Name'); $pro_theme_name = $theme_name . ' Pro'; $free_theme_url = 'https://www.themeinwp.com/theme/maizzy'; $pro_theme_url = 'https://www.themeinwp.com/theme/maizzy-pro'; ?>

$plugin) { $plugin_info = plugins_api( 'plugin_information', array( 'slug' => sanitize_key(wp_unslash($key)), 'fields' => array( 'sections' => false, ), ) ); $plugin_status = Maizzy_Getting_started::maizzy_plugin_status($plugin['class'], $key, $plugin['PluginFile']); ?>
'', 'desc' => '', 'free' => '', 'pro' => '', ); if (!empty($free_pro) && is_array($free_pro)) { echo '
'; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; foreach ($free_pro as $feature) { $instance = wp_parse_args((array) $feature, $defaults); /*allowed 7 value in array */ $title = $instance['title']; $desc = $instance['desc']; $free = $instance['free']; $pro = $instance['pro']; echo ''; if (!empty($title) || !empty($desc)) { echo ''; } if (!empty($free)) { if ('yes' === $free) { echo ''; } elseif ('no' === $free) { echo ''; } else { echo ''; } } if (!empty($pro)) { if ('yes' === $pro) { echo ''; } elseif ('no' === $pro) { echo ''; } else { echo ''; } } echo ''; } echo ''; echo '
' . $theme_name . '' . $pro_theme_name . '
'; if (!empty($title)) { echo '

' . wp_kses_post($title) . '

'; } if (!empty($desc)) { echo '

' . wp_kses_post($desc) . '

'; } echo '
' . esc_html($free) . '' . esc_html($pro) . '
'; echo '
'; } } ?>
get_contents(get_stylesheet_directory() . '/classes/changelog.txt'); } else { $changelog = $wp_filesystem->get_contents(get_template_directory() . '/classes/changelog.txt'); } if (is_wp_error($changelog)) { $changelog = ''; } if (!empty($changelog)) { echo ''; } ?>