Name), sprintf(esc_html__('%s theme', 'boston'), $theme_data->Name), 'edit_theme_options', 'boston', 'boston_theme_info_page'); } } if ( ! function_exists( 'boston_admin_scripts' ) ) { /** * Enqueue scripts for admin page only: Theme info page */ function boston_admin_scripts( $hook ) { if ($hook === 'appearance_page_boston') { wp_enqueue_style('boston-admin-css', get_template_directory_uri() . '/assets/css/admin.css'); // Add recommend plugin css wp_enqueue_style( 'plugin-install' ); wp_enqueue_script( 'plugin-install' ); wp_enqueue_script( 'updates' ); add_thickbox(); } } } add_action('admin_enqueue_scripts', 'boston_admin_scripts'); if ( ! function_exists( 'boston_theme_info_page' ) ) { function boston_theme_info_page() { $theme_data = wp_get_theme(); // Check for current viewing tab $tab = null; if ( isset( $_GET['tab'] ) ) { $tab = $_GET['tab']; } else { $tab = null; } ?>
'; printf( esc_html__( 'Hey, you will need to install and activate the %1$s plugin first.', 'boston' ), ''.esc_html__( 'FameThemes Demo Importer', 'boston' ).'' ); echo '
'; echo ''; ?>| Boston | Boston Pro | |
|---|---|---|
Responsive Design |
||
Translation Ready |
||
Upload Your Own Logo |
||
Featured Content |
||
Sidebar Layout |
||
Featured Content Slider |
||
4 Article Listing Layout |
||
600+ Google fonts |
||
600+ Google fonts |
||
Social Media Icons |
||
Instagram Feed Widget |
||
Footer Widget Area |
||
Footer Copyright Editor |
||
24/7 Priority Support |
||
| Get Boston Pro now! | ||