Файловый менеджер - Редактировать - /home/infrafs/INFRABIKEIT/wp-content/plugins/options.zip
Назад
PK $�3\�G�>� � reset/map.phpnu �[��� <?php if ( ! function_exists( 'trackstore_elated_reset_options_map' ) ) { /** * Reset options panel */ function trackstore_elated_reset_options_map() { trackstore_elated_add_admin_page( array( 'slug' => '_reset_page', 'title' => esc_html__( 'Reset', 'trackstore' ), 'icon' => 'fa fa-retweet' ) ); $panel_reset = trackstore_elated_add_admin_panel( array( 'page' => '_reset_page', 'name' => 'panel_reset', 'title' => esc_html__( 'Reset', 'trackstore' ) ) ); trackstore_elated_add_admin_field( array( 'type' => 'yesno', 'name' => 'reset_to_defaults', 'default_value' => 'no', 'label' => esc_html__( 'Reset to Defaults', 'trackstore' ), 'description' => esc_html__( 'This option will reset all Select Options values to defaults', 'trackstore' ), 'parent' => $panel_reset ) ); } add_action( 'trackstore_elated_options_map', 'trackstore_elated_reset_options_map', 18 ); }PK $�3\�f�Se Se general/map.phpnu �[��� <?php if ( ! function_exists( 'trackstore_elated_general_options_map' ) ) { /** * General options page */ function trackstore_elated_general_options_map() { trackstore_elated_add_admin_page( array( 'slug' => '', 'title' => esc_html__( 'General', 'trackstore' ), 'icon' => 'fa fa-institution' ) ); $panel_design_style = trackstore_elated_add_admin_panel( array( 'page' => '', 'name' => 'panel_design_style', 'title' => esc_html__( 'Design Style', 'trackstore' ) ) ); trackstore_elated_add_admin_field( array( 'name' => 'google_fonts', 'type' => 'font', 'default_value' => '-1', 'label' => esc_html__( 'Google Font Family', 'trackstore' ), 'description' => esc_html__( 'Choose a default Google font for your site', 'trackstore' ), 'parent' => $panel_design_style ) ); trackstore_elated_add_admin_field( array( 'name' => 'additional_google_fonts', 'type' => 'yesno', 'default_value' => 'no', 'label' => esc_html__( 'Additional Google Fonts', 'trackstore' ), 'parent' => $panel_design_style, 'args' => array( "dependence" => true, "dependence_hide_on_yes" => "", "dependence_show_on_yes" => "#eltd_additional_google_fonts_container" ) ) ); $additional_google_fonts_container = trackstore_elated_add_admin_container( array( 'parent' => $panel_design_style, 'name' => 'additional_google_fonts_container', 'hidden_property' => 'additional_google_fonts', 'hidden_value' => 'no' ) ); trackstore_elated_add_admin_field( array( 'name' => 'additional_google_font1', 'type' => 'font', 'default_value' => '-1', 'label' => esc_html__( 'Font Family', 'trackstore' ), 'description' => esc_html__( 'Choose additional Google font for your site', 'trackstore' ), 'parent' => $additional_google_fonts_container ) ); trackstore_elated_add_admin_field( array( 'name' => 'additional_google_font2', 'type' => 'font', 'default_value' => '-1', 'label' => esc_html__( 'Font Family', 'trackstore' ), 'description' => esc_html__( 'Choose additional Google font for your site', 'trackstore' ), 'parent' => $additional_google_fonts_container ) ); trackstore_elated_add_admin_field( array( 'name' => 'additional_google_font3', 'type' => 'font', 'default_value' => '-1', 'label' => esc_html__( 'Font Family', 'trackstore' ), 'description' => esc_html__( 'Choose additional Google font for your site', 'trackstore' ), 'parent' => $additional_google_fonts_container ) ); trackstore_elated_add_admin_field( array( 'name' => 'additional_google_font4', 'type' => 'font', 'default_value' => '-1', 'label' => esc_html__( 'Font Family', 'trackstore' ), 'description' => esc_html__( 'Choose additional Google font for your site', 'trackstore' ), 'parent' => $additional_google_fonts_container ) ); trackstore_elated_add_admin_field( array( 'name' => 'additional_google_font5', 'type' => 'font', 'default_value' => '-1', 'label' => esc_html__( 'Font Family', 'trackstore' ), 'description' => esc_html__( 'Choose additional Google font for your site', 'trackstore' ), 'parent' => $additional_google_fonts_container ) ); trackstore_elated_add_admin_field( array( 'name' => 'google_font_weight', 'type' => 'checkboxgroup', 'default_value' => '', 'label' => esc_html__( 'Google Fonts Style & Weight', 'trackstore' ), 'description' => esc_html__( 'Choose a default Google font weights for your site. Impact on page load time', 'trackstore' ), 'parent' => $panel_design_style, 'options' => array( '100' => esc_html__( '100 Thin', 'trackstore' ), '100i' => esc_html__( '100 Thin Italic', 'trackstore' ), '200' => esc_html__( '200 Extra-Light', 'trackstore' ), '200i' => esc_html__( '200 Extra-Light Italic', 'trackstore' ), '300' => esc_html__( '300 Light', 'trackstore' ), '300i' => esc_html__( '300 Light Italic', 'trackstore' ), '400' => esc_html__( '400 Regular', 'trackstore' ), '400i' => esc_html__( '400 Regular Italic', 'trackstore' ), '500' => esc_html__( '500 Medium', 'trackstore' ), '500i' => esc_html__( '500 Medium Italic', 'trackstore' ), '600' => esc_html__( '600 Semi-Bold', 'trackstore' ), '600i' => esc_html__( '600 Semi-Bold Italic', 'trackstore' ), '700' => esc_html__( '700 Bold', 'trackstore' ), '700i' => esc_html__( '700 Bold Italic', 'trackstore' ), '800' => esc_html__( '800 Extra-Bold', 'trackstore' ), '800i' => esc_html__( '800 Extra-Bold Italic', 'trackstore' ), '900' => esc_html__( '900 Ultra-Bold', 'trackstore' ), '900i' => esc_html__( '900 Ultra-Bold Italic', 'trackstore' ) ) ) ); trackstore_elated_add_admin_field( array( 'name' => 'google_font_subset', 'type' => 'checkboxgroup', 'default_value' => '', 'label' => esc_html__( 'Google Fonts Subset', 'trackstore' ), 'description' => esc_html__( 'Choose a default Google font subsets for your site', 'trackstore' ), 'parent' => $panel_design_style, 'options' => array( 'latin' => esc_html__( 'Latin', 'trackstore' ), 'latin-ext' => esc_html__( 'Latin Extended', 'trackstore' ), 'cyrillic' => esc_html__( 'Cyrillic', 'trackstore' ), 'cyrillic-ext' => esc_html__( 'Cyrillic Extended', 'trackstore' ), 'greek' => esc_html__( 'Greek', 'trackstore' ), 'greek-ext' => esc_html__( 'Greek Extended', 'trackstore' ), 'vietnamese' => esc_html__( 'Vietnamese', 'trackstore' ) ) ) ); trackstore_elated_add_admin_field( array( 'name' => 'first_color', 'type' => 'color', 'label' => esc_html__( 'First Main Color', 'trackstore' ), 'description' => esc_html__( 'Choose the most dominant theme color. Default color is #00bbb3', 'trackstore' ), 'parent' => $panel_design_style ) ); trackstore_elated_add_admin_field( array( 'name' => 'page_background_color', 'type' => 'color', 'label' => esc_html__( 'Page Background Color', 'trackstore' ), 'description' => esc_html__( 'Choose the background color for page content. Default color is #ffffff', 'trackstore' ), 'parent' => $panel_design_style ) ); trackstore_elated_add_admin_field( array( 'name' => 'selection_color', 'type' => 'color', 'label' => esc_html__( 'Text Selection Color', 'trackstore' ), 'description' => esc_html__( 'Choose the color users see when selecting text', 'trackstore' ), 'parent' => $panel_design_style ) ); /***************** Passepartout Layout - begin **********************/ trackstore_elated_add_admin_field( array( 'name' => 'boxed', 'type' => 'yesno', 'default_value' => 'no', 'label' => esc_html__( 'Boxed Layout', 'trackstore' ), 'parent' => $panel_design_style, 'args' => array( "dependence" => true, "dependence_hide_on_yes" => "", "dependence_show_on_yes" => "#eltd_boxed_container" ) ) ); $boxed_container = trackstore_elated_add_admin_container( array( 'parent' => $panel_design_style, 'name' => 'boxed_container', 'hidden_property' => 'boxed', 'hidden_value' => 'no' ) ); trackstore_elated_add_admin_field( array( 'name' => 'page_background_color_in_box', 'type' => 'color', 'label' => esc_html__( 'Page Background Color', 'trackstore' ), 'description' => esc_html__( 'Choose the page background color outside box', 'trackstore' ), 'parent' => $boxed_container ) ); trackstore_elated_add_admin_field( array( 'name' => 'boxed_background_image', 'type' => 'image', 'label' => esc_html__( 'Background Image', 'trackstore' ), 'description' => esc_html__( 'Choose an image to be displayed in background', 'trackstore' ), 'parent' => $boxed_container ) ); trackstore_elated_add_admin_field( array( 'name' => 'boxed_pattern_background_image', 'type' => 'image', 'label' => esc_html__( 'Background Pattern', 'trackstore' ), 'description' => esc_html__( 'Choose an image to be used as background pattern', 'trackstore' ), 'parent' => $boxed_container ) ); trackstore_elated_add_admin_field( array( 'name' => 'boxed_background_image_attachment', 'type' => 'select', 'default_value' => '', 'label' => esc_html__( 'Background Image Attachment', 'trackstore' ), 'description' => esc_html__( 'Choose background image attachment', 'trackstore' ), 'parent' => $boxed_container, 'options' => array( '' => esc_html__( 'Default', 'trackstore' ), 'fixed' => esc_html__( 'Fixed', 'trackstore' ), 'scroll' => esc_html__( 'Scroll', 'trackstore' ) ) ) ); /***************** Boxed Layout - end **********************/ /***************** Passepartout Layout - begin **********************/ trackstore_elated_add_admin_field( array( 'name' => 'paspartu', 'type' => 'yesno', 'default_value' => 'no', 'label' => esc_html__( 'Passepartout', 'trackstore' ), 'description' => esc_html__( 'Enabling this option will display passepartout around site content', 'trackstore' ), 'parent' => $panel_design_style, 'args' => array( "dependence" => true, "dependence_hide_on_yes" => "", "dependence_show_on_yes" => "#eltd_paspartu_container" ) ) ); $paspartu_container = trackstore_elated_add_admin_container( array( 'parent' => $panel_design_style, 'name' => 'paspartu_container', 'hidden_property' => 'paspartu', 'hidden_value' => 'no' ) ); trackstore_elated_add_admin_field( array( 'name' => 'paspartu_color', 'type' => 'color', 'label' => esc_html__( 'Passepartout Color', 'trackstore' ), 'description' => esc_html__( 'Choose passepartout color, default value is #ffffff', 'trackstore' ), 'parent' => $paspartu_container ) ); trackstore_elated_add_admin_field( array( 'name' => 'paspartu_width', 'type' => 'text', 'label' => esc_html__( 'Passepartout Size', 'trackstore' ), 'description' => esc_html__( 'Enter size amount for passepartout', 'trackstore' ), 'parent' => $paspartu_container, 'args' => array( 'col_width' => 2, 'suffix' => 'px or %' ) ) ); trackstore_elated_add_admin_field( array( 'name' => 'paspartu_responsive_width', 'type' => 'text', 'label' => esc_html__( 'Responsive Passepartout Size', 'trackstore' ), 'description' => esc_html__( 'Enter size amount for passepartout for smaller screens (tablets and mobiles view)', 'trackstore' ), 'parent' => $paspartu_container, 'args' => array( 'col_width' => 2, 'suffix' => 'px or %' ) ) ); trackstore_elated_add_admin_field( array( 'parent' => $paspartu_container, 'type' => 'yesno', 'default_value' => 'no', 'name' => 'disable_top_paspartu', 'label' => esc_html__( 'Disable Top Passepartout', 'trackstore' ) ) ); /***************** Passepartout Layout - end **********************/ /***************** Content Layout - begin **********************/ trackstore_elated_add_admin_field( array( 'name' => 'initial_content_width', 'type' => 'select', 'default_value' => '', 'label' => esc_html__( 'Initial Width of Content', 'trackstore' ), 'description' => esc_html__( 'Choose the initial width of content which is in grid (Applies to pages set to "Default Template" and rows set to "In Grid")', 'trackstore' ), 'parent' => $panel_design_style, 'options' => array( 'eltd-grid-1100' => esc_html__( '1100px - default', 'trackstore' ), 'eltd-grid-1300' => esc_html__( '1300px', 'trackstore' ), 'eltd-grid-1200' => esc_html__( '1200px', 'trackstore' ), 'eltd-grid-1000' => esc_html__( '1000px', 'trackstore' ), 'eltd-grid-800' => esc_html__( '800px', 'trackstore' ) ) ) ); trackstore_elated_add_admin_field( array( 'name' => 'preload_pattern_image', 'type' => 'image', 'label' => esc_html__( 'Preload Pattern Image', 'trackstore' ), 'description' => esc_html__( 'Choose preload pattern image to be displayed until images are loaded', 'trackstore' ), 'parent' => $panel_design_style ) ); /***************** Content Layout - end **********************/ $panel_settings = trackstore_elated_add_admin_panel( array( 'page' => '', 'name' => 'panel_settings', 'title' => esc_html__( 'Settings', 'trackstore' ) ) ); /***************** Smooth Scroll Layout - begin **********************/ trackstore_elated_add_admin_field( array( 'name' => 'page_smooth_scroll', 'type' => 'yesno', 'default_value' => 'no', 'label' => esc_html__( 'Smooth Scroll', 'trackstore' ), 'description' => esc_html__( 'Enabling this option will perform a smooth scrolling effect on every page (except on Mac and touch devices)', 'trackstore' ), 'parent' => $panel_settings ) ); /***************** Smooth Scroll Layout - end **********************/ /***************** Smooth Page Transitions Layout - begin **********************/ trackstore_elated_add_admin_field( array( 'name' => 'smooth_page_transitions', 'type' => 'yesno', 'default_value' => 'no', 'label' => esc_html__( 'Smooth Page Transitions', 'trackstore' ), 'description' => esc_html__( 'Enabling this option will perform a smooth transition between pages when clicking on links', 'trackstore' ), 'parent' => $panel_settings, 'args' => array( "dependence" => true, "dependence_hide_on_yes" => "", "dependence_show_on_yes" => "#eltd_page_transitions_container" ) ) ); $page_transitions_container = trackstore_elated_add_admin_container( array( 'parent' => $panel_settings, 'name' => 'page_transitions_container', 'hidden_property' => 'smooth_page_transitions', 'hidden_value' => 'no' ) ); trackstore_elated_add_admin_field( array( 'name' => 'page_transition_preloader', 'type' => 'yesno', 'default_value' => 'no', 'label' => esc_html__( 'Enable Preloading Animation', 'trackstore' ), 'description' => esc_html__( 'Enabling this option will display an animated preloader while the page content is loading', 'trackstore' ), 'parent' => $page_transitions_container, 'args' => array( "dependence" => true, "dependence_hide_on_yes" => "", "dependence_show_on_yes" => "#eltd_page_transition_preloader_container" ) ) ); $page_transition_preloader_container = trackstore_elated_add_admin_container( array( 'parent' => $page_transitions_container, 'name' => 'page_transition_preloader_container', 'hidden_property' => 'page_transition_preloader', 'hidden_value' => 'no' ) ); trackstore_elated_add_admin_field( array( 'name' => 'smooth_pt_bgnd_color', 'type' => 'color', 'label' => esc_html__( 'Page Loader Background Color', 'trackstore' ), 'parent' => $page_transition_preloader_container ) ); $group_pt_spinner_animation = trackstore_elated_add_admin_group( array( 'name' => 'group_pt_spinner_animation', 'title' => esc_html__( 'Loader Style', 'trackstore' ), 'description' => esc_html__( 'Define styles for loader spinner animation', 'trackstore' ), 'parent' => $page_transition_preloader_container ) ); $row_pt_spinner_animation = trackstore_elated_add_admin_row( array( 'name' => 'row_pt_spinner_animation', 'parent' => $group_pt_spinner_animation ) ); trackstore_elated_add_admin_field( array( 'type' => 'selectsimple', 'name' => 'smooth_pt_spinner_type', 'default_value' => '', 'label' => esc_html__( 'Spinner Type', 'trackstore' ), 'parent' => $row_pt_spinner_animation, 'options' => array( 'trackstore' => esc_html__( 'Trackstore', 'trackstore' ), 'rotate_circles' => esc_html__( 'Rotate Circles', 'trackstore' ), 'pulse' => esc_html__( 'Pulse', 'trackstore' ), 'double_pulse' => esc_html__( 'Double Pulse', 'trackstore' ), 'cube' => esc_html__( 'Cube', 'trackstore' ), 'rotating_cubes' => esc_html__( 'Rotating Cubes', 'trackstore' ), 'stripes' => esc_html__( 'Stripes', 'trackstore' ), 'wave' => esc_html__( 'Wave', 'trackstore' ), 'two_rotating_circles' => esc_html__( '2 Rotating Circles', 'trackstore' ), 'five_rotating_circles' => esc_html__( '5 Rotating Circles', 'trackstore' ), 'atom' => esc_html__( 'Atom', 'trackstore' ), 'clock' => esc_html__( 'Clock', 'trackstore' ), 'mitosis' => esc_html__( 'Mitosis', 'trackstore' ), 'lines' => esc_html__( 'Lines', 'trackstore' ), 'fussion' => esc_html__( 'Fussion', 'trackstore' ), 'wave_circles' => esc_html__( 'Wave Circles', 'trackstore' ), 'pulse_circles' => esc_html__( 'Pulse Circles', 'trackstore' ) ) ) ); trackstore_elated_add_admin_field( array( 'type' => 'colorsimple', 'name' => 'smooth_pt_spinner_color', 'default_value' => '', 'label' => esc_html__( 'Spinner Color', 'trackstore' ), 'parent' => $row_pt_spinner_animation ) ); trackstore_elated_add_admin_field( array( 'name' => 'page_transition_fadeout', 'type' => 'yesno', 'default_value' => 'no', 'label' => esc_html__( 'Enable Fade Out Animation', 'trackstore' ), 'description' => esc_html__( 'Enabling this option will turn on fade out animation when leaving page', 'trackstore' ), 'parent' => $page_transitions_container ) ); /***************** Smooth Page Transitions Layout - end **********************/ trackstore_elated_add_admin_field( array( 'name' => 'show_back_button', 'type' => 'yesno', 'default_value' => 'yes', 'label' => esc_html__( 'Show "Back To Top Button"', 'trackstore' ), 'description' => esc_html__( 'Enabling this option will display a Back to Top button on every page', 'trackstore' ), 'parent' => $panel_settings ) ); trackstore_elated_add_admin_field( array( 'name' => 'responsiveness', 'type' => 'yesno', 'default_value' => 'yes', 'label' => esc_html__( 'Responsiveness', 'trackstore' ), 'description' => esc_html__( 'Enabling this option will make all pages responsive', 'trackstore' ), 'parent' => $panel_settings ) ); $panel_custom_code = trackstore_elated_add_admin_panel( array( 'page' => '', 'name' => 'panel_custom_code', 'title' => esc_html__( 'Custom Code', 'trackstore' ) ) ); trackstore_elated_add_admin_field( array( 'name' => 'custom_css', 'type' => 'textarea', 'label' => esc_html__( 'Custom CSS', 'trackstore' ), 'description' => esc_html__( 'Enter your custom CSS here', 'trackstore' ), 'parent' => $panel_custom_code ) ); trackstore_elated_add_admin_field( array( 'name' => 'custom_js', 'type' => 'textarea', 'label' => esc_html__( 'Custom JS', 'trackstore' ), 'description' => esc_html__( 'Enter your custom Javascript here', 'trackstore' ), 'parent' => $panel_custom_code ) ); $panel_google_api = trackstore_elated_add_admin_panel( array( 'page' => '', 'name' => 'panel_google_api', 'title' => esc_html__( 'Google API', 'trackstore' ) ) ); trackstore_elated_add_admin_field( array( 'name' => 'google_maps_api_key', 'type' => 'text', 'label' => esc_html__( 'Google Maps Api Key', 'trackstore' ), 'description' => esc_html__( 'Insert your Google Maps API key here. For instructions on how to create a Google Maps API key, please refer to our to our documentation.', 'trackstore' ), 'parent' => $panel_google_api ) ); } add_action( 'trackstore_elated_options_map', 'trackstore_elated_general_options_map', 1 ); } if ( ! function_exists( 'trackstore_elated_page_general_style' ) ) { /** * Function that prints page general inline styles */ function trackstore_elated_page_general_style( $style ) { $current_style = ''; $page_id = trackstore_elated_get_page_id(); $class_prefix = trackstore_elated_get_unique_page_class( $page_id ); $boxed_background_style = array(); $boxed_page_background_color = trackstore_elated_get_meta_field_intersect( 'page_background_color_in_box', $page_id ); if ( ! empty( $boxed_page_background_color ) ) { $boxed_background_style['background-color'] = $boxed_page_background_color; } $boxed_page_background_image = trackstore_elated_get_meta_field_intersect( 'boxed_background_image', $page_id ); if ( ! empty( $boxed_page_background_image ) ) { $boxed_background_style['background-image'] = 'url(' . esc_url( $boxed_page_background_image ) . ')'; $boxed_background_style['background-position'] = 'center 0px'; $boxed_background_style['background-repeat'] = 'no-repeat'; } $boxed_page_background_pattern_image = trackstore_elated_get_meta_field_intersect( 'boxed_pattern_background_image', $page_id ); if ( ! empty( $boxed_page_background_pattern_image ) ) { $boxed_background_style['background-image'] = 'url(' . esc_url( $boxed_page_background_pattern_image ) . ')'; $boxed_background_style['background-position'] = '0px 0px'; $boxed_background_style['background-repeat'] = 'repeat'; } $boxed_page_background_attachment = trackstore_elated_get_meta_field_intersect( 'boxed_background_image_attachment', $page_id ); if ( ! empty( $boxed_page_background_attachment ) ) { $boxed_background_style['background-attachment'] = $boxed_page_background_attachment; } $boxed_background_selector = $class_prefix . '.eltd-boxed .eltd-wrapper'; if ( ! empty( $boxed_background_style ) ) { $current_style .= trackstore_elated_dynamic_css( $boxed_background_selector, $boxed_background_style ); } $paspartu_style = array(); $paspartu_res_style = array(); $paspartu_res_start = '@media only screen and (max-width: 1024px) {'; $paspartu_res_end = '}'; $paspartu_color = trackstore_elated_get_meta_field_intersect( 'paspartu_color', $page_id ); if ( ! empty( $paspartu_color ) ) { $paspartu_style['background-color'] = $paspartu_color; } $paspartu_width = trackstore_elated_get_meta_field_intersect( 'paspartu_width', $page_id ); if ( $paspartu_width !== '' ) { if ( trackstore_elated_string_ends_with( $paspartu_width, '%' ) || trackstore_elated_string_ends_with( $paspartu_width, 'px' ) ) { $paspartu_style['padding'] = $paspartu_width; } else { $paspartu_style['padding'] = $paspartu_width . 'px'; } } $paspartu_selector = $class_prefix . '.eltd-paspartu-enabled .eltd-wrapper'; if ( ! empty( $paspartu_style ) ) { $current_style .= trackstore_elated_dynamic_css( $paspartu_selector, $paspartu_style ); } $paspartu_responsive_width = trackstore_elated_get_meta_field_intersect( 'paspartu_responsive_width', $page_id ); if ( $paspartu_responsive_width !== '' ) { if ( trackstore_elated_string_ends_with( $paspartu_responsive_width, '%' ) || trackstore_elated_string_ends_with( $paspartu_responsive_width, 'px' ) ) { $paspartu_res_style['padding'] = $paspartu_responsive_width; } else { $paspartu_res_style['padding'] = $paspartu_responsive_width . 'px'; } } if ( ! empty( $paspartu_res_style ) ) { $current_style .= $paspartu_res_start . trackstore_elated_dynamic_css( $paspartu_selector, $paspartu_res_style ) . $paspartu_res_end; } $current_style = $current_style . $style; return $current_style; } add_filter( 'trackstore_elated_add_page_custom_style', 'trackstore_elated_page_general_style' ); }PK $�3\��6�� � eltd-options-setup.phpnu �[��� <?php if ( ! function_exists( 'trackstore_elated_admin_map_init' ) ) { function trackstore_elated_admin_map_init() { do_action( 'trackstore_elated_before_options_map' ); require_once ELATED_FRAMEWORK_ROOT_DIR . '/admin/options/fonts/map.php'; require_once ELATED_FRAMEWORK_ROOT_DIR . '/admin/options/general/map.php'; require_once ELATED_FRAMEWORK_ROOT_DIR . '/admin/options/page/map.php'; require_once ELATED_FRAMEWORK_ROOT_DIR . '/admin/options/social/map.php'; require_once ELATED_FRAMEWORK_ROOT_DIR . '/admin/options/reset/map.php'; do_action( 'trackstore_elated_options_map' ); do_action( 'trackstore_elated_after_options_map' ); } add_action( 'after_setup_theme', 'trackstore_elated_admin_map_init', 1 ); }PK $�3\ڍ�=K K fonts/map.phpnu �[��� <?php if ( ! function_exists( 'trackstore_elated_fonts_options_map' ) ) { /** * Font options page */ function trackstore_elated_fonts_options_map() { trackstore_elated_add_admin_page( array( 'slug' => '_fonts_page', 'title' => esc_html__( 'Fonts', 'trackstore' ), 'icon' => 'fa fa-font' ) ); /** * Headings */ $panel_headings = trackstore_elated_add_admin_panel( array( 'page' => '_fonts_page', 'name' => 'panel_headings', 'title' => esc_html__( 'Headings', 'trackstore' ) ) ); //H1 $group_heading_h1 = trackstore_elated_add_admin_group( array( 'name' => 'group_heading_h1', 'title' => esc_html__( 'H1 Style', 'trackstore' ), 'description' => esc_html__( 'Define styles for h1 heading', 'trackstore' ), 'parent' => $panel_headings ) ); $row_heading_h1_1 = trackstore_elated_add_admin_row( array( 'name' => 'row_heading_h1_1', 'parent' => $group_heading_h1 ) ); trackstore_elated_add_admin_field( array( 'type' => 'colorsimple', 'name' => 'h1_color', 'default_value' => '', 'label' => esc_html__( 'Text Color', 'trackstore' ), 'parent' => $row_heading_h1_1 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h1_font_size', 'default_value' => '', 'label' => esc_html__( 'Font Size', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_heading_h1_1 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h1_line_height', 'default_value' => '', 'label' => esc_html__( 'Line Height', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_heading_h1_1 ) ); trackstore_elated_add_admin_field( array( 'type' => 'selectblanksimple', 'name' => 'h1_text_transform', 'default_value' => '', 'label' => esc_html__( 'Text Transform', 'trackstore' ), 'options' => trackstore_elated_get_text_transform_array(), 'parent' => $row_heading_h1_1 ) ); $row_heading_h1_2 = trackstore_elated_add_admin_row( array( 'name' => 'row_heading_h1_2', 'parent' => $group_heading_h1, 'next' => true ) ); trackstore_elated_add_admin_field( array( 'type' => 'fontsimple', 'name' => 'h1_google_fonts', 'default_value' => '-1', 'label' => esc_html__( 'Font Family', 'trackstore' ), 'parent' => $row_heading_h1_2 ) ); trackstore_elated_add_admin_field( array( 'type' => 'selectblanksimple', 'name' => 'h1_font_style', 'default_value' => '', 'label' => esc_html__( 'Font Style', 'trackstore' ), 'options' => trackstore_elated_get_font_style_array(), 'parent' => $row_heading_h1_2 ) ); trackstore_elated_add_admin_field( array( 'type' => 'selectblanksimple', 'name' => 'h1_font_weight', 'default_value' => '', 'label' => esc_html__( 'Font Weight', 'trackstore' ), 'options' => trackstore_elated_get_font_weight_array(), 'parent' => $row_heading_h1_2 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h1_letter_spacing', 'default_value' => '', 'label' => esc_html__( 'Letter Spacing', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_heading_h1_2 ) ); $row_heading_h1_3 = trackstore_elated_add_admin_row( array( 'name' => 'row_heading_h1_3', 'parent' => $group_heading_h1, 'next' => true ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h1_margin_top', 'default_value' => '', 'label' => esc_html__( 'Margin Top', 'trackstore' ), 'parent' => $row_heading_h1_3 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h1_margin_bottom', 'default_value' => '', 'label' => esc_html__( 'Margin Bottom', 'trackstore' ), 'parent' => $row_heading_h1_3 ) ); //H2 $group_heading_h2 = trackstore_elated_add_admin_group( array( 'name' => 'group_heading_h2', 'title' => esc_html__( 'H2 Style', 'trackstore' ), 'description' => esc_html__( 'Define styles for h2 heading', 'trackstore' ), 'parent' => $panel_headings ) ); $row_heading_h2_1 = trackstore_elated_add_admin_row( array( 'name' => 'row_heading_h2_1', 'parent' => $group_heading_h2 ) ); trackstore_elated_add_admin_field( array( 'type' => 'colorsimple', 'name' => 'h2_color', 'default_value' => '', 'label' => esc_html__( 'Text Color', 'trackstore' ), 'parent' => $row_heading_h2_1 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h2_font_size', 'default_value' => '', 'label' => esc_html__( 'Font Size', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_heading_h2_1 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h2_line_height', 'default_value' => '', 'label' => esc_html__( 'Line Height', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_heading_h2_1 ) ); trackstore_elated_add_admin_field( array( 'type' => 'selectblanksimple', 'name' => 'h2_text_transform', 'default_value' => '', 'label' => esc_html__( 'Text Transform', 'trackstore' ), 'options' => trackstore_elated_get_text_transform_array(), 'parent' => $row_heading_h2_1 ) ); $row_heading_h2_2 = trackstore_elated_add_admin_row( array( 'name' => 'row_heading_h2_2', 'parent' => $group_heading_h2, 'next' => true ) ); trackstore_elated_add_admin_field( array( 'type' => 'fontsimple', 'name' => 'h2_google_fonts', 'default_value' => '-1', 'label' => esc_html__( 'Font Family', 'trackstore' ), 'parent' => $row_heading_h2_2 ) ); trackstore_elated_add_admin_field( array( 'type' => 'selectblanksimple', 'name' => 'h2_font_style', 'default_value' => '', 'label' => esc_html__( 'Font Style', 'trackstore' ), 'options' => trackstore_elated_get_font_style_array(), 'parent' => $row_heading_h2_2 ) ); trackstore_elated_add_admin_field( array( 'type' => 'selectblanksimple', 'name' => 'h2_font_weight', 'default_value' => '', 'label' => esc_html__( 'Font Weight', 'trackstore' ), 'options' => trackstore_elated_get_font_weight_array(), 'parent' => $row_heading_h2_2 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h2_letter_spacing', 'default_value' => '', 'label' => esc_html__( 'Letter Spacing', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_heading_h2_2 ) ); $row_heading_h2_3 = trackstore_elated_add_admin_row( array( 'name' => 'row_heading_h2_3', 'parent' => $group_heading_h2, 'next' => true ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h2_margin_top', 'default_value' => '', 'label' => esc_html__( 'Margin Top', 'trackstore' ), 'parent' => $row_heading_h2_3 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h2_margin_bottom', 'default_value' => '', 'label' => esc_html__( 'Margin Bottom', 'trackstore' ), 'parent' => $row_heading_h2_3 ) ); //H3 $group_heading_h3 = trackstore_elated_add_admin_group( array( 'name' => 'group_heading_h3', 'title' => esc_html__( 'H3 Style', 'trackstore' ), 'description' => esc_html__( 'Define styles for h3 heading', 'trackstore' ), 'parent' => $panel_headings ) ); $row_heading_h3_1 = trackstore_elated_add_admin_row( array( 'name' => 'row_heading_h3_1', 'parent' => $group_heading_h3 ) ); trackstore_elated_add_admin_field( array( 'type' => 'colorsimple', 'name' => 'h3_color', 'default_value' => '', 'label' => esc_html__( 'Text Color', 'trackstore' ), 'parent' => $row_heading_h3_1 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h3_font_size', 'default_value' => '', 'label' => esc_html__( 'Font Size', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_heading_h3_1 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h3_line_height', 'default_value' => '', 'label' => esc_html__( 'Line Height', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_heading_h3_1 ) ); trackstore_elated_add_admin_field( array( 'type' => 'selectblanksimple', 'name' => 'h3_text_transform', 'default_value' => '', 'label' => esc_html__( 'Text Transform', 'trackstore' ), 'options' => trackstore_elated_get_text_transform_array(), 'parent' => $row_heading_h3_1 ) ); $row_heading_h3_2 = trackstore_elated_add_admin_row( array( 'name' => 'row_heading_h3_2', 'parent' => $group_heading_h3, 'next' => true ) ); trackstore_elated_add_admin_field( array( 'type' => 'fontsimple', 'name' => 'h3_google_fonts', 'default_value' => '-1', 'label' => esc_html__( 'Font Family', 'trackstore' ), 'parent' => $row_heading_h3_2 ) ); trackstore_elated_add_admin_field( array( 'type' => 'selectblanksimple', 'name' => 'h3_font_style', 'default_value' => '', 'label' => esc_html__( 'Font Style', 'trackstore' ), 'options' => trackstore_elated_get_font_style_array(), 'parent' => $row_heading_h3_2 ) ); trackstore_elated_add_admin_field( array( 'type' => 'selectblanksimple', 'name' => 'h3_font_weight', 'default_value' => '', 'label' => esc_html__( 'Font Weight', 'trackstore' ), 'options' => trackstore_elated_get_font_weight_array(), 'parent' => $row_heading_h3_2 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h3_letter_spacing', 'default_value' => '', 'label' => esc_html__( 'Letter Spacing', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_heading_h3_2 ) ); $row_heading_h3_3 = trackstore_elated_add_admin_row( array( 'name' => 'row_heading_h3_3', 'parent' => $group_heading_h3, 'next' => true ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h3_margin_top', 'default_value' => '', 'label' => esc_html__( 'Margin Top', 'trackstore' ), 'parent' => $row_heading_h3_3 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h3_margin_bottom', 'default_value' => '', 'label' => esc_html__( 'Margin Bottom', 'trackstore' ), 'parent' => $row_heading_h3_3 ) ); //H4 $group_heading_h4 = trackstore_elated_add_admin_group( array( 'name' => 'group_heading_h4', 'title' => esc_html__( 'H4 Style', 'trackstore' ), 'description' => esc_html__( 'Define styles for h4 heading', 'trackstore' ), 'parent' => $panel_headings ) ); $row_heading_h4_1 = trackstore_elated_add_admin_row( array( 'name' => 'row_heading_h4_1', 'parent' => $group_heading_h4 ) ); trackstore_elated_add_admin_field( array( 'type' => 'colorsimple', 'name' => 'h4_color', 'default_value' => '', 'label' => esc_html__( 'Text Color', 'trackstore' ), 'parent' => $row_heading_h4_1 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h4_font_size', 'default_value' => '', 'label' => esc_html__( 'Font Size', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_heading_h4_1 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h4_line_height', 'default_value' => '', 'label' => esc_html__( 'Line Height', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_heading_h4_1 ) ); trackstore_elated_add_admin_field( array( 'type' => 'selectblanksimple', 'name' => 'h4_text_transform', 'default_value' => '', 'label' => esc_html__( 'Text Transform', 'trackstore' ), 'options' => trackstore_elated_get_text_transform_array(), 'parent' => $row_heading_h4_1 ) ); $row_heading_h4_2 = trackstore_elated_add_admin_row( array( 'name' => 'row_heading_h4_2', 'parent' => $group_heading_h4, 'next' => true ) ); trackstore_elated_add_admin_field( array( 'type' => 'fontsimple', 'name' => 'h4_google_fonts', 'default_value' => '-1', 'label' => esc_html__( 'Font Family', 'trackstore' ), 'parent' => $row_heading_h4_2 ) ); trackstore_elated_add_admin_field( array( 'type' => 'selectblanksimple', 'name' => 'h4_font_style', 'default_value' => '', 'label' => esc_html__( 'Font Style', 'trackstore' ), 'options' => trackstore_elated_get_font_style_array(), 'parent' => $row_heading_h4_2 ) ); trackstore_elated_add_admin_field( array( 'type' => 'selectblanksimple', 'name' => 'h4_font_weight', 'default_value' => '', 'label' => esc_html__( 'Font Weight', 'trackstore' ), 'options' => trackstore_elated_get_font_weight_array(), 'parent' => $row_heading_h4_2 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h4_letter_spacing', 'default_value' => '', 'label' => esc_html__( 'Letter Spacing', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_heading_h4_2 ) ); $row_heading_h4_3 = trackstore_elated_add_admin_row( array( 'name' => 'row_heading_h4_3', 'parent' => $group_heading_h4, 'next' => true ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h4_margin_top', 'default_value' => '', 'label' => esc_html__( 'Margin Top', 'trackstore' ), 'parent' => $row_heading_h4_3 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h4_margin_bottom', 'default_value' => '', 'label' => esc_html__( 'Margin Bottom', 'trackstore' ), 'parent' => $row_heading_h4_3 ) ); //H5 $group_heading_h5 = trackstore_elated_add_admin_group( array( 'name' => 'group_heading_h5', 'title' => esc_html__( 'H5 Style', 'trackstore' ), 'description' => esc_html__( 'Define styles for h5 heading', 'trackstore' ), 'parent' => $panel_headings ) ); $row_heading_h5_1 = trackstore_elated_add_admin_row( array( 'name' => 'row_heading_h5_1', 'parent' => $group_heading_h5 ) ); trackstore_elated_add_admin_field( array( 'type' => 'colorsimple', 'name' => 'h5_color', 'default_value' => '', 'label' => esc_html__( 'Text Color', 'trackstore' ), 'parent' => $row_heading_h5_1 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h5_font_size', 'default_value' => '', 'label' => esc_html__( 'Font Size', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_heading_h5_1 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h5_line_height', 'default_value' => '', 'label' => esc_html__( 'Line Height', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_heading_h5_1 ) ); trackstore_elated_add_admin_field( array( 'type' => 'selectblanksimple', 'name' => 'h5_text_transform', 'default_value' => '', 'label' => esc_html__( 'Text Transform', 'trackstore' ), 'options' => trackstore_elated_get_text_transform_array(), 'parent' => $row_heading_h5_1 ) ); $row_heading_h5_2 = trackstore_elated_add_admin_row( array( 'name' => 'row_heading_h5_2', 'parent' => $group_heading_h5, 'next' => true ) ); trackstore_elated_add_admin_field( array( 'type' => 'fontsimple', 'name' => 'h5_google_fonts', 'default_value' => '-1', 'label' => esc_html__( 'Font Family', 'trackstore' ), 'parent' => $row_heading_h5_2 ) ); trackstore_elated_add_admin_field( array( 'type' => 'selectblanksimple', 'name' => 'h5_font_style', 'default_value' => '', 'label' => esc_html__( 'Font Style', 'trackstore' ), 'options' => trackstore_elated_get_font_style_array(), 'parent' => $row_heading_h5_2 ) ); trackstore_elated_add_admin_field( array( 'type' => 'selectblanksimple', 'name' => 'h5_font_weight', 'default_value' => '', 'label' => esc_html__( 'Font Weight', 'trackstore' ), 'options' => trackstore_elated_get_font_weight_array(), 'parent' => $row_heading_h5_2 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h5_letter_spacing', 'default_value' => '', 'label' => esc_html__( 'Letter Spacing', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_heading_h5_2 ) ); $row_heading_h5_3 = trackstore_elated_add_admin_row( array( 'name' => 'row_heading_h5_3', 'parent' => $group_heading_h5, 'next' => true ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h5_margin_top', 'default_value' => '', 'label' => esc_html__( 'Margin Top', 'trackstore' ), 'parent' => $row_heading_h5_3 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h5_margin_bottom', 'default_value' => '', 'label' => esc_html__( 'Margin Bottom', 'trackstore' ), 'parent' => $row_heading_h5_3 ) ); //H6 $group_heading_h6 = trackstore_elated_add_admin_group( array( 'name' => 'group_heading_h6', 'title' => esc_html__( 'H6 Style', 'trackstore' ), 'description' => esc_html__( 'Define styles for h6 heading', 'trackstore' ), 'parent' => $panel_headings ) ); $row_heading_h6_1 = trackstore_elated_add_admin_row( array( 'name' => 'row_heading_h6_1', 'parent' => $group_heading_h6 ) ); trackstore_elated_add_admin_field( array( 'type' => 'colorsimple', 'name' => 'h6_color', 'default_value' => '', 'label' => esc_html__( 'Text Color', 'trackstore' ), 'parent' => $row_heading_h6_1 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h6_font_size', 'default_value' => '', 'label' => esc_html__( 'Font Size', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_heading_h6_1 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h6_line_height', 'default_value' => '', 'label' => esc_html__( 'Line Height', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_heading_h6_1 ) ); trackstore_elated_add_admin_field( array( 'type' => 'selectblanksimple', 'name' => 'h6_text_transform', 'default_value' => '', 'label' => esc_html__( 'Text Transform', 'trackstore' ), 'options' => trackstore_elated_get_text_transform_array(), 'parent' => $row_heading_h6_1 ) ); $row_heading_h6_2 = trackstore_elated_add_admin_row( array( 'name' => 'row_heading_h6_2', 'parent' => $group_heading_h6, 'next' => true ) ); trackstore_elated_add_admin_field( array( 'type' => 'fontsimple', 'name' => 'h6_google_fonts', 'default_value' => '-1', 'label' => esc_html__( 'Font Family', 'trackstore' ), 'parent' => $row_heading_h6_2 ) ); trackstore_elated_add_admin_field( array( 'type' => 'selectblanksimple', 'name' => 'h6_font_style', 'default_value' => '', 'label' => esc_html__( 'Font Style', 'trackstore' ), 'options' => trackstore_elated_get_font_style_array(), 'parent' => $row_heading_h6_2 ) ); trackstore_elated_add_admin_field( array( 'type' => 'selectblanksimple', 'name' => 'h6_font_weight', 'default_value' => '', 'label' => esc_html__( 'Font Weight', 'trackstore' ), 'options' => trackstore_elated_get_font_weight_array(), 'parent' => $row_heading_h6_2 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h6_letter_spacing', 'default_value' => '', 'label' => esc_html__( 'Letter Spacing', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_heading_h6_2 ) ); $row_heading_h6_3 = trackstore_elated_add_admin_row( array( 'name' => 'row_heading_h6_3', 'parent' => $group_heading_h6, 'next' => true ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h6_margin_top', 'default_value' => '', 'label' => esc_html__( 'Margin Top', 'trackstore' ), 'parent' => $row_heading_h6_3 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h6_margin_bottom', 'default_value' => '', 'label' => esc_html__( 'Margin Bottom', 'trackstore' ), 'parent' => $row_heading_h6_3 ) ); /** * Headings Responsive (Tablet Landscape View) */ $panel_responsive_headings3 = trackstore_elated_add_admin_panel( array( 'page' => '_fonts_page', 'name' => 'panel_responsive_headings3', 'title' => esc_html__( 'Headings Responsive (Tablet Landscape View)', 'trackstore' ) ) ); //H1 $group_responsive3_heading_h1 = trackstore_elated_add_admin_group( array( 'name' => 'group_responsive3_heading_h1', 'title' => esc_html__( 'H1 Responsive Style', 'trackstore' ), 'description' => esc_html__( 'Define responsive styles for h1 heading', 'trackstore' ), 'parent' => $panel_responsive_headings3 ) ); $row_responsive_heading_h1_3 = trackstore_elated_add_admin_row( array( 'name' => 'row_responsive_heading_h1_3', 'parent' => $group_responsive3_heading_h1 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h1_responsive_font_size_3', 'default_value' => '', 'label' => esc_html__( 'Font Size', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_responsive_heading_h1_3 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h1_responsive_line_height_3', 'default_value' => '', 'label' => esc_html__( 'Line Height', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_responsive_heading_h1_3 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h1_responsive_letter_spacing_3', 'default_value' => '', 'label' => esc_html__( 'Letter Spacing', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_responsive_heading_h1_3 ) ); //H2 $group_responsive3_heading_h2 = trackstore_elated_add_admin_group( array( 'name' => 'group_responsive3_heading_h2', 'title' => esc_html__( 'H2 Responsive Style', 'trackstore' ), 'description' => esc_html__( 'Define responsive styles for h2 heading', 'trackstore' ), 'parent' => $panel_responsive_headings3 ) ); $row_responsive_heading_h2_3 = trackstore_elated_add_admin_row( array( 'name' => 'row_responsive_heading_h2_3', 'parent' => $group_responsive3_heading_h2 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h2_responsive_font_size_3', 'default_value' => '', 'label' => esc_html__( 'Font Size', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_responsive_heading_h2_3 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h2_responsive_line_height_3', 'default_value' => '', 'label' => esc_html__( 'Line Height', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_responsive_heading_h2_3 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h2_responsive_letter_spacing_3', 'default_value' => '', 'label' => esc_html__( 'Letter Spacing', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_responsive_heading_h2_3 ) ); //H3 $group_responsive3_heading_h3 = trackstore_elated_add_admin_group( array( 'name' => 'group_responsive3_heading_h3', 'title' => esc_html__( 'H3 Responsive Style', 'trackstore' ), 'description' => esc_html__( 'Define responsive styles for h3 heading', 'trackstore' ), 'parent' => $panel_responsive_headings3 ) ); $row_responsive_heading_h3_3 = trackstore_elated_add_admin_row( array( 'name' => 'row_responsive_heading_h3_3', 'parent' => $group_responsive3_heading_h3 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h3_responsive_font_size_3', 'default_value' => '', 'label' => esc_html__( 'Font Size', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_responsive_heading_h3_3 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h3_responsive_line_height_3', 'default_value' => '', 'label' => esc_html__( 'Line Height', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_responsive_heading_h3_3 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h3_responsive_letter_spacing_3', 'default_value' => '', 'label' => esc_html__( 'Letter Spacing', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_responsive_heading_h3_3 ) ); //H4 $group_responsive3_heading_h4 = trackstore_elated_add_admin_group( array( 'name' => 'group_responsive3_heading_h4', 'title' => esc_html__( 'H4 Responsive Style', 'trackstore' ), 'description' => esc_html__( 'Define responsive styles for h4 heading', 'trackstore' ), 'parent' => $panel_responsive_headings3 ) ); $row_responsive_heading_h4_3 = trackstore_elated_add_admin_row( array( 'name' => 'row_responsive_heading_h4_3', 'parent' => $group_responsive3_heading_h4 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h4_responsive_font_size_3', 'default_value' => '', 'label' => esc_html__( 'Font Size', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_responsive_heading_h4_3 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h4_responsive_line_height_3', 'default_value' => '', 'label' => esc_html__( 'Line Height', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_responsive_heading_h4_3 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h4_responsive_letter_spacing_3', 'default_value' => '', 'label' => esc_html__( 'Letter Spacing', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_responsive_heading_h4_3 ) ); //H5 $group_responsive3_heading_h5 = trackstore_elated_add_admin_group( array( 'name' => 'group_responsive3_heading_h5', 'title' => esc_html__( 'H5 Responsive Style', 'trackstore' ), 'description' => esc_html__( 'Define responsive styles for h5 heading', 'trackstore' ), 'parent' => $panel_responsive_headings3 ) ); $row_responsive_heading_h5_3 = trackstore_elated_add_admin_row( array( 'name' => 'row_responsive_heading_h5_3', 'parent' => $group_responsive3_heading_h5 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h5_responsive_font_size_3', 'default_value' => '', 'label' => esc_html__( 'Font Size', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_responsive_heading_h5_3 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h5_responsive_line_height_3', 'default_value' => '', 'label' => esc_html__( 'Line Height', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_responsive_heading_h5_3 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h5_responsive_letter_spacing_3', 'default_value' => '', 'label' => esc_html__( 'Letter Spacing', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_responsive_heading_h5_3 ) ); //H6 $group_responsive3_heading_h6 = trackstore_elated_add_admin_group( array( 'name' => 'group_responsive3_heading_h6', 'title' => esc_html__( 'H6 Responsive Style', 'trackstore' ), 'description' => esc_html__( 'Define responsive styles for h6 heading', 'trackstore' ), 'parent' => $panel_responsive_headings3 ) ); $row_responsive_heading_h6_3 = trackstore_elated_add_admin_row( array( 'name' => 'row_responsive_heading_h6_3', 'parent' => $group_responsive3_heading_h6 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h6_responsive_font_size_3', 'default_value' => '', 'label' => esc_html__( 'Font Size', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_responsive_heading_h6_3 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h6_responsive_line_height_3', 'default_value' => '', 'label' => esc_html__( 'Line Height', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_responsive_heading_h6_3 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h6_responsive_letter_spacing_3', 'default_value' => '', 'label' => esc_html__( 'Letter Spacing', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_responsive_heading_h6_3 ) ); /** * Headings Responsive (Tablet Portrait View) */ $panel_responsive_headings = trackstore_elated_add_admin_panel( array( 'page' => '_fonts_page', 'name' => 'panel_responsive_headings', 'title' => esc_html__( 'Headings Responsive (Tablet Portrait View)', 'trackstore' ) ) ); //H1 $group_responsive_heading_h1 = trackstore_elated_add_admin_group( array( 'name' => 'group_responsive_heading_h1', 'title' => esc_html__( 'H1 Responsive Style', 'trackstore' ), 'description' => esc_html__( 'Define responsive styles for h1 heading', 'trackstore' ), 'parent' => $panel_responsive_headings ) ); $row_responsive_heading_h1_1 = trackstore_elated_add_admin_row( array( 'name' => 'row_responsive_heading_h1_1', 'parent' => $group_responsive_heading_h1 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h1_responsive_font_size', 'default_value' => '', 'label' => esc_html__( 'Font Size', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_responsive_heading_h1_1 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h1_responsive_line_height', 'default_value' => '', 'label' => esc_html__( 'Line Height', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_responsive_heading_h1_1 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h1_responsive_letter_spacing', 'default_value' => '', 'label' => esc_html__( 'Letter Spacing', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_responsive_heading_h1_1 ) ); //H2 $group_responsive_heading_h2 = trackstore_elated_add_admin_group( array( 'name' => 'group_responsive_heading_h2', 'title' => esc_html__( 'H2 Responsive Style', 'trackstore' ), 'description' => esc_html__( 'Define responsive styles for h2 heading', 'trackstore' ), 'parent' => $panel_responsive_headings ) ); $row_responsive_heading_h2_1 = trackstore_elated_add_admin_row( array( 'name' => 'row_responsive_heading_h2_1', 'parent' => $group_responsive_heading_h2 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h2_responsive_font_size', 'default_value' => '', 'label' => esc_html__( 'Font Size', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_responsive_heading_h2_1 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h2_responsive_line_height', 'default_value' => '', 'label' => esc_html__( 'Line Height', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_responsive_heading_h2_1 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h2_responsive_letter_spacing', 'default_value' => '', 'label' => esc_html__( 'Letter Spacing', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_responsive_heading_h2_1 ) ); //H3 $group_responsive_heading_h3 = trackstore_elated_add_admin_group( array( 'name' => 'group_responsive_heading_h3', 'title' => esc_html__( 'H3 Responsive Style', 'trackstore' ), 'description' => esc_html__( 'Define responsive styles for h3 heading', 'trackstore' ), 'parent' => $panel_responsive_headings ) ); $row_responsive_heading_h3_1 = trackstore_elated_add_admin_row( array( 'name' => 'row_responsive_heading_h3_1', 'parent' => $group_responsive_heading_h3 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h3_responsive_font_size', 'default_value' => '', 'label' => esc_html__( 'Font Size', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_responsive_heading_h3_1 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h3_responsive_line_height', 'default_value' => '', 'label' => esc_html__( 'Line Height', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_responsive_heading_h3_1 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h3_responsive_letter_spacing', 'default_value' => '', 'label' => esc_html__( 'Letter Spacing', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_responsive_heading_h3_1 ) ); //H4 $group_responsive_heading_h4 = trackstore_elated_add_admin_group( array( 'name' => 'group_responsive_heading_h4', 'title' => esc_html__( 'H4 Responsive Style', 'trackstore' ), 'description' => esc_html__( 'Define responsive styles for h4 heading', 'trackstore' ), 'parent' => $panel_responsive_headings ) ); $row_responsive_heading_h4_1 = trackstore_elated_add_admin_row( array( 'name' => 'row_responsive_heading_h4_1', 'parent' => $group_responsive_heading_h4 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h4_responsive_font_size', 'default_value' => '', 'label' => esc_html__( 'Font Size', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_responsive_heading_h4_1 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h4_responsive_line_height', 'default_value' => '', 'label' => esc_html__( 'Line Height', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_responsive_heading_h4_1 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h4_responsive_letter_spacing', 'default_value' => '', 'label' => esc_html__( 'Letter Spacing', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_responsive_heading_h4_1 ) ); //H5 $group_responsive_heading_h5 = trackstore_elated_add_admin_group( array( 'name' => 'group_responsive_heading_h5', 'title' => esc_html__( 'H5 Responsive Style', 'trackstore' ), 'description' => esc_html__( 'Define responsive styles for h5 heading', 'trackstore' ), 'parent' => $panel_responsive_headings ) ); $row_responsive_heading_h5_1 = trackstore_elated_add_admin_row( array( 'name' => 'row_responsive_heading_h5_1', 'parent' => $group_responsive_heading_h5 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h5_responsive_font_size', 'default_value' => '', 'label' => esc_html__( 'Font Size', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_responsive_heading_h5_1 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h5_responsive_line_height', 'default_value' => '', 'label' => esc_html__( 'Line Height', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_responsive_heading_h5_1 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h5_responsive_letter_spacing', 'default_value' => '', 'label' => esc_html__( 'Letter Spacing', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_responsive_heading_h5_1 ) ); //H6 $group_responsive_heading_h6 = trackstore_elated_add_admin_group( array( 'name' => 'group_responsive_heading_h6', 'title' => esc_html__( 'H6 Responsive Style', 'trackstore' ), 'description' => esc_html__( 'Define responsive styles for h6 heading', 'trackstore' ), 'parent' => $panel_responsive_headings ) ); $row_responsive_heading_h6_1 = trackstore_elated_add_admin_row( array( 'name' => 'row_responsive_heading_h6_1', 'parent' => $group_responsive_heading_h6 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h6_responsive_font_size', 'default_value' => '', 'label' => esc_html__( 'Font Size', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_responsive_heading_h6_1 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h6_responsive_line_height', 'default_value' => '', 'label' => esc_html__( 'Line Height', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_responsive_heading_h6_1 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h6_responsive_letter_spacing', 'default_value' => '', 'label' => esc_html__( 'Letter Spacing', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_responsive_heading_h6_1 ) ); /** * Headings Responsive (Mobile Devices) */ $panel_responsive_headings2 = trackstore_elated_add_admin_panel( array( 'page' => '_fonts_page', 'name' => 'panel_responsive_headings2', 'title' => esc_html__( 'Headings Responsive (Mobile Devices)', 'trackstore' ) ) ); //H1 $group_responsive2_heading_h1 = trackstore_elated_add_admin_group( array( 'name' => 'group_responsive2_heading_h1', 'title' => esc_html__( 'H1 Responsive Style', 'trackstore' ), 'description' => esc_html__( 'Define responsive styles for h1 heading', 'trackstore' ), 'parent' => $panel_responsive_headings2 ) ); $row_responsive2_heading_h1_1 = trackstore_elated_add_admin_row( array( 'name' => 'row_responsive2_heading_h1_1', 'parent' => $group_responsive2_heading_h1 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h1_responsive_font_size_2', 'default_value' => '', 'label' => esc_html__( 'Font Size', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_responsive2_heading_h1_1 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h1_responsive_line_height_2', 'default_value' => '', 'label' => esc_html__( 'Line Height', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_responsive2_heading_h1_1 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h1_responsive_letter_spacing_2', 'default_value' => '', 'label' => esc_html__( 'Letter Spacing', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_responsive2_heading_h1_1 ) ); //H2 $group_responsive2_heading_h2 = trackstore_elated_add_admin_group( array( 'name' => 'group_responsive2_heading_h2', 'title' => esc_html__( 'H2 Responsive Style', 'trackstore' ), 'description' => esc_html__( 'Define responsive styles for h2 heading', 'trackstore' ), 'parent' => $panel_responsive_headings2 ) ); $row_responsive2_heading_h2_1 = trackstore_elated_add_admin_row( array( 'name' => 'row_responsive2_heading_h2_1', 'parent' => $group_responsive2_heading_h2 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h2_responsive_font_size_2', 'default_value' => '', 'label' => esc_html__( 'Font Size', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_responsive2_heading_h2_1 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h2_responsive_line_height_2', 'default_value' => '', 'label' => esc_html__( 'Line Height', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_responsive2_heading_h2_1 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h2_responsive_letter_spacing_2', 'default_value' => '', 'label' => esc_html__( 'Letter Spacing', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_responsive2_heading_h2_1 ) ); //H3 $group_responsive2_heading_h3 = trackstore_elated_add_admin_group( array( 'name' => 'group_responsive2_heading_h3', 'title' => esc_html__( 'H3 Responsive Style', 'trackstore' ), 'description' => esc_html__( 'Define responsive styles for h3 heading', 'trackstore' ), 'parent' => $panel_responsive_headings2 ) ); $row_responsive2_heading_h3_1 = trackstore_elated_add_admin_row( array( 'name' => 'row_responsive2_heading_h3_1', 'parent' => $group_responsive2_heading_h3 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h3_responsive_font_size_2', 'default_value' => '', 'label' => esc_html__( 'Font Size', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_responsive2_heading_h3_1 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h3_responsive_line_height_2', 'default_value' => '', 'label' => esc_html__( 'Line Height', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_responsive2_heading_h3_1 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h3_responsive_letter_spacing_2', 'default_value' => '', 'label' => esc_html__( 'Letter Spacing', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_responsive2_heading_h3_1 ) ); //H4 $group_responsive2_heading_h4 = trackstore_elated_add_admin_group( array( 'name' => 'group_responsive2_heading_h4', 'title' => esc_html__( 'H4 Responsive Style', 'trackstore' ), 'description' => esc_html__( 'Define responsive styles for h4 heading', 'trackstore' ), 'parent' => $panel_responsive_headings2 ) ); $row_responsive2_heading_h4_1 = trackstore_elated_add_admin_row( array( 'name' => 'row_responsive2_heading_h4_1', 'parent' => $group_responsive2_heading_h4 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h4_responsive_font_size_2', 'default_value' => '', 'label' => esc_html__( 'Font Size', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_responsive2_heading_h4_1 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h4_responsive_line_height_2', 'default_value' => '', 'label' => esc_html__( 'Line Height', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_responsive2_heading_h4_1 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h4_responsive_letter_spacing_2', 'default_value' => '', 'label' => esc_html__( 'Letter Spacing', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_responsive2_heading_h4_1 ) ); //H5 $group_responsive2_heading_h5 = trackstore_elated_add_admin_group( array( 'name' => 'group_responsive2_heading_h5', 'title' => esc_html__( 'H5 Responsive Style', 'trackstore' ), 'description' => esc_html__( 'Define responsive styles for h5 heading', 'trackstore' ), 'parent' => $panel_responsive_headings2 ) ); $row_responsive2_heading_h5_1 = trackstore_elated_add_admin_row( array( 'name' => 'row_responsive2_heading_h5_1', 'parent' => $group_responsive2_heading_h5 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h5_responsive_font_size_2', 'default_value' => '', 'label' => esc_html__( 'Font Size', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_responsive2_heading_h5_1 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h5_responsive_line_height_2', 'default_value' => '', 'label' => esc_html__( 'Line Height', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_responsive2_heading_h5_1 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h5_responsive_letter_spacing_2', 'default_value' => '', 'label' => esc_html__( 'Letter Spacing', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_responsive2_heading_h5_1 ) ); //H6 $group_responsive2_heading_h6 = trackstore_elated_add_admin_group( array( 'name' => 'group_responsive2_heading_h6', 'title' => esc_html__( 'H6 Responsive Style', 'trackstore' ), 'description' => esc_html__( 'Define responsive styles for h6 heading', 'trackstore' ), 'parent' => $panel_responsive_headings2 ) ); $row_responsive2_heading_h6_1 = trackstore_elated_add_admin_row( array( 'name' => 'row_responsive2_heading_h6_1', 'parent' => $group_responsive2_heading_h6 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h6_responsive_font_size_2', 'default_value' => '', 'label' => esc_html__( 'Font Size', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_responsive2_heading_h6_1 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h6_responsive_line_height_2', 'default_value' => '', 'label' => esc_html__( 'Line Height', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_responsive2_heading_h6_1 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'h6_responsive_letter_spacing_2', 'default_value' => '', 'label' => esc_html__( 'Letter Spacing', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_responsive2_heading_h6_1 ) ); /** * Text */ $panel_text = trackstore_elated_add_admin_panel( array( 'page' => '_fonts_page', 'name' => 'panel_text', 'title' => esc_html__( 'Text', 'trackstore' ) ) ); $group_text = trackstore_elated_add_admin_group( array( 'name' => 'group_text', 'title' => esc_html__( 'Paragraph', 'trackstore' ), 'description' => esc_html__( 'Define styles for paragraph text', 'trackstore' ), 'parent' => $panel_text ) ); $row_text_1 = trackstore_elated_add_admin_row( array( 'name' => 'row_text_1', 'parent' => $group_text ) ); trackstore_elated_add_admin_field( array( 'type' => 'colorsimple', 'name' => 'text_color', 'default_value' => '', 'label' => esc_html__( 'Text Color', 'trackstore' ), 'parent' => $row_text_1 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'text_font_size', 'default_value' => '', 'label' => esc_html__( 'Font Size', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_text_1 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'text_line_height', 'default_value' => '', 'label' => esc_html__( 'Line Height', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_text_1 ) ); trackstore_elated_add_admin_field( array( 'type' => 'selectblanksimple', 'name' => 'text_text_transform', 'default_value' => '', 'label' => esc_html__( 'Text Transform', 'trackstore' ), 'options' => trackstore_elated_get_text_transform_array(), 'parent' => $row_text_1 ) ); $row_text_2 = trackstore_elated_add_admin_row( array( 'name' => 'row_text_2', 'parent' => $group_text, 'next' => true ) ); trackstore_elated_add_admin_field( array( 'type' => 'fontsimple', 'name' => 'text_google_fonts', 'default_value' => '-1', 'label' => esc_html__( 'Font Family', 'trackstore' ), 'parent' => $row_text_2 ) ); trackstore_elated_add_admin_field( array( 'type' => 'selectblanksimple', 'name' => 'text_font_style', 'default_value' => '', 'label' => esc_html__( 'Font Style', 'trackstore' ), 'options' => trackstore_elated_get_font_style_array(), 'parent' => $row_text_2 ) ); trackstore_elated_add_admin_field( array( 'type' => 'selectblanksimple', 'name' => 'text_font_weight', 'default_value' => '', 'label' => esc_html__( 'Font Weight', 'trackstore' ), 'options' => trackstore_elated_get_font_weight_array(), 'parent' => $row_text_2 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'text_letter_spacing', 'default_value' => '', 'label' => esc_html__( 'Letter Spacing', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_text_2 ) ); $group_text_res1 = trackstore_elated_add_admin_group( array( 'name' => 'group_text_res1', 'title' => esc_html__( 'Paragraph Responsive (Table Portrait View)', 'trackstore' ), 'description' => esc_html__( 'Define responsive styles for paragraph text for table devices - portrait view', 'trackstore' ), 'parent' => $panel_text ) ); $row_res_text_1 = trackstore_elated_add_admin_row( array( 'name' => 'row_text_1', 'parent' => $group_text_res1 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'text_font_size_res1', 'default_value' => '', 'label' => esc_html__( 'Font Size', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_res_text_1 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'text_line_height_res1', 'default_value' => '', 'label' => esc_html__( 'Line Height', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_res_text_1 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'text_letter_spacing_res1', 'default_value' => '', 'label' => esc_html__( 'Letter Spacing', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_res_text_1 ) ); $group_text_res2 = trackstore_elated_add_admin_group( array( 'name' => 'group_text_res2', 'title' => esc_html__( 'Paragraph Responsive (Mobile Devices)', 'trackstore' ), 'description' => esc_html__( 'Define responsive styles for paragraph text for mobile devices', 'trackstore' ), 'parent' => $panel_text ) ); $row_res_text_2 = trackstore_elated_add_admin_row( array( 'name' => 'row_res_text_2', 'parent' => $group_text_res2 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'text_font_size_res2', 'default_value' => '', 'label' => esc_html__( 'Font Size', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_res_text_2 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'text_line_height_res2', 'default_value' => '', 'label' => esc_html__( 'Line Height', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_res_text_2 ) ); trackstore_elated_add_admin_field( array( 'type' => 'textsimple', 'name' => 'text_letter_spacing_res2', 'default_value' => '', 'label' => esc_html__( 'Letter Spacing', 'trackstore' ), 'args' => array( 'suffix' => esc_html__( 'px / em', 'trackstore' ) ), 'parent' => $row_res_text_2 ) ); $group_link = trackstore_elated_add_admin_group( array( 'name' => 'group_link', 'title' => esc_html__( 'Links', 'trackstore' ), 'description' => esc_html__( 'Define styles for link text', 'trackstore' ), 'parent' => $panel_text ) ); $row_link_1 = trackstore_elated_add_admin_row( array( 'name' => 'row_link_1', 'parent' => $group_link ) ); trackstore_elated_add_admin_field( array( 'type' => 'colorsimple', 'name' => 'link_color', 'default_value' => '', 'label' => esc_html__( 'Link Color', 'trackstore' ), 'parent' => $row_link_1 ) ); trackstore_elated_add_admin_field( array( 'type' => 'colorsimple', 'name' => 'link_hovercolor', 'default_value' => '', 'label' => esc_html__( 'Hover Link Color', 'trackstore' ), 'parent' => $row_link_1 ) ); $row_link_2 = trackstore_elated_add_admin_row( array( 'name' => 'row_link_2', 'parent' => $group_link, 'next' => true ) ); trackstore_elated_add_admin_field( array( 'type' => 'selectblanksimple', 'name' => 'link_fontstyle', 'default_value' => '', 'label' => esc_html__( 'Font Style', 'trackstore' ), 'options' => trackstore_elated_get_font_style_array(), 'parent' => $row_link_2 ) ); trackstore_elated_add_admin_field( array( 'type' => 'selectblanksimple', 'name' => 'link_fontweight', 'default_value' => '', 'label' => esc_html__( 'Font Weight', 'trackstore' ), 'options' => trackstore_elated_get_font_weight_array(), 'parent' => $row_link_2 ) ); trackstore_elated_add_admin_field( array( 'type' => 'selectblanksimple', 'name' => 'link_fontdecoration', 'default_value' => '', 'label' => esc_html__( 'Link Decoration', 'trackstore' ), 'options' => trackstore_elated_get_text_decorations(), 'parent' => $row_link_2 ) ); trackstore_elated_add_admin_field( array( 'type' => 'selectblanksimple', 'name' => 'link_hover_fontdecoration', 'default_value' => '', 'label' => esc_html__( 'Hovel Link Decoration', 'trackstore' ), 'options' => trackstore_elated_get_text_decorations(), 'parent' => $row_link_2 ) ); } add_action( 'trackstore_elated_options_map', 'trackstore_elated_fonts_options_map', 10 ); }PK $�3\G"� page/map.phpnu �[��� <?php if ( ! function_exists( 'trackstore_elated_page_options_map' ) ) { function trackstore_elated_page_options_map() { trackstore_elated_add_admin_page( array( 'slug' => '_page_page', 'title' => esc_html__( 'Page', 'trackstore' ), 'icon' => 'fa fa-file-text-o' ) ); /***************** Page Layout - begin **********************/ $panel_sidebar = trackstore_elated_add_admin_panel( array( 'page' => '_page_page', 'name' => 'panel_sidebar', 'title' => esc_html__( 'Page Style', 'trackstore' ) ) ); trackstore_elated_add_admin_field( array( 'name' => 'page_show_comments', 'type' => 'yesno', 'label' => esc_html__( 'Show Comments', 'trackstore' ), 'description' => esc_html__( 'Enabling this option will show comments on your page', 'trackstore' ), 'default_value' => 'yes', 'parent' => $panel_sidebar ) ); /***************** Page Layout - end **********************/ /***************** Content Layout - begin **********************/ $panel_content = trackstore_elated_add_admin_panel( array( 'page' => '_page_page', 'name' => 'panel_content', 'title' => esc_html__( 'Content Style', 'trackstore' ) ) ); trackstore_elated_add_admin_field( array( 'type' => 'text', 'name' => 'content_top_padding', 'default_value' => '', 'label' => esc_html__( 'Content Top Padding for Template in Full Width', 'trackstore' ), 'description' => esc_html__( 'Enter top padding for content area for templates in full width. If you set this value then it\'s important to set also Content top padding for mobile header value', 'trackstore' ), 'args' => array( 'suffix' => 'px', 'col_width' => 3 ), 'parent' => $panel_content ) ); trackstore_elated_add_admin_field( array( 'type' => 'text', 'name' => 'content_top_padding_in_grid', 'default_value' => '', 'label' => esc_html__( 'Content Top Padding for Templates in Grid', 'trackstore' ), 'description' => esc_html__( 'Enter top padding for content area for Templates in grid. If you set this value then it\'s important to set also Content top padding for mobile header value', 'trackstore' ), 'args' => array( 'suffix' => 'px', 'col_width' => 3 ), 'parent' => $panel_content ) ); trackstore_elated_add_admin_field( array( 'type' => 'text', 'name' => 'content_top_padding_mobile', 'default_value' => '', 'label' => esc_html__( 'Content Top Padding for Mobile Header', 'trackstore' ), 'description' => esc_html__( 'Enter top padding for content area for Mobile Header', 'trackstore' ), 'args' => array( 'suffix' => 'px', 'col_width' => 3 ), 'parent' => $panel_content ) ); /***************** Content Layout - end **********************/ /***************** Additional Page Layout - start *****************/ do_action( 'trackstore_elated_additional_page_options_map' ); /***************** Additional Page Layout - end *****************/ } add_action( 'trackstore_elated_options_map', 'trackstore_elated_page_options_map', 5); }PK $�3\,S 6 6 social/map.phpnu �[��� <?php if ( ! function_exists( 'trackstore_elated_social_options_map' ) ) { function trackstore_elated_social_options_map() { $page = '_social_page'; trackstore_elated_add_admin_page( array( 'slug' => '_social_page', 'title' => esc_html__( 'Social Networks', 'trackstore' ), 'icon' => 'fa fa-share-alt' ) ); /** * Enable Social Share */ $panel_social_share = trackstore_elated_add_admin_panel( array( 'page' => '_social_page', 'name' => 'panel_social_share', 'title' => esc_html__( 'Enable Social Share', 'trackstore' ) ) ); trackstore_elated_add_admin_field( array( 'type' => 'yesno', 'name' => 'enable_social_share', 'default_value' => 'no', 'label' => esc_html__( 'Enable Social Share', 'trackstore' ), 'description' => esc_html__( 'Enabling this option will allow social share on networks of your choice', 'trackstore' ), 'args' => array( 'dependence' => true, 'dependence_hide_on_yes' => '', 'dependence_show_on_yes' => '#eltd_panel_social_networks, #eltd_panel_show_social_share_on' ), 'parent' => $panel_social_share ) ); $panel_show_social_share_on = trackstore_elated_add_admin_panel( array( 'page' => '_social_page', 'name' => 'panel_show_social_share_on', 'title' => esc_html__( 'Show Social Share On', 'trackstore' ), 'hidden_property' => 'enable_social_share', 'hidden_value' => 'no' ) ); trackstore_elated_add_admin_field( array( 'type' => 'yesno', 'name' => 'enable_social_share_on_post', 'default_value' => 'no', 'label' => esc_html__( 'Posts', 'trackstore' ), 'description' => esc_html__( 'Show Social Share on Blog Posts', 'trackstore' ), 'parent' => $panel_show_social_share_on ) ); trackstore_elated_add_admin_field( array( 'type' => 'yesno', 'name' => 'enable_social_share_on_page', 'default_value' => 'no', 'label' => esc_html__( 'Pages', 'trackstore' ), 'description' => esc_html__( 'Show Social Share on Pages', 'trackstore' ), 'parent' => $panel_show_social_share_on ) ); /** * Action for embedding social share option for custom post types */ do_action('trackstore_elated_post_types_social_share', $panel_show_social_share_on); /** * Social Share Networks */ $panel_social_networks = trackstore_elated_add_admin_panel( array( 'page' => '_social_page', 'name' => 'panel_social_networks', 'title' => esc_html__( 'Social Networks', 'trackstore' ), 'hidden_property' => 'enable_social_share', 'hidden_value' => 'no' ) ); /** * Facebook */ trackstore_elated_add_admin_section_title( array( 'parent' => $panel_social_networks, 'name' => 'facebook_title', 'title' => esc_html__( 'Share on Facebook', 'trackstore' ) ) ); trackstore_elated_add_admin_field( array( 'type' => 'yesno', 'name' => 'enable_facebook_share', 'default_value' => 'no', 'label' => esc_html__( 'Enable Share', 'trackstore' ), 'description' => esc_html__( 'Enabling this option will allow sharing via Facebook', 'trackstore' ), 'args' => array( 'dependence' => true, 'dependence_hide_on_yes' => '', 'dependence_show_on_yes' => '#eltd_enable_facebook_share_container' ), 'parent' => $panel_social_networks ) ); $enable_facebook_share_container = trackstore_elated_add_admin_container( array( 'name' => 'enable_facebook_share_container', 'hidden_property' => 'enable_facebook_share', 'hidden_value' => 'no', 'parent' => $panel_social_networks ) ); trackstore_elated_add_admin_field( array( 'type' => 'image', 'name' => 'facebook_icon', 'default_value' => '', 'label' => esc_html__( 'Upload Icon', 'trackstore' ), 'parent' => $enable_facebook_share_container ) ); /** * Twitter */ trackstore_elated_add_admin_section_title( array( 'parent' => $panel_social_networks, 'name' => 'twitter_title', 'title' => esc_html__( 'Share on Twitter', 'trackstore' ) ) ); trackstore_elated_add_admin_field( array( 'type' => 'yesno', 'name' => 'enable_twitter_share', 'default_value' => 'no', 'label' => esc_html__( 'Enable Share', 'trackstore' ), 'description' => esc_html__( 'Enabling this option will allow sharing via Twitter', 'trackstore' ), 'args' => array( 'dependence' => true, 'dependence_hide_on_yes' => '', 'dependence_show_on_yes' => '#eltd_enable_twitter_share_container' ), 'parent' => $panel_social_networks ) ); $enable_twitter_share_container = trackstore_elated_add_admin_container( array( 'name' => 'enable_twitter_share_container', 'hidden_property' => 'enable_twitter_share', 'hidden_value' => 'no', 'parent' => $panel_social_networks ) ); trackstore_elated_add_admin_field( array( 'type' => 'image', 'name' => 'twitter_icon', 'default_value' => '', 'label' => esc_html__( 'Upload Icon', 'trackstore' ), 'parent' => $enable_twitter_share_container ) ); trackstore_elated_add_admin_field( array( 'type' => 'text', 'name' => 'twitter_via', 'default_value' => '', 'label' => esc_html__( 'Via', 'trackstore' ), 'parent' => $enable_twitter_share_container ) ); /** * Linked In */ trackstore_elated_add_admin_section_title( array( 'parent' => $panel_social_networks, 'name' => 'linkedin_title', 'title' => esc_html__( 'Share on LinkedIn', 'trackstore' ) ) ); trackstore_elated_add_admin_field( array( 'type' => 'yesno', 'name' => 'enable_linkedin_share', 'default_value' => 'no', 'label' => esc_html__( 'Enable Share', 'trackstore' ), 'description' => esc_html__( 'Enabling this option will allow sharing via LinkedIn', 'trackstore' ), 'args' => array( 'dependence' => true, 'dependence_hide_on_yes' => '', 'dependence_show_on_yes' => '#eltd_enable_linkedin_container' ), 'parent' => $panel_social_networks ) ); $enable_linkedin_container = trackstore_elated_add_admin_container( array( 'name' => 'enable_linkedin_container', 'hidden_property' => 'enable_linkedin_share', 'hidden_value' => 'no', 'parent' => $panel_social_networks ) ); trackstore_elated_add_admin_field( array( 'type' => 'image', 'name' => 'linkedin_icon', 'default_value' => '', 'label' => esc_html__( 'Upload Icon', 'trackstore' ), 'parent' => $enable_linkedin_container ) ); /** * Tumblr */ trackstore_elated_add_admin_section_title( array( 'parent' => $panel_social_networks, 'name' => 'tumblr_title', 'title' => esc_html__( 'Share on Tumblr', 'trackstore' ) ) ); trackstore_elated_add_admin_field( array( 'type' => 'yesno', 'name' => 'enable_tumblr_share', 'default_value' => 'no', 'label' => esc_html__( 'Enable Share', 'trackstore' ), 'description' => esc_html__( 'Enabling this option will allow sharing via Tumblr', 'trackstore' ), 'args' => array( 'dependence' => true, 'dependence_hide_on_yes' => '', 'dependence_show_on_yes' => '#eltd_enable_tumblr_container' ), 'parent' => $panel_social_networks ) ); $enable_tumblr_container = trackstore_elated_add_admin_container( array( 'name' => 'enable_tumblr_container', 'hidden_property' => 'enable_tumblr_share', 'hidden_value' => 'no', 'parent' => $panel_social_networks ) ); trackstore_elated_add_admin_field( array( 'type' => 'image', 'name' => 'tumblr_icon', 'default_value' => '', 'label' => esc_html__( 'Upload Icon', 'trackstore' ), 'parent' => $enable_tumblr_container ) ); /** * Pinterest */ trackstore_elated_add_admin_section_title( array( 'parent' => $panel_social_networks, 'name' => 'pinterest_title', 'title' => esc_html__( 'Share on Pinterest', 'trackstore' ) ) ); trackstore_elated_add_admin_field( array( 'type' => 'yesno', 'name' => 'enable_pinterest_share', 'default_value' => 'no', 'label' => esc_html__( 'Enable Share', 'trackstore' ), 'description' => esc_html__( 'Enabling this option will allow sharing via Pinterest', 'trackstore' ), 'args' => array( 'dependence' => true, 'dependence_hide_on_yes' => '', 'dependence_show_on_yes' => '#eltd_enable_pinterest_container' ), 'parent' => $panel_social_networks ) ); $enable_pinterest_container = trackstore_elated_add_admin_container( array( 'name' => 'enable_pinterest_container', 'hidden_property' => 'enable_pinterest_share', 'hidden_value' => 'no', 'parent' => $panel_social_networks ) ); trackstore_elated_add_admin_field( array( 'type' => 'image', 'name' => 'pinterest_icon', 'default_value' => '', 'label' => esc_html__( 'Upload Icon', 'trackstore' ), 'parent' => $enable_pinterest_container ) ); /** * VK */ trackstore_elated_add_admin_section_title( array( 'parent' => $panel_social_networks, 'name' => 'vk_title', 'title' => esc_html__( 'Share on VK', 'trackstore' ) ) ); trackstore_elated_add_admin_field( array( 'type' => 'yesno', 'name' => 'enable_vk_share', 'default_value' => 'no', 'label' => esc_html__( 'Enable Share', 'trackstore' ), 'description' => esc_html__( 'Enabling this option will allow sharing via VK', 'trackstore' ), 'args' => array( 'dependence' => true, 'dependence_hide_on_yes' => '', 'dependence_show_on_yes' => '#eltd_enable_vk_container' ), 'parent' => $panel_social_networks ) ); $enable_vk_container = trackstore_elated_add_admin_container( array( 'name' => 'enable_vk_container', 'hidden_property' => 'enable_vk_share', 'hidden_value' => 'no', 'parent' => $panel_social_networks ) ); trackstore_elated_add_admin_field( array( 'type' => 'image', 'name' => 'vk_icon', 'default_value' => '', 'label' => esc_html__( 'Upload Icon', 'trackstore' ), 'parent' => $enable_vk_container ) ); if ( defined( 'ELATED_TWITTER_FEED_VERSION' ) ) { $twitter_panel = trackstore_elated_add_admin_panel( array( 'title' => esc_html__( 'Twitter', 'trackstore' ), 'name' => 'panel_twitter', 'page' => '_social_page' ) ); trackstore_elated_add_admin_twitter_button( array( 'name' => 'twitter_button', 'parent' => $twitter_panel ) ); } if ( defined( 'ELATED_INSTAGRAM_FEED_VERSION' ) ) { $instagram_panel = trackstore_elated_add_admin_panel( array( 'title' => esc_html__( 'Instagram', 'trackstore' ), 'name' => 'panel_instagram', 'page' => '_social_page' ) ); trackstore_elated_add_admin_instagram_button( array( 'name' => 'instagram_button', 'parent' => $instagram_panel ) ); } /** * Open Graph */ $panel_open_graph = trackstore_elated_add_admin_panel( array( 'page' => '_social_page', 'name' => 'panel_open_graph', 'title' => esc_html__( 'Open Graph', 'trackstore' ), ) ); trackstore_elated_add_admin_field( array( 'type' => 'yesno', 'name' => 'enable_open_graph', 'default_value' => 'no', 'label' => esc_html__( 'Enable Open Graph', 'trackstore' ), 'description' => esc_html__( 'Enabling this option will allow usage of Open Graph protocol on your site', 'trackstore' ), 'args' => array( 'dependence' => true, 'dependence_hide_on_yes' => '', 'dependence_show_on_yes' => '#eltd_enable_open_graph_container' ), 'parent' => $panel_open_graph ) ); $enable_open_graph_container = trackstore_elated_add_admin_container( array( 'name' => 'enable_open_graph_container', 'hidden_property' => 'enable_open_graph', 'hidden_value' => 'no', 'parent' => $panel_open_graph ) ); trackstore_elated_add_admin_field( array( 'type' => 'image', 'name' => 'open_graph_image', 'default_value' => ELATED_ASSETS_ROOT . '/img/open_graph.jpg', 'label' => esc_html__( 'Default Share Image', 'trackstore' ), 'parent' => $enable_open_graph_container, 'description' => esc_html__( 'Used when featured image is not set. Make sure that image is at least 1200 x 630 pixels, up to 8MB in size', 'trackstore' ), ) ); /** * Action for embedding social share option for custom post types */ do_action('trackstore_elated_social_options', $page); } add_action( 'trackstore_elated_options_map', 'trackstore_elated_social_options_map', 14 ); }PK $�3\�G�>� � reset/map.phpnu �[��� PK $�3\�f�Se Se ' general/map.phpnu �[��� PK $�3\��6�� � �i eltd-options-setup.phpnu �[��� PK $�3\ڍ�=K K �l fonts/map.phpnu �[��� PK $�3\G"� nm page/map.phpnu �[��� PK $�3\,S 6 6 �z social/map.phpnu �[��� PK � �
| ver. 1.4 |
Github
|
.
| PHP 8.2.29 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка