Snippets

Crumina Team [Onetouch] replace social icons panel

Created by Alexandr Kostyrka
function _custom_remove_soc_icons() {
	add_action('reactor_header_after', '_new_custom_soc_icons', 2);
	remove_action('reactor_header_after', 'crumina_social_icons', 2);
}
add_action( 'init', '_custom_remove_soc_icons', 1 );

function _new_custom_soc_icons(){ ?>
 <div class="row"><div class="large-12 columns">
    <div id="panel">
        <a id="open-social-button" href="#">
            <i class="linecon-lightbulb"></i>
            <span class="desc">Toggle panel</span>
            <span>Social icons</span>
        </a>
        <div id="soc-icons-wrap" class="closed">
        <!--Custom links and images for icons here -->
            <a href="https://www.facebook.com/"  title="Facebook"><img src="<!--Path to your icon in PNG or SVG -->" alt=""/></a>
            <a href="https://accounts.google.com/"  title="Google +"><img src="<!--Path to your icon in PNG or SVG -->" alt=""/></a>
            <a href="http://twitter.com"  title="Twitter"><img src="<!--Path to your icon in PNG or SVG -->" alt=""/></a>
            <a href="http://instagr.am" title="Instagram"><img src="<!--Path to your icon in PNG or SVG -->" alt=""/></a>

        </div>
    </div>
    </div></div>';
<?php }

Comments (0)

HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.