Customize the Credits Text
This is deprecated in Genesis 3.0.0+ You can now change it in Genesis footer setting in the Customizer.
//* Change the footer text add_filter('genesis_footer_creds_text', 'gk_footer_creds_filter'); function gk_footer_creds_filter( $creds ) { $creds = '[footer_copyright] · <a href="/">Company Name</a> · Built on the <a href="http://www.studiopress.com/themes/genesis" title="Genesis Framework">Genesis Framework</a>'; return $creds; }
Customize the Site Footer
//* Customize the entire footer remove_action( 'genesis_footer', 'genesis_do_footer' ); add_action( 'genesis_footer', 'gk_custom_footer' ); function gk_custom_footer() { ?> <p>© Copyright 2015 <a href="/">Example Site</a> · All Rights Reserved · Powered by <a href="http://wordpress.org/">WordPress</a> · <a href="/wp-admin">Admin</a></p> <?php }
Reposition the Site Footer
//* Reposition the 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 ); add_action( 'genesis_after', 'genesis_footer_markup_open', 11 ); add_action( 'genesis_after', 'genesis_do_footer', 12 ); add_action( 'genesis_after', 'genesis_footer_markup_close', 13 );
Customize the Return to Top of Page Text
//* Customize the return to top of page text add_filter( 'genesis_footer_backtotop_text', 'gk_footer_backtotop_text' ); function gk_footer_backtotop_text($backtotop) { $backtotop = ''; return $backtotop; }
Custom Customization
add_action('genesis_before', 'gk_custom_footer_function', 10); function gk_custom_footer_function() { //* use conditional tag @https://codex.wordpress.org/Conditional_Tags if ( ! is_singular('post') ) { //* multiple post types is_singular( array ('post','page') ) return; } //* put some stuff to do }