name . (ASIA_GARDEN_THEME_FREE ? ' ' . esc_html__('Free', 'asia-garden') : ''); add_theme_page( // Translators: Add theme name to the page title sprintf(esc_html__('About %s', 'asia-garden'), $theme_name), //page_title // Translators: Add theme name to the page title sprintf(esc_html__('About %s', 'asia-garden'), $theme_name), //menu_title 'manage_options', //capability 'asia_garden_about', //menu_slug 'asia_garden_about_page_builder', //callback 'dashicons-format-status', //icon '' //menu position ); } } // Load page-specific scripts and styles if (!function_exists('asia_garden_about_enqueue_scripts')) { add_action( 'admin_enqueue_scripts', 'asia_garden_about_enqueue_scripts' ); function asia_garden_about_enqueue_scripts() { $screen = function_exists('get_current_screen') ? get_current_screen() : false; if (is_object($screen) && $screen->id == 'appearance_page_asia_garden_about') { // Scripts wp_enqueue_script( 'jquery-ui-tabs', false, array('jquery', 'jquery-ui-core'), null, true ); if ( asia_garden_get_file_dir('theme-specific/theme.about/theme.about.js')!='' ) wp_enqueue_script( 'asia_garden-about', asia_garden_get_file_url('theme-specific/theme.about/theme.about.js'), array('jquery'), null, true ); // Styles wp_enqueue_style( 'asia_garden-icons', asia_garden_get_file_url('css/font-icons/css/fontello-embedded.css') ); if ( asia_garden_get_file_dir('theme-specific/theme.about/theme.about.css')!='' ) wp_enqueue_style( 'asia_garden-about', asia_garden_get_file_url('theme-specific/theme.about/theme.about.css'), array(), null ); } } } // Build 'About Theme' page if (!function_exists('asia_garden_about_page_builder')) { function asia_garden_about_page_builder() { $theme = wp_get_theme(); ?>
%2$s Pro Theme.', 'asia-garden'),
esc_url(asia_garden_storage_get('theme_download_url')),
$theme->name
)
);
// Translators: Add the theme name and supported plugins list to the message
echo '
' . wp_kses_data(sprintf(__('This version is SEO- and Retina-ready. It also has a built-in support for parallax and slider with swipe gestures. %1$s Free is compatible with many popular plugins, such as %2$s', 'asia-garden'),
$theme->name,
asia_garden_about_get_supported_plugins()
)
);
?>
Pro Version here', 'asia-garden'), esc_url(asia_garden_storage_get('theme_download_url')) ) ); ?>
name ) ); ?>