Skip to content

Commit

Permalink
Increased slots for social icons in the footer (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
petrkucerak authored Feb 2, 2023
1 parent 57bfdfc commit 1c84b9d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@
<?php if(esc_url(get_theme_mod('settings_footer_logo3')) != "") : ?>
<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>
<?php endif; ?>
<?php if(esc_url(get_theme_mod('settings_footer_logo4')) != "") : ?>
<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>
<?php endif; ?>
<?php if(esc_url(get_theme_mod('settings_footer_logo5')) != "") : ?>
<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>
<?php endif; ?>
</section>
</footer>
<?php if(!is_page( 'adventni-kalendar' )){
Expand Down
2 changes: 1 addition & 1 deletion functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ function stcblog_customize_register($wp_customize) {
// ===================================
// Custom socials icons
// ===================================
stcblog_add_socials(3, $wp_customize);
stcblog_add_socials(5, $wp_customize);
}

add_action('customize_register', 'stcblog_customize_register');
Expand Down

0 comments on commit 1c84b9d

Please sign in to comment.