Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_action( 'init', 'ec_child_add_footer_icons_to_header' );
- function ec_child_add_footer_icons_to_header() {
- remove_action( 'electro_header_v3', 'electro_navbar_mini_cart', 30 );
- remove_action( 'electro_header_v3', 'electro_navbar_wishlist', 40 );
- remove_action( 'electro_header_v3', 'electro_navbar_compare', 50 );
- add_action( 'electro_header_v3', 'electro_header_social_icons', 30 );
- }
- function electro_header_social_icons() {
- ob_start();
- electro_footer_social_icons();
- $footer_social_icons = ob_get_clean();
- ?><div class="header-social-icons pull-right"><?php echo $footer_social_icons; ?></div>
- <style>.header-social-icons { padding-right: 15px; }.header-social-icons .footer-social-icons { margin-bottom: 0; }.header-social-icons .footer-social-icons .social-icons a { color: #333e48; line-height: 54px; }</style><?php
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement