Skip to content

Instantly share code, notes, and snippets.

@authentikHQ
Last active November 23, 2018 01:09
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 authentikHQ/ce6ded1431ef73a5c80a9d5b3c4c51f9 to your computer and use it in GitHub Desktop.
Save authentikHQ/ce6ded1431ef73a5c80a9d5b3c4c51f9 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 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 site footer
add_action( 'genesis_footer', 'athk_custom_site_footer' );
function athk_custom_site_footer() { ?>
<div class="site-footer"><div class="wrap"><p>Handcrafted with <span class="dashicons dashicons-heart"></span> in Chicago. Powered by the <a href="https://www.studiopress.com/">Genesis Framework</a>.</p></div></div>
<?php
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment