Skip to content

Instantly share code, notes, and snippets.

@CoachBirgit
Created January 13, 2016 16:01
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 CoachBirgit/055e8406165df5ba75f1 to your computer and use it in GitHub Desktop.
Save CoachBirgit/055e8406165df5ba75f1 to your computer and use it in GitHub Desktop.
Customize site footer with the Genesis Framework.
<?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', 'bg_custom_footer' );
function bg_custom_footer() { ?>
<div class="site-footer"><div class="wrap"><p>Handcrafted with <span class="dashicons dashicons-heart"></span> by moi. Powered by the <a href="http://rainmakerplatform.com/">Rainmaker Platform</a>. <a href="http://briangardner.com/contact/">Get in Touch</a>.</p></div></div>
<?php
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment