Changeset 214321
- Timestamp:
- 01/17/2024 09:06:16 AM (23 months ago)
- Location:
- fitness-life-coach/1.2
- Files:
-
- 6 edited
- 1 copied
-
. (copied) (copied from fitness-life-coach/1.1)
-
functions.php (modified) (5 diffs)
-
inc/extra_customization.php (modified) (5 diffs)
-
page-template/custom-home-page.php (modified) (5 diffs)
-
readme.txt (modified) (2 diffs)
-
style.css (modified) (8 diffs)
-
template-parts/footer/site-info.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
fitness-life-coach/1.2/functions.php
r210927 r214321 16 16 wp_enqueue_style( 'fitness-life-coach-style-parent', get_template_directory_uri() . '/style.css' ); 17 17 wp_enqueue_style( 'fitness-life-coach-style', get_stylesheet_directory_uri() . '/style.css', array( 'fitness-life-coach-style-parent' ), '1.0.0' ); 18 18 19 // Theme Customize CSS. 20 require get_parent_theme_file_path( 'inc/extra_customization.php' ); 21 wp_add_inline_style( 'fitness-life-coach-style',$fitness_insight_custom_style ); 22 19 23 require get_theme_file_path( 'inc/extra_customization.php' ); 20 24 wp_add_inline_style( 'fitness-life-coach-style',$fitness_insight_custom_style ); … … 162 166 $wp_customize->remove_setting( 'fitness_insight_mid_section_icon4' ); 163 167 $wp_customize->remove_control( 'fitness_insight_mid_section_icon4' ); 168 169 $wp_customize->remove_setting('fitness_insight_footer_text'); 170 $wp_customize->remove_control('fitness_insight_footer_text'); 164 171 165 $wp_customize->remove_setting('fitness_insight_front_button_border_radius'); 166 $wp_customize->remove_control('fitness_insight_front_button_border_radius'); 167 168 $wp_customize->remove_setting('fitness_insight_button_border_radius'); 169 $wp_customize->remove_control('fitness_insight_button_border_radius'); 172 $wp_customize->remove_setting('fitness_insight_slider_excerpt_show_hide'); 173 $wp_customize->remove_control('fitness_insight_slider_excerpt_show_hide'); 174 170 175 } 171 176 add_action( 'customize_register', 'fitness_life_coach_customize_register', 11 ); … … 199 204 ))); 200 205 201 // button setting 202 $wp_customize->add_setting('fitness_life_coach_front_button_border_radius',array( 203 'default'=> 0, 204 'transport' => 'refresh', 205 'sanitize_callback' => 'fitness_insight_sanitize_integer' 206 )); 207 $wp_customize->add_control(new Fitness_Life_Coach_Slider_Custom_Control( $wp_customize, 'fitness_life_coach_front_button_border_radius',array( 208 'label' => esc_html__( 'Border Radius','fitness-insight' ), 209 'section'=> 'fitness_insight_button_options', 210 'settings'=>'fitness_life_coach_front_button_border_radius', 211 'input_attrs' => array( 212 'reset' =>0, 213 'step' => 1, 214 'min' => 0, 215 'max' => 30, 216 ), 217 'priority' => 3, 218 ))); 219 $wp_customize->add_setting('fitness_life_coach_button_border_radius',array( 220 'default'=> 0, 221 'transport' => 'refresh', 222 'sanitize_callback' => 'fitness_insight_sanitize_integer' 223 )); 224 $wp_customize->add_control(new Fitness_Life_Coach_Slider_Custom_Control( $wp_customize, 'fitness_life_coach_button_border_radius',array( 225 'label' => esc_html__( 'Border Radius','fitness-life-coach' ), 226 'section'=> 'fitness_insight_button_options', 227 'settings'=>'fitness_life_coach_button_border_radius', 228 'input_attrs' => array( 229 'reset' => 0, 230 'step' => 1, 231 'min' => 0, 232 'max' => 30, 233 ), 234 ))); 206 //slider 207 $wp_customize->add_setting( 208 'fitness_life_coach_slider_excerpt_show_hide', 209 array( 210 'type' => 'option', 211 'capability' => 'edit_theme_options', 212 'theme_supports' => '', 213 'default' => '1', 214 'transport' => 'refresh', 215 'sanitize_callback' => 'fitness_insight_callback_sanitize_switch', 216 ) 217 ); 218 $wp_customize->add_control( 219 new Fitness_Life_Coach_Customizer_Customcontrol_Switch( 220 $wp_customize, 221 'fitness_life_coach_slider_excerpt_show_hide', 222 array( 223 'settings' => 'fitness_life_coach_slider_excerpt_show_hide', 224 'section' => 'fitness_insight_slider_section', 225 'label' => __( 'Show Hide excerpt', 'fitness-life-coach' ), 226 'choices' => array( 227 '1' => __( 'On', 'fitness-life-coach' ), 228 'off' => __( 'Off', 'fitness-life-coach' ), 229 ), 230 ) 231 ) 232 ); 235 233 236 234 // About Us Section … … 285 283 'section' => 'fitness_life_coach_about_us_section', 286 284 )); 285 286 //footer 287 $wp_customize->add_setting('fitness_life_coach_footer_text',array( 288 'default' => 'Life Coach WordPress Theme', 289 'sanitize_callback' => 'sanitize_text_field' 290 )); 291 $wp_customize->add_control('fitness_life_coach_footer_text',array( 292 'label' => esc_html__('Copyright Text','fitness-life-coach'), 293 'section' => 'fitness_insight_footer_copyright', 294 'type' => 'textarea' 295 )); 296 $wp_customize->selective_refresh->add_partial( 'fitness_life_coach_footer_text', array( 297 'selector' => '.site-info a', 298 'render_callback' => 'fitness_insight_customize_partial_fitness_life_coach_footer_text', 299 ) ); 287 300 } 288 301 add_action( 'customize_register', 'fitness_life_coach_customize' ); … … 296 309 } 297 310 add_action( 'wp_enqueue_scripts', 'fitness_life_coach_enqueue_comments_reply' ); 311 312 // Footer Text 313 function fitness_life_coach_copyright_link() { 314 $footer_text = get_theme_mod('fitness_insight_footer_text', esc_html__('Life Coach WordPress Theme', 'fitness-life-coach')); 315 $credit_link = esc_url('https://www.ovationthemes.com/wordpress/free-life-coach-wordpress-theme/'); 316 317 echo '<a href="' . $credit_link . '" target="_blank">' . esc_html($footer_text) . '<span class="footer-copyright">' . esc_html__(' By Ovation Themes', 'fitness-life-coach') . '</span></a>'; 318 } 298 319 299 320 define('FITNESS_LIFE_COACH_PRO_LINK',__('https://www.ovationthemes.com/wordpress/fitness-coach-wordpress-theme/','fitness-life-coach')); -
fitness-life-coach/1.2/inc/extra_customization.php
r209300 r214321 2 2 3 3 $fitness_insight_custom_style= ""; 4 5 // theme-button-color6 7 $fitness_insight_theme_button_color = get_theme_mod('fitness_insight_theme_button_color');8 9 if($fitness_insight_theme_button_color != false){10 11 $fitness_insight_custom_style .='button,input[type="button"],input[type="submit"],.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button,.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,button.search-submit,a.added_to_cart.wc-forward,.site-footer .search-form .search-submit,.prev.page-numbers, .next.page-numbers, .page-numbers.current{';12 13 $fitness_insight_custom_style .='background: '.esc_attr($fitness_insight_theme_button_color).';';14 15 $fitness_insight_custom_style .='}';16 }17 18 19 // theme-button-border-radius20 $fitness_life_coach_button_border_radius = get_theme_mod('fitness_life_coach_button_border_radius','0');21 22 if($fitness_life_coach_button_border_radius != false){23 24 $fitness_insight_custom_style .='button,input[type="button"],input[type="submit"],.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button,.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,button.search-submit,a.added_to_cart.wc-forward,.site-footer .search-form .search-submit,#sidebar input[type="search"], input[type="search"], .prev.page-numbers, .next.page-numbers{';25 26 $fitness_insight_custom_style .='border-radius: '.esc_attr(27 28 $fitness_life_coach_button_border_radius).'px;';29 30 $fitness_insight_custom_style .='}';31 }32 33 //front-page-button-color34 $fitness_insight_front_button_color = get_theme_mod('fitness_insight_front_button_color');35 36 if($fitness_insight_front_button_color != false){37 38 $fitness_insight_custom_style .='.slider-btn a{';39 40 $fitness_insight_custom_style .='background: '.esc_attr($fitness_insight_front_button_color).';';41 42 $fitness_insight_custom_style .='}';43 }44 45 //front-page-button-border-radius46 $fitness_life_coach_front_button_border_radius = get_theme_mod('fitness_life_coach_front_button_border_radius','0');47 48 if($fitness_life_coach_front_button_border_radius != false){49 50 $fitness_insight_custom_style .='.slider-btn a,.form-horizontal button#submit{';51 52 $fitness_insight_custom_style .='border-radius: '.esc_attr(53 54 $fitness_life_coach_front_button_border_radius).'px;';55 56 $fitness_insight_custom_style .='}';57 }58 59 // logo max height60 $fitness_insight_logo_max_height = get_theme_mod('fitness_insight_logo_max_height','100');61 62 if($fitness_insight_logo_max_height != false){63 64 $fitness_insight_custom_style .='.custom-logo-link img{';65 66 $fitness_insight_custom_style .='max-height: '.esc_html($fitness_insight_logo_max_height).'px;';67 68 $fitness_insight_custom_style .='}';69 }70 71 72 // Scroll-top-position73 74 $fitness_insight_scroll_options = get_theme_mod( 'fitness_insight_scroll_options','right_align');75 76 if($fitness_insight_scroll_options == 'right_align'){77 78 $fitness_insight_custom_style .='.scroll-top button{';79 80 $fitness_insight_custom_style .='';81 82 $fitness_insight_custom_style .='}';83 84 }else if($fitness_insight_scroll_options == 'center_align'){85 86 $fitness_insight_custom_style .='.scroll-top button{';87 88 $fitness_insight_custom_style .='right: 0; left:0; margin: 0 auto; top:85% !important';89 90 $fitness_insight_custom_style .='}';91 92 }else if($fitness_insight_scroll_options == 'left_align'){93 94 $fitness_insight_custom_style .='.scroll-top button{';95 96 $fitness_insight_custom_style .='right: auto; left:5%; margin: 0 auto';97 98 $fitness_insight_custom_style .='}';99 }100 4 101 5 // slider content alignment … … 105 9 if($fitness_insight_slider_content_alignment == 'LEFT-ALIGN'){ 106 10 107 $fitness_insight_custom_style .=' .carousel-caption{';11 $fitness_insight_custom_style .='#slider .carousel-caption{'; 108 12 109 13 $fitness_insight_custom_style .='text-align:left; right: 40%; left: 15%;'; … … 114 18 }else if($fitness_insight_slider_content_alignment == 'CENTER-ALIGN'){ 115 19 116 $fitness_insight_custom_style .=' .carousel-caption{';20 $fitness_insight_custom_style .='#slider .carousel-caption{'; 117 21 118 22 $fitness_insight_custom_style .='text-align:center; right: 15%; left: 15%;'; … … 123 27 }else if($fitness_insight_slider_content_alignment == 'RIGHT-ALIGN'){ 124 28 125 $fitness_insight_custom_style .=' .carousel-caption{';29 $fitness_insight_custom_style .='#slider .carousel-caption{'; 126 30 127 31 $fitness_insight_custom_style .='text-align:right; right: 15%; left: 40%;'; … … 132 36 133 37 //sticky-header 134 if (false === get_option('fitness_insight_sticky_header')) { 135 add_option('fitness_insight_sticky_header', 'off'); 136 } 137 138 // Define the custom CSS based on the 'fitness_insight_sticky_header' option 139 140 if (get_option('fitness_insight_sticky_header', 'off') !== 'on') { 141 $fitness_insight_custom_style .= '.fixed_header.fixed {'; 142 $fitness_insight_custom_style .= 'position: static;'; 143 $fitness_insight_custom_style .= '}'; 144 } 145 146 if (get_option('fitness_insight_sticky_header', 'off') !== 'off') { 147 $fitness_insight_custom_style .= '.fixed_header.fixed {'; 148 $fitness_insight_custom_style .= 'position: fixed; background: #fc3c2a!important; padding: 1rem;'; 149 $fitness_insight_custom_style .= '}'; 150 151 $fitness_insight_custom_style .= '.admin-bar .fixed {'; 152 $fitness_insight_custom_style .= ' margin-top: 32px;'; 153 $fitness_insight_custom_style .= '}'; 154 } 155 156 157 158 //related products 159 if( get_option( 'fitness_insight_related_product',true) != 'on') { 160 161 $fitness_insight_custom_style .='.related.products{'; 162 163 $fitness_insight_custom_style .='display: none;'; 164 165 $fitness_insight_custom_style .='}'; 38 if (false === get_option('fitness_insight_sticky_header')) { 39 add_option('fitness_insight_sticky_header', 'off'); 166 40 } 167 41 168 if( get_option( 'fitness_insight_related_product',true) != 'off') { 42 // Define the custom CSS based on the 'fitness_insight_sticky_header' option 169 43 170 $fitness_insight_custom_style .='.related.products{'; 171 172 $fitness_insight_custom_style .='display: block;'; 173 174 $fitness_insight_custom_style .='}'; 44 if (get_option('fitness_insight_sticky_header', 'off') !== 'on') { 45 $fitness_insight_custom_style .= '.fixed_header.fixed {'; 46 $fitness_insight_custom_style .= 'position: static;'; 47 $fitness_insight_custom_style .= '}'; 175 48 } 176 49 177 //text-transform 50 if (get_option('fitness_insight_sticky_header', 'off') !== 'off') { 51 $fitness_insight_custom_style .= '.fixed_header.fixed {'; 52 $fitness_insight_custom_style .= 'position: fixed; background: #fc3c2a!important; padding: 1rem;'; 53 $fitness_insight_custom_style .= '}'; 178 54 179 $fitness_insight_text_transform = get_theme_mod( 'fitness_insight_menu_text_transform','CAPITALISE'); 180 if($fitness_insight_text_transform == 'CAPITALISE'){ 55 $fitness_insight_custom_style .= '.admin-bar .fixed {'; 56 $fitness_insight_custom_style .= ' margin-top: 32px;'; 57 $fitness_insight_custom_style .= '}'; 181 58 182 $fitness_insight_custom_style .='nav#top_gb_menu ul li a{'; 183 184 $fitness_insight_custom_style .='text-transform: capitalize ;'; 185 186 $fitness_insight_custom_style .='}'; 187 188 }else if($fitness_insight_text_transform == 'UPPERCASE'){ 189 190 $fitness_insight_custom_style .='nav#top_gb_menu ul li a{'; 191 192 $fitness_insight_custom_style .='text-transform: uppercase ; font-size: 12px;'; 193 194 $fitness_insight_custom_style .='}'; 195 196 }else if($fitness_insight_text_transform == 'LOWERCASE'){ 197 198 $fitness_insight_custom_style .='nav#top_gb_menu ul li a{'; 199 200 $fitness_insight_custom_style .='text-transform: lowercase ;'; 201 202 $fitness_insight_custom_style .='}'; 59 $fitness_insight_custom_style .= '.page-template-custom-home-page .fixed .gb_nav_menu ul li a:hover {'; 60 $fitness_insight_custom_style .= ' color:#222222'; 61 $fitness_insight_custom_style .= '}'; 203 62 } 204 63 205 // woocommerce breadcrumb 206 if( get_option( 'fitness_insight_woocommerce_enable_breadcrumb',true) != 'on') { 64 // slider button 65 $mobile_button_setting = get_option('fitness_insight_slider_button_mobile_show_hide', '1'); 66 $main_button_setting = get_option('fitness_insight_slider_button_show_hide', '1'); 207 67 208 $fitness_insight_custom_style .= '.woocommerce-breadcrumb{';68 $fitness_insight_custom_style .= '#slider .slider-btn {'; 209 69 210 $fitness_insight_custom_style .='display: none;'; 211 212 $fitness_insight_custom_style .='}'; 70 if ($main_button_setting == 'off') { 71 $fitness_insight_custom_style .= 'display: none;'; 213 72 } 214 73 215 if( get_option( 'fitness_insight_woocommerce_enable_breadcrumb',true) != 'off') { 74 $fitness_insight_custom_style .= '}'; 216 75 217 $fitness_insight_custom_style .='.woocommerce-breadcrumb{'; 218 219 $fitness_insight_custom_style .='display: block;'; 220 221 $fitness_insight_custom_style .='}'; 76 // Add media query for mobile devices 77 $fitness_insight_custom_style .= '@media screen and (max-width: 600px) {'; 78 if ($main_button_setting == 'off' || $mobile_button_setting == 'off') { 79 $fitness_insight_custom_style .= '#slider .slider-btn { display: none; }'; 222 80 } 81 $fitness_insight_custom_style .= '}'; -
fitness-life-coach/1.2/page-template/custom-home-page.php
r209300 r214321 16 16 } 17 17 } 18 if( !empty($fitness_insight_slide_post) ) :18 if( !empty($fitness_insight_slide_post) ) : 19 19 $args = array( 20 20 'post_type' =>array('post','page'), 21 'post__in' => $fitness_insight_slide_post 21 'post__in' => $fitness_insight_slide_post, 22 'ignore_sticky_posts' => true, // Exclude sticky posts by default 22 23 ); 24 25 // Check if specific posts are selected 26 if (empty($fitness_insight_slide_post) && is_sticky()) { 27 $args['post__in'] = get_option('sticky_posts'); 28 } 29 23 30 $query = new WP_Query( $args ); 24 31 if ( $query->have_posts() ) : … … 33 40 <div class="carousel-caption"> 34 41 <h2><?php the_title();?></h2> 35 <p><?php echo wp_trim_words( get_the_content(),30 );?></p> 42 <?php if( get_option('fitness_life_coach_slider_excerpt_show_hide',false) != 'off'){ ?> 43 <p class="slider-excerpt"><?php echo wp_trim_words(get_the_content(), get_theme_mod('fitness_insight_slider_excerpt_count',30) );?></p> 44 <?php } ?> 36 45 <div class="slider-btn"> 37 <a href="<?php the_permalink(); ?>"><?php e sc_html_e('GET STARTED','fitness-life-coach'); ?></a>46 <a href="<?php the_permalink(); ?>"><?php echo esc_html(get_theme_mod('fitness_insight_slider_read_more',__('GET STARTED','fitness-life-coach'))); ?></a> 38 47 </div> 39 48 </div> … … 69 78 $fitness_life_coach_args = array( 70 79 'post_type' =>array('page'), 71 'post__in' => $fitness_insight_about_page 80 'post__in' => $fitness_insight_about_page, 72 81 ); 82 73 83 $fitness_life_coach_query = new WP_Query( $fitness_life_coach_args ); 74 84 if ( $fitness_life_coach_query->have_posts() ) : … … 118 128 $args = array( 119 129 'post_type' =>array('post','page'), 120 'post__in' => $fitness_insight_post 130 'post__in' => $fitness_insight_post, 131 'ignore_sticky_posts' => true, // Exclude sticky posts by default 121 132 ); 133 134 // Check if specific posts are selected 135 if (empty($fitness_insight_post) && is_sticky()) { 136 $args['post__in'] = get_option('sticky_posts'); 137 } 138 122 139 $query = new WP_Query( $args ); 123 140 if ( $query->have_posts() ) : … … 134 151 <div class="classes-content-box"> 135 152 <img src="<?php echo (the_post_thumbnail_url('full')); ?>"/> 136 <div class="classes-inner-box ">153 <div class="classes-inner-box pl-3"> 137 154 <h4><?php the_title();?></h4> 138 155 <hr> -
fitness-life-coach/1.2/readme.txt
r210927 r214321 5 5 Requires PHP: 5.6 6 6 Tested up to: 6.4 7 Stable tag: 1. 17 Stable tag: 1.2 8 8 License: GNU General Public License v3 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 69 69 -- Added instructions button in theme documentaion. 70 70 71 = 1.2 = 72 -- Updated footer text setting. 73 -- Updated slider to exclude sticky posts by default. 74 -- Added slider button settings. 75 -- Added slider excerpt setting. 76 -- Updated woocommerce css. 77 71 78 Child Theme Changes. 72 79 -
fitness-life-coach/1.2/style.css
r210927 r214321 5 5 Author URI: https://www.ovationthemes.com/ 6 6 Description: Fitness Life Coach is a pre-designed template for a website dedicated to fitness and life coaching. The theme is designed to meet the needs of fitness coaches, personal trainers, gym owners, and anyone else in the health and fitness industry. Fitness Life Coach comes with several features that make it stand out. The theme includes a range of customizable pages and templates that are specifically designed for the fitness industry, such as class schedules, trainer profiles, pricing plans, and testimonials. The theme also includes a blog section, where coaches can share their tips, insights, and stories with their clients and followers. Furthermore, Fitness Life Coach is optimized for mobile devices, ensuring that the website looks great and functions well on smartphones and tablets. This is important as many people now access the internet on their mobile devices, and a website that is not optimized for mobile can lead to a poor user experience and fewer conversions. Fitness Life Coach is also compatible with various plugins that can enhance the website’s functionality. For example, coaches can use plugins to create online booking systems, integrate their social media profiles, and offer online coaching sessions. The theme is also designed with search engine optimization(SEO) in mind. The theme includes various features that make it easier for coaches to optimize their website for search engines, such as custom meta descriptions, alt tags for images, schema markup, etc. 7 Version: 1. 17 Version: 1.2 8 8 Requires PHP: 5.6 9 9 Tested up to: 6.4 … … 28 28 text-transform: uppercase; 29 29 } 30 span.entry-author a,.comment-author a,.product_meta a { 31 text-decoration: underline; 32 } 33 /*color change*/ 34 .wc-block-cart__submit-container a,a.added_to_cart.wc-forward,.site-info,.scrollup.is-active:hover, .scrollup.is-active:focus,.wrap_figure,.scrollup,.single-tags a:hover,.prev.page-numbers, .next.page-numbers,.page-numbers.current,button.search-submit,#sidebar .tagcloud a:hover, .site-footer .tagcloud a:hover,.site-footer .search-form .search-submit,.gb_nav_menu ul ul,button, input[type="button"], input[type="submit"],nav.woocommerce-MyAccount-navigation ul li,.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,.woocommerce ul.products li.product .onsale, .woocommerce span.onsale,.wp-block-button .wp-block-button__link,.slider-btn a,#slider .carousel-control-next-icon:hover, #slider .carousel-control-prev-icon:hover,.box:hover:before{ 35 background: #fc3c2a; 36 } 37 .top_header .links i.fab.fa-linkedin-in,.wc-block-checkout__actions_row a,a.more-link,a,#Category-section .postbox.smallpostimage:hover h3 a,#sidebar select,#sidebar th,#sidebar td,#sidebar caption,.site-footer .widget-area a:hover,a.showcoupon, .woocommerce-message::before,.page-template-custom-home-page .top_header span i,.top_header .links i,.top_header .links i.fab.fa-facebook-f,.top_header .links i.fab.fa-twitter,.top_header .links i.fab.fa-youtube,.top_header .links i.fab.fa-instagram,.page-template-custom-home-page .site-title a:hover,#slider .carousel-caption h2,.top_header span i,.gb_nav_menu ul li a:active, .page-template-custom-home-page .gb_nav_menu ul li a:hover{ 38 color: #fc3c2a; 39 } 40 .bread_crumb a:hover,.bread_crumb span ,.woocommerce-breadcrumb a:hover{ 41 color:#fc3c2a!important; 42 } 30 43 .woocommerce-message { 31 44 border-top-color: #fc3c2a; 32 45 } 33 span.entry-author a,.comment-author a,.product_meta a { 34 text-decoration: underline; 35 } 36 .scrollup { 37 background: #fc3c2a!important; 38 } 39 .single-tags a:hover,.prev.page-numbers, .next.page-numbers,.page-numbers.current,button.search-submit,#sidebar .tagcloud a:hover, .site-footer .tagcloud a:hover,.site-footer .search-form .search-submit,.gb_nav_menu ul ul,button, input[type="button"], input[type="submit"],nav.woocommerce-MyAccount-navigation ul li,.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,.woocommerce ul.products li.product .onsale, .woocommerce span.onsale,.wp-block-button .wp-block-button__link,.slider-btn a,#slider .carousel-control-next-icon:hover, #slider .carousel-control-prev-icon:hover,.box:hover:before{ 40 background: #fc3c2a; 41 } 42 a.more-link,a,#Category-section .postbox.smallpostimage:hover h3 a,#sidebar select,#sidebar th,#sidebar td,#sidebar caption,.site-footer .widget-area a:hover,a.showcoupon, .woocommerce-message::before,.page-template-custom-home-page .top_header span i,.top_header .links i,.top_header .links i.fab.fa-facebook-f,.top_header .links i.fab.fa-twitter,.top_header .links i.fab.fa-youtube,.top_header .links i.fab.fa-instagram,.page-template-custom-home-page .site-title a:hover,#slider .carousel-caption h2,.top_header span i,.gb_nav_menu ul li a:active, .page-template-custom-home-page .gb_nav_menu ul li a:hover{ 43 color: #fc3c2a; 44 } 45 46 .gb_nav_menu ul ul a,.prev.page-numbers, .next.page-numbers,.page-numbers.current,button, input[type="button"], input[type="submit"],#sidebar .tagcloud a:hover, .site-footer .tagcloud a:hover,.site-footer .search-form .search-submit,.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,.woocommerce ul.products li.product .onsale, .woocommerce span.onsale,.slider-btn a,#slider .carousel-control-next-icon:hover, #slider .carousel-control-prev-icon:hover,.box .box-content,.box-content h4 a,nav.woocommerce-MyAccount-navigation ul li a{ 46 a.added_to_cart.wc-forward,.slider-btn a:hover,.page-template-custom-home-page .site-title, .page-template-custom-home-page .site-title a, .page-template-custom-home-page .logo h1 a, .page-template-custom-home-page .logo p,.gb_nav_menu ul ul a,.prev.page-numbers, .next.page-numbers,.page-numbers.current,button, input[type="button"], input[type="submit"],#sidebar .tagcloud a:hover, .site-footer .tagcloud a:hover,.site-footer .search-form .search-submit,.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,.woocommerce ul.products li.product .onsale, .woocommerce span.onsale,.slider-btn a,#slider .carousel-control-next-icon:hover, #slider .carousel-control-prev-icon:hover,.box .box-content,.box-content h4 a,nav.woocommerce-MyAccount-navigation ul li a{ 47 47 color: #fff; 48 48 } 49 a.more-link:hover,.page-template-custom-home-page .top_header strong,.top_header span,.top_header strong{ 50 color: #232323; 51 } 52 53 .gb_nav_menu ul ul a:hover,.slider-btn a:hover,.form-horizontal button#submit:hover{ 49 .woocommerce a.checkout-button.button.alt.wc-forward:hover,.wp-block-button .wp-block-button__link:hover,.toggle-menu.gb_menu button,.form-horizontal button#submit:hover{ 50 color: #fff !important; 51 } 52 .wc-block-cart__submit-container a:hover, a.added_to_cart.wc-forward:hover, .woocommerce #respond input#submit:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce #respond input#submit.alt:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover,.prev.page-numbers:focus, .prev.page-numbers:hover, .next.page-numbers:focus, .next.page-numbers:hover ,button:hover, button:focus, input[type="button"]:hover, input[type="button"]:focus, input[type="submit"]:hover, input[type="submit"]:focus ,.gb_nav_menu ul ul a:hover,.slider-btn a:hover,.form-horizontal button#submit:hover{ 54 53 background: #171d29; 55 54 } 56 57 55 .woocommerce a.checkout-button.button.alt.wc-forward{ 58 56 color: #171d29 !important; 59 57 } 60 61 .woocommerce a.checkout-button.button.alt.wc-forward:hover,.wp-block-button .wp-block-button__link:hover,.toggle-menu.gb_menu button,.form-horizontal button#submit:hover{ 62 color: #fff !important; 63 } 64 .page-template-custom-home-page .site-title, .page-template-custom-home-page .site-title a, .page-template-custom-home-page .logo h1 a, .page-template-custom-home-page .logo p{ 65 color: #fff; 66 } 67 58 .wc-block-checkout__form, .wp-block-woocommerce-checkout-order-summary-block, .wc-block-checkout__actions_row a:hover,.classes-inner-box p,a:hover, a:active,.site-info a:hover,.site-info .footer-copyright,a.more-link:hover,.page-template-custom-home-page .top_header strong,.top_header span,.top_header strong{ 59 color: #171d29; 60 } 61 .wc-block-components-product-badge { 62 box-shadow: 2px 2px 0 0 #171d29; 63 border: solid 2px #171d29 !important; 64 } 65 .entry-content .quotepost a,.entry-content .quotepost p,#Category-section pre.wp-block-verse{ 66 text-decoration: none; 67 background: -webkit-linear-gradient( 90deg,#fc3c2a, #fc3c2a); 68 -webkit-background-clip: text; 69 -webkit-text-fill-color: transparent; 70 } 71 .wrap_figure,a.added_to_cart.wc-forward,.wc-block-cart__submit-container a,.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button,.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,.form-horizontal button#submit,.slider-btn a,button,input[type="button"],input[type="submit"],button.search-submit,.site-footer .search-form .search-submit,#sidebar input[type="search"], input[type="search"], .prev.page-numbers, .next.page-numbers{ 72 border-radius: 0px; 73 } 68 74 .menu_header{ 69 75 background: transparent; 70 }71 .wrap_figure{72 background: #fc3c2a;73 border-radius: 0px;74 76 } 75 77 .top_header span i { … … 127 129 padding: 2px; 128 130 } 129 /*breadcrumb*/ 130 .bread_crumb a:hover,.bread_crumb span ,.woocommerce-breadcrumb a:hover{ 131 color:#fc3c2a!important; 132 } 133 /*post-format*/ 134 .entry-content .quotepost a{ 135 text-decoration: none; 136 background: -webkit-linear-gradient( 90deg,#fc3c2a, #fc3c2a); 137 -webkit-background-clip: text; 138 -webkit-text-fill-color: transparent; 139 } 140 .entry-content .quotepost p{ 141 background: -webkit-linear-gradient( 90deg,#fc3c2a, #fc3c2a); 142 -webkit-background-clip: text; 143 -webkit-text-fill-color: transparent; 144 } 145 #Category-section pre.wp-block-verse{ 146 border: 5px solid black!important; 147 background: -webkit-linear-gradient( 90deg,#fc3c2a, #fc3c2a); 148 -webkit-background-clip: text; 149 -webkit-text-fill-color: transparent; 150 } 131 151 132 /* Accessibility */ 152 133 /* Text meant only for screen readers. */ … … 225 206 width: 85%; 226 207 } 227 228 208 .abt-img-border:after, .abt-img-border:before { 229 209 content: ''; … … 260 240 letter-spacing: 1px; 261 241 } 262 .slider-btn a:hover{263 color: #fff;264 }265 266 242 .slider-btn a{ 267 243 border-radius: 0px; … … 273 249 margin: 25px 0; 274 250 } 275 .classes-inner-box p { 276 color: #171d29; 277 } 251 278 252 .classes-box img { 279 253 width: 100%; … … 325 299 background: #fc3c2a; 326 300 } 327 #slider .carousel-caption {328 right: 20%;329 }330 301 .gb_nav_menu ul ul{ 331 302 background: transparent; … … 341 312 } 342 313 } 314 @media screen and (max-width:600px){ 315 #slider .carousel-caption{ 316 text-align: center !important; 317 left: 15px !important; 318 right: 15px !important; 319 } 320 #about-us h4, #about-us p, #about-us .slider-btn{ 321 text-align: center; 322 } 323 .classes-inner-box{ 324 left: 0; 325 right: 0; 326 text-align: center; 327 padding-left: 0 !important; 328 } 329 } -
fitness-life-coach/1.2/template-parts/footer/site-info.php
r209300 r214321 9 9 10 10 ?> 11 <div class="site-info py-4 text-center"> 12 13 <?php 14 echo esc_html( get_theme_mod( 'fitness_insight_footer_text' ) ); 15 printf( 16 /* translators: %s: Fitness WordPress Theme. */ 17 '<a href="' . esc_attr__( 'https://www.ovationthemes.com/wordpress/free-life-coach-wordpress-theme/', 'fitness-insight' ) . '"> %s</a>', 18 esc_html__( 'Fitness WordPress Theme', 'fitness-insight' ) 19 ); 20 ?> 21 11 <div class="site-info py-4"> 12 <div class="container-fluid"> 13 <?php fitness_life_coach_copyright_link(); ?> 14 </div> 22 15 </div>
Note: See TracChangeset
for help on using the changeset viewer.