Last active
September 22, 2017 11:37
-
-
Save aabergkvist/1c11f922f7a5240bfc32 to your computer and use it in GitHub Desktop.
Ändra Genesis Footer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//* Do NOT include the opening php tag | |
//* Remove the site footer | |
remove_action( 'genesis_footer', 'genesis_footer_markup_open', 5 ); | |
remove_action( 'genesis_footer', 'genesis_do_footer' ); | |
remove_action( 'genesis_footer', 'genesis_footer_markup_close', 15 ); | |
//* Customize the site footer | |
add_action( 'genesis_footer', 'ab_custom_footer' ); | |
function ab_custom_footer() { ?> | |
<div class="site-footer"><div class="wrap"><p>© aabergkvist.com | <a href="mailto:aabergkvist@gmail.com">axel antas-bergkvist - Senior Digital Strategist</a> | Running on <a href="/wpengine">WPEngine.</a></p></div></div> | |
<?php | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment