Skip to content

Commit 1c84b9d

Browse files
authored
Increased slots for social icons in the footer (#109)
1 parent 57bfdfc commit 1c84b9d

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

footer.php

+6
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@
2828
<?php if(esc_url(get_theme_mod('settings_footer_logo3')) != "") : ?>
2929
<a class="footer__socials__icon" href=<?php echo esc_url(get_theme_mod('settings_footer_link3'))?>><img src=<?php echo esc_url(get_theme_mod('settings_footer_logo3'))?> alt=""/></a>
3030
<?php endif; ?>
31+
<?php if(esc_url(get_theme_mod('settings_footer_logo4')) != "") : ?>
32+
<a class="footer__socials__icon" href=<?php echo esc_url(get_theme_mod('settings_footer_link4'))?>><img src=<?php echo esc_url(get_theme_mod('settings_footer_logo4'))?> alt=""/></a>
33+
<?php endif; ?>
34+
<?php if(esc_url(get_theme_mod('settings_footer_logo5')) != "") : ?>
35+
<a class="footer__socials__icon" href=<?php echo esc_url(get_theme_mod('settings_footer_link5'))?>><img src=<?php echo esc_url(get_theme_mod('settings_footer_logo5'))?> alt=""/></a>
36+
<?php endif; ?>
3137
</section>
3238
</footer>
3339
<?php if(!is_page( 'adventni-kalendar' )){

functions.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ function stcblog_customize_register($wp_customize) {
213213
// ===================================
214214
// Custom socials icons
215215
// ===================================
216-
stcblog_add_socials(3, $wp_customize);
216+
stcblog_add_socials(5, $wp_customize);
217217
}
218218

219219
add_action('customize_register', 'stcblog_customize_register');

0 commit comments

Comments
 (0)