Edit File by line
/home/barbar84/www/wp-conte.../themes/Divi/includes
File: social_icons.php
<ul class="et-social-icons">
[0] Fix | Delete
[1] Fix | Delete
<?php if ( 'on' === et_get_option( 'divi_show_facebook_icon', 'on' ) ) : ?>
[2] Fix | Delete
<li class="et-social-icon et-social-facebook">
[3] Fix | Delete
<a href="<?php echo esc_url( et_get_option( 'divi_facebook_url', '#' ) ); ?>" class="icon">
[4] Fix | Delete
<span><?php esc_html_e( 'Facebook', 'Divi' ); ?></span>
[5] Fix | Delete
</a>
[6] Fix | Delete
</li>
[7] Fix | Delete
<?php endif; ?>
[8] Fix | Delete
<?php if ( 'on' === et_get_option( 'divi_show_twitter_icon', 'on' ) ) : ?>
[9] Fix | Delete
<li class="et-social-icon et-social-twitter">
[10] Fix | Delete
<a href="<?php echo esc_url( et_get_option( 'divi_twitter_url', '#' ) ); ?>" class="icon">
[11] Fix | Delete
<span><?php esc_html_e( 'Twitter', 'Divi' ); ?></span>
[12] Fix | Delete
</a>
[13] Fix | Delete
</li>
[14] Fix | Delete
<?php endif; ?>
[15] Fix | Delete
<?php if ( 'on' === et_get_option( 'divi_show_google_icon', 'on' ) ) : ?>
[16] Fix | Delete
<li class="et-social-icon et-social-google-plus">
[17] Fix | Delete
<a href="<?php echo esc_url( et_get_option( 'divi_google_url', '#' ) ); ?>" class="icon">
[18] Fix | Delete
<span><?php esc_html_e( 'Google', 'Divi' ); ?></span>
[19] Fix | Delete
</a>
[20] Fix | Delete
</li>
[21] Fix | Delete
<?php endif; ?>
[22] Fix | Delete
<?php $et_instagram_default = ( true === et_divi_is_fresh_install() ) ? 'on' : 'false'; ?>
[23] Fix | Delete
<?php if ( 'on' === et_get_option( 'divi_show_instagram_icon', $et_instagram_default ) ) : ?>
[24] Fix | Delete
<li class="et-social-icon et-social-instagram">
[25] Fix | Delete
<a href="<?php echo esc_url( et_get_option( 'divi_instagram_url', '#' ) ); ?>" class="icon">
[26] Fix | Delete
<span><?php esc_html_e( 'Instagram', 'Divi' ); ?></span>
[27] Fix | Delete
</a>
[28] Fix | Delete
</li>
[29] Fix | Delete
<?php endif; ?>
[30] Fix | Delete
<?php if ( 'on' === et_get_option( 'divi_show_rss_icon', 'on' ) ) : ?>
[31] Fix | Delete
<?php
[32] Fix | Delete
$et_rss_url = '' !== et_get_option( 'divi_rss_url' )
[33] Fix | Delete
? et_get_option( 'divi_rss_url' )
[34] Fix | Delete
: get_bloginfo( 'rss2_url' );
[35] Fix | Delete
?>
[36] Fix | Delete
<li class="et-social-icon et-social-rss">
[37] Fix | Delete
<a href="<?php echo esc_url( $et_rss_url ); ?>" class="icon">
[38] Fix | Delete
<span><?php esc_html_e( 'RSS', 'Divi' ); ?></span>
[39] Fix | Delete
</a>
[40] Fix | Delete
</li>
[41] Fix | Delete
<?php endif; ?>
[42] Fix | Delete
[43] Fix | Delete
</ul>
[44] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function