parent()->get( 'Name' ) ) ) ); $theme_slug = trim( strtolower( str_replace( ' (Lite)', '-lite', $theme_data->parent()->get( 'Name' ) ) ) ); $theme_version = $theme_data->parent()->get( 'Version' ); } else { $theme_name = trim( strtolower( str_replace( ' (Lite)', '', $theme_data->get( 'Name' ) ) ) ); $theme_slug = trim( strtolower( str_replace( ' (Lite)', '-lite', $theme_data->get( 'Name' ) ) ) ); $theme_version = $theme_data->get( 'Version' ); } $config = array( // Main welcome title 'welcome_title' => sprintf( __( 'Welcome to %1$s! - v', 'astronomy' ), ucfirst( $theme_name ) ), // Main welcome content 'welcome_content' => sprintf( esc_html__( '%1$s is a custom designed theme for astronomyseason.com.', 'astronomy' ), ucfirst( $theme_name ) ), /** * Tabs array. * * The key needs to be ONLY consisted from letters and underscores. If we want to define outside the class a function to render the tab, * the will be the name of the function which will be used to render the tab content. */ 'tabs' => array( 'getting_started' => __( 'Getting Started', 'astronomy' ), 'documentation' => __( 'Documentation', 'astronomy' ), 'support_content' => __( 'Support', 'astronomy' ), ), // Getting started tab 'getting_started' => array( 'first' => array ( 'title' => esc_html__( 'Setup Slideshow', 'astronomy' ), 'text' => sprintf( esc_html__( 'Add a slider to your site in seconds. Go to the Customizer -> Theme Options -> Homepage and choose Image Slider. Add up to 3 slides quickly!', 'astronomy' ), ucfirst( $theme_name ) ), 'button_label' => sprintf( esc_html__( 'View %1$s Pro', 'astronomy' ), ucfirst( $theme_name ) ), 'button_link' => esc_url( '//www.astronomythemes.com/themes/' . $theme_name . '/' ), 'is_button' => false, 'recommended_actions' => false, 'is_new_tab' => true, ), 'second' => array( 'title' => esc_html__( 'Setup Homepage', 'astronomy' ), 'text' => sprintf( esc_html__( 'Create a homepage fast. Go to the Customizer -> Theme Options -> Homepage (Featured) to start adding content. Add up to 3 sections fast!', 'astronomy' ), ucfirst( $theme_name ) ), 'button_label' => sprintf( esc_html__( 'View %1$s Pro', 'astronomy' ), ucfirst( $theme_name ) ), 'button_link' => esc_url( '//www.astronomythemes.com/themes/' . $theme_name . '/' ), 'is_button' => false, 'recommended_actions' => false, 'is_new_tab' => true, ), 'third' => array( 'title' => esc_html__( 'Go to Customizer', 'astronomy' ), 'text' => esc_html__( 'Using the WordPress Customizer you can easily customize every aspect of the theme.', 'astronomy' ), 'button_label' => esc_html__( 'Go to Customizer', 'astronomy' ), 'button_link' => esc_url( admin_url( 'customize.php' ) ), 'is_button' => true, 'recommended_actions' => false, 'is_new_tab' => true, ) ), // Documentation tab. 'documentation' => array( 'intro' => array ( 'section' => esc_html__( 'Intro', 'astronomy' ), 'title' => esc_html__( 'How to find what you\'re looking for.', 'astronomy' ), 'text_main' => __( '
The documentation below will have the same title as the corresponding option in the customizer theme options area.
To find what you\'re looking for simply expand the toggle by clicking on it below.
Get Started: You can find all of the theme specific options in the customizer under the Theme Options tab.
', 'astronomy' ), 'text_side' => '', 'hidden' => true, ), '101' => array ( 'section' => esc_html__( 'General Settings', 'astronomy' ), 'title' => esc_html__( 'Page Layout', 'astronomy' ), 'icon' => 'dashicons dashicons-sos', 'text_main' => __( 'This option can be used to add a sidebar to all pages on your site. To add a sidebar:
This layout will be applied to all pages published on your website. This will not be applied to the homepage or blog posts. To add a sidebar to the homepage or blog posts go to the relevant section.
', 'astronomy' ), 'button_label' => sprintf( esc_html__( 'Get %1$s Pro', 'astronomy' ), ucfirst( $theme_name ) ), 'button_link' => esc_url( '//www.astronomythemes.com/themes/' . $theme_name . '/' ), 'is_button' => true, 'is_new_tab' => true, 'hidden' => '', ), '102' => array ( 'section' => esc_html__( 'General Settings', 'astronomy' ), 'title' => esc_html__( 'Enable Fixed Layout', 'astronomy' ), 'icon' => 'dashicons dashicons-sos', 'text_main' => __( 'By default your website will be responsive. If you would like to disable this simply turn this switch on.
The responsive trigger widths are:
Turn on to display site wide breadcrumbs. These are displayed at the top of each page and show the parent pages of the current page being viewed.
By default a forward slash (/) will be used to separate pages in the breadcrumb. If you prefer to use a different separator you can specify this using the delimiter input field.
', 'astronomy' ), 'text_side' => '', 'button_label' => sprintf( esc_html__( 'Get %1$s Pro', 'astronomy' ), ucfirst( $theme_name ) ), 'button_link' => esc_url( '//www.astronomythemes.com/themes/' . $theme_name . '/' ), 'is_button' => false, 'is_new_tab' => true, 'hidden' => '', ), '201' => array ( 'section' => esc_html__( 'Homepage', 'astronomy' ), 'title' => esc_html__( 'Homepage Layout', 'astronomy' ), 'icon' => 'dashicons dashicons-sos', 'text_main' => __( 'This option can be used to add a sidebar to the homepage on your site. To add a sidebar:
This layout will be applied only to the homepage on your website. This will not be applied to inner pages or blog posts. To add a sidebar to inner pages or blog posts go to the relevant section.
', 'astronomy' ), 'button_label' => sprintf( esc_html__( 'Get %1$s Pro', 'astronomy' ), ucfirst( $theme_name ) ), 'button_link' => esc_url( '//www.astronomythemes.com/themes/' . $theme_name . '/' ), 'is_button' => true, 'is_new_tab' => true, 'hidden' => '', ), '202' => array ( 'section' => esc_html__( 'Homepage', 'astronomy' ), 'title' => esc_html__( 'Homepage Slider', 'astronomy' ), 'icon' => 'dashicons dashicons-sos', 'text_main' => sprintf( __( '%1$s comes with a image slider which can be used to add slideshow to the top of your homepage.
To use the image slider:
Don\'t want a slider? To disable the slider entirely simply press the "Disable" option.
', 'astronomy' ), ucfirst( $theme_name ) ), 'button_label' => sprintf( esc_html__( 'Get %1$s Pro', 'astronomy' ), ucfirst( $theme_name ) ), 'button_link' => esc_url( '//www.astronomythemes.com/themes/' . $theme_name . '/' ), 'is_button' => true, 'is_new_tab' => true, 'hidden' => '', ), '203' => array ( 'section' => esc_html__( 'Homepage', 'astronomy' ), 'title' => esc_html__( 'Call To Action - Intro', 'astronomy' ), 'icon' => 'dashicons dashicons-sos', 'text_main' => __( 'Add a call to action message box at the top of content area of the homepage.
To add the call to action message box do the following:
Add a call to action message box at the bottom of content area of the homepage.
To add the call to action message box do the following:
Add up to 3 featured sections to your homepage. These display only on the homepage at the top of the content area. These can be used to add an image, title, text and a button to get your visitors attention.
To add a featured section:
Don\'t want a featured section? Simply turn the "Enable Pre-Made Homepage" switch off.
', 'astronomy' ), 'button_label' => sprintf( esc_html__( 'Get %1$s Pro', 'astronomy' ), ucfirst( $theme_name ) ), 'button_link' => esc_url( '//www.astronomythemes.com/themes/' . $theme_name . '/' ), 'is_button' => true, 'is_new_tab' => true, 'hidden' => true, ), '303' => array ( 'section' => esc_html__( 'Homepage (Featured)', 'astronomy' ), 'title' => __( 'Pre-Made HomepageIcon', 'astronomy' ), 'icon' => 'dashicons dashicons-sos', 'text_main' => __( 'Add up to 3 featured sections to your homepage. These display only on the homepage at the top of the content area. These can be used to add an icon, title, text and a button to get your visitors attention.
To add a featured section:
Don\'t want a featured section? Simply turn the "Enable Pre-Made Homepage" switch off.
', 'astronomy' ), 'button_label' => sprintf( esc_html__( 'Get %1$s Pro', 'astronomy' ), ucfirst( $theme_name ) ), 'button_link' => esc_url( '//www.astronomythemes.com/themes/' . $theme_name . '/' ), 'is_button' => true, 'is_new_tab' => true, 'hidden' => '', ), '401' => array ( 'section' => esc_html__( 'Header', 'astronomy' ), 'title' => esc_html__( 'Enable Search (Pre Header)', 'astronomy' ), 'icon' => 'dashicons dashicons-sos', 'text_main' => __( 'Turn this on to add a search box to your website. The search box will display at top of your website.
', 'astronomy' ), 'text_side' => '', 'button_label' => sprintf( esc_html__( 'Get %1$s Pro', 'astronomy' ), ucfirst( $theme_name ) ), 'button_link' => esc_url( '//www.astronomythemes.com/themes/' . $theme_name . '/' ), 'is_button' => false, 'is_new_tab' => true, 'hidden' => '', ), '501' => array ( 'section' => esc_html__( 'Footer', 'astronomy' ), 'title' => esc_html__( 'Footer Widgets Layout', 'astronomy' ), 'icon' => 'dashicons dashicons-sos', 'text_main' => __( 'Choose from 18 different footer layouts. Simply select the layout you want and save changes.
When you have chosen a layout please ensure that widgets are assigned to the footer area. To do this:
Turn this on if you want to disable the main footer area entirely.
', 'astronomy' ), 'button_label' => sprintf( esc_html__( 'Get %1$s Pro', 'astronomy' ), ucfirst( $theme_name ) ), 'button_link' => esc_url( '//www.astronomythemes.com/themes/' . $theme_name . '/' ), 'is_button' => true, 'is_new_tab' => true, 'hidden' => '', ), '601' => array ( 'section' => esc_html__( 'Social Media', 'astronomy' ), 'title' => esc_html__( 'Social Media', 'astronomy' ), 'icon' => 'dashicons dashicons-sos', 'text_main' => __( 'Links to your favorite social media sites can be added to the header area in seconds. Plus each link comes with a nice tooltip showing the name of the social media site when the link is hovered over.
To enable social media links:
There are 7 different social platforms you can choose to show:
To display a link to any of these you\'ll first need to switch on the button for the social platform you want to activate and then also add a link to your profile page.
', 'astronomy' ), 'button_label' => sprintf( esc_html__( 'Get %1$s Pro', 'astronomy' ), ucfirst( $theme_name ) ), 'button_link' => esc_url( '//www.astronomythemes.com/themes/' . $theme_name . '/' ), 'is_button' => true, 'is_new_tab' => true, 'hidden' => '', ), '701' => array ( 'section' => esc_html__( 'Blog', 'astronomy' ), 'title' => esc_html__( 'Blog Layout', 'astronomy' ), 'icon' => 'dashicons dashicons-sos', 'text_main' => __( 'This option can be used to add a sidebar to blog archive pages. To add a sidebar:
This layout will be applied only to blog archive pages. This will not be applied to inner pages or posts. To add a sidebar to inner pages or posts go to the relevant section.
', 'astronomy' ), 'button_label' => sprintf( esc_html__( 'Get %1$s Pro', 'astronomy' ), ucfirst( $theme_name ) ), 'button_link' => esc_url( '//www.astronomythemes.com/themes/' . $theme_name . '/' ), 'is_button' => true, 'is_new_tab' => true, 'hidden' => '', ), '702' => array ( 'section' => esc_html__( 'Blog', 'astronomy' ), 'title' => esc_html__( 'Post Content', 'astronomy' ), 'icon' => 'dashicons dashicons-sos', 'text_main' => __( 'Choose how much of individual post contents should be displayed.
Show Excerpt:
Show Full Article:
Hide Article:
This option can be used to add a sidebar to blog posts. To add a sidebar:
This layout will be applied only to blog posts. This will not be applied to inner pages or blog archive pages. To add a sidebar to inner pages or blog archives to the relevant section.
', 'astronomy' ), 'button_label' => sprintf( esc_html__( 'Get %1$s Pro', 'astronomy' ), ucfirst( $theme_name ) ), 'button_link' => esc_url( '//www.astronomythemes.com/themes/' . $theme_name . '/' ), 'is_button' => true, 'is_new_tab' => true, 'hidden' => '', ), '704' => array ( 'section' => esc_html__( 'Blog', 'astronomy' ), 'title' => esc_html__( 'Show Author Bio', 'astronomy' ), 'icon' => 'dashicons dashicons-sos', 'text_main' => __( 'Turn this on to add an author bio to posts. This will displayed above the comments section and provides a bit of details about the author of the post. Author details will be picked up from their user profile.
To change your author details:
Any description put in here will be picked up and displayed in the author bio field.
', 'astronomy' ), 'text_side' => '', 'button_label' => sprintf( esc_html__( 'Get %1$s Pro', 'astronomy' ), ucfirst( $theme_name ) ), 'button_link' => esc_url( '//www.astronomythemes.com/themes/' . $theme_name . '/' ), 'is_button' => false, 'is_new_tab' => true, 'hidden' => '', ), ), // Support content tab. 'support_content' => array( 'first' => array ( 'title' => esc_html__( 'Free Support', 'astronomy' ), 'icon' => 'dashicons dashicons-sos', 'text' => esc_html__( '', 'astronomy' ), 'button_label' => esc_html__( 'Contact Free Support', 'astronomy' ), 'button_link' => esc_url( '//wordpress.org/support/theme/' . $theme_slug . '/' ), 'is_button' => false, 'is_new_tab' => true, ), 'second' => array( 'title' => esc_html__( 'Changelog', 'astronomy' ), 'icon' => 'dashicons dashicons-portfolio', 'text' => esc_html__( 'Want to know what\'s been happing with the latest changes? Take a look at the changelog. Your can find this in the themes readme.txt file.', 'astronomy' ), 'button_label' => '', 'button_link' => '', 'is_button' => false, 'is_new_tab' => false, ), ), // Free vs pro array. ); astronomy_astronomy_toolbox_about_page::init( $config ); } add_action('after_setup_theme', 'astronomy_astronomy_toolbox_setup'); ?>