parent(); } $link_icon = ''; $star_icon = ''; $admin_url = admin_url(); function import_button_html() { // Check if the plugin is installed and not activated if (file_exists(WP_PLUGIN_DIR . '/mailchimp-for-wp/mailchimp-for-wp.php') && is_plugin_inactive('mailchimp-for-wp/mailchimp-for-wp.php')) { $bloglex_btn_texts = __('Activate WpInterface Add-Ons', 'bloglex'); $button_url = $admin_url . 'plugins.php?action=activate&plugin=mailchimp-for-wp/mailchimp-for-wp.php&plugin_status=all&paged=1&s&_wpnonce=' . wp_create_nonce('activate-plugin_mailchimp-for-wp/mailchimp-for-wp.php'); } // Check if the plugin is not installed elseif (!file_exists(WP_PLUGIN_DIR . '/wpinterface-add-ons/wpinterface-add-ons.php')&& is_plugin_inactive('wpinterface-add-ons/wpinterface-add-ons.php')) { $bloglex_btn_texts = __('Install WpInterface Add-Ons', 'bloglex'); $button_url = $admin_url . 'plugin-install.php?s=wpinterface-add-ons&tab=search&type=term'; } // Default to view starter templates else { $bloglex_btn_texts = __('View Starter Templates', 'bloglex'); $button_url = '#'; // Replace with the actual URL for viewing starter templates } $html = '' . esc_html($bloglex_btn_texts) . ''; return $html; } ?>

pro_status) { ?>
Bloglex WordPress Theme
esc_html__('Site Identity', 'bloglex'), 'type' => 'section', 'id' => 'title_tagline', ), array( 'title' => esc_html__('Header Options', 'bloglex'), 'type' => 'panel', 'id' => 'header_options_panel', ), array( 'title' => esc_html__('Footer Options', 'bloglex'), 'type' => 'panel', 'id' => 'footer_options_panel', ), array( 'title' => esc_html__('Global Colors', 'bloglex'), 'type' => 'section', 'id' => 'colors', ), array( 'title' => esc_html__('Archive Sidebar Options', 'bloglex'), 'type' => 'section', 'id' => 'sidebar_options', ), array( 'title' => esc_html__('Single Sidebar Options', 'bloglex'), 'type' => 'section', 'id' => 'single_sidebar_options', ), ); // Loop through the settings items foreach ($settings_items as $item) { ?>

pro_status) { ?>
esc_html__('Font Options', 'bloglex'), 'link' => 'https://docs.wpinterface.com/docs/font-options/', ), array( 'title' => esc_html__('Webmaster Tools', 'bloglex'), 'link' => 'https://docs.wpinterface.com/docs/webmaster-tools/', ), array( 'title' => esc_html__('Advanced Color options', 'bloglex'), 'link' => 'https://docs.wpinterface.com/docs/color-options/', ), array( 'title' => esc_html__('Social Share', 'bloglex'), 'link' => 'https://docs.wpinterface.com/docs/social-share/', ), array( 'title' => esc_html__('Reaction Add-Ons', 'bloglex'), 'link' => 'https://docs.wpinterface.com/docs/reaction-add-ons/', ), array( 'title' => esc_html__('Remove Theme Credit', 'bloglex'), 'link' => 'https://docs.wpinterface.com/docs/remove-theme-credit/', ), array( 'title' => esc_html__('Extra Widget Area', 'bloglex'), 'link' => 'https://docs.wpinterface.com/docs/extra-widget-area/', ), array( 'title' => esc_html__('Modal Popup Module', 'bloglex'), 'link' => 'https://docs.wpinterface.com/docs/modal-popup-module/', ), array( 'title' => esc_html__('Extra Customizer Sections', 'bloglex'), 'link' => 'https://docs.wpinterface.com/docs/extra-customizer-sections/', ), array( 'title' => esc_html__('Offcanvas Content Module', 'bloglex'), 'link' => 'https://docs.wpinterface.com/docs/offcanvas-content-module/', ), array( 'title' => esc_html__('Instagram Widget', 'bloglex'), 'link' => 'https://docs.wpinterface.com/docs/instagram-widget/', ), array( 'title' => esc_html__('FSE Support', 'bloglex'), 'link' => 'https://docs.wpinterface.com/docs/fse-support/', ), // Add more items as needed ); // Loop through the premium features items foreach ($premium_features_items as $item) { ?>

Name ); ?>

pro_status) { ?>

'One Click Demo Import', 'file' => 'one-click-demo-import/one-click-demo-import.php', 'slug' => 'one-click-demo-import', 'color' => '#5317AA', 'image' => BLOGLEX_PARENT_URL . '/inc/admin/dashboard/images/ocdi-256x256.webp', ), array( 'name' => 'WpInterface Add Ons', 'file' => 'wpinterface-add-ons/wpinterface-add-ons.php', 'slug' => 'wpinterface-add-ons', 'color' => '#5317AA', 'image' => BLOGLEX_PARENT_URL . '/inc/admin/dashboard/images/addons-256x256.webp', ), ); // Loop through the plugins foreach ($plugins as $plugin) { $plugin_name = $plugin['name']; $plugin_file = $plugin['file']; $plugin_slug = $plugin['slug']; $is_plugin_installed = bloglex_is_plugin_installed($plugin_file); $is_plugin_activated = is_plugin_active($plugin_file); ?>