Skip to content

Instantly share code, notes, and snippets.

@aabergkvist
Last active September 22, 2017 11:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aabergkvist/1c11f922f7a5240bfc32 to your computer and use it in GitHub Desktop.
Save aabergkvist/1c11f922f7a5240bfc32 to your computer and use it in GitHub Desktop.
Ändra Genesis Footer
<?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