• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2785

Original Genesis & WooCommerce Tutorials & 6000+ Guaranteed Code

Snippets

  • Try Premium
  • Log in

Genesis Footer Credits Text Modifications

These code snippets enable you to use genesis filters to:

  1. Remove all the footer credits text
  2. Reposition the footer credits text after the footer
  3. Modify the default footer credits text

All code should be pasted at the end of your child themes functions file using a code editor.

The following code removes the footer text from within the footer:

add_filter('genesis_footer_output', 'sp_footer_creds_filter');
function sp_footer_creds_filter( $creds ) {
$creds = '';
return $creds;
}

This code enables you to reposition the footer credits text to another hook after the footer.

add_action( 'genesis_after_footer', 'sp_footer_creds_text' );
function sp_footer_creds_text() {
echo '<div class="after-footer-credits-text"><p>';
echo 'Copyright &copy; ';
echo date('Y');
echo ' &middot; <a href="http://mydomain.com">My Custom Link</a> &middot; Built on the <a href="http://www.studiopress.com/themes/genesis" title="Genesis Framework">Genesis Framework</a>';
echo '</p></div>';
}

The following code enables you to modify the footer links and text:

add_filter( 'genesis_footer_output', 'sp_footer_creds_text' );
function sp_footer_creds_text() {
echo '<div class="creds"><p>';
echo 'Copyright &copy; ';
echo date('Y');
echo ' &middot; <a href="http://mydomain.com">My Custom Link</a> &middot; Built on the <a href="http://www.studiopress.com/themes/genesis" title="Genesis Framework">Genesis Framework</a>';
echo '</p></div>';
}

Related Tutorials

  • Genesis Footer Credits Text Filter
  • 3 Positions To Add HTML Text Links In or After Your Footer

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

Code written by Brad Dalton specialist for Genesis, WooCommerce & WordPress theme customization. Read More…

Advertise · WPEngine · Genesis · Log in

  • Access Problems
  • Account Details
  • Consulting
  • Tags