Skip to content

Commit

Permalink
Coding standards (pasta section-parts)
Browse files Browse the repository at this point in the history
- section-services.php;
- section-social.php;
- section-yourslider.php.
  • Loading branch information
rodineicosta committed Apr 23, 2021
1 parent e58ee1a commit 31a464b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion section-parts/section-services.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class="<?php echo esc_attr(apply_filters('coletivo_section_class', 'section-serv
}
} else if ( $settings['icon'] ) {
$settings['icon'] = trim( $settings['icon'] );
//Get Set social icons
// Get Set social icons
if ( $settings['icon'] != '' && strpos($settings['icon'], 'fa') !== 0) {
$settings['icon'] = 'fa-' . $settings['icon'];
}
Expand Down
1 change: 1 addition & 0 deletions section-parts/section-social.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ class="<?php echo esc_attr(apply_filters('coletivo_section_class', 'section-soci
} else {
/**
* Deprecated
*
* @since 1.1.4
*/
$twitter = get_theme_mod('coletivo_social_twitter');
Expand Down
1 change: 0 additions & 1 deletion section-parts/section-yourslider.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

<?php
$coletivo_yourslider_id = get_theme_mod( 'coletivo_yourslider_id', esc_html__('yourslider', 'coletivo') );
$coletivo_yourslider_disable = get_theme_mod( 'coletivo_yourslider_disable' ) == 1 ? true : false ;
Expand Down

0 comments on commit 31a464b

Please sign in to comment.