• Skip to primary navigation
  • Skip to content
  • Skip to primary sidebar
  • Skip to user navigation

Designody

WordPress and Genesis Tutorials

  • Get Started
  • About
  • Archive
  • Services
  • Membership
  • My Account

Customize and edit site footer Credit Text and URL in Genesis

Last Updated on August 28, 2019Leave a Comment Favorited: 0 times

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] &middot; <a href="/">Company Name</a> &middot; 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>&copy; Copyright 2015 <a href="/">Example Site</a> &middot; All Rights Reserved &middot; Powered by <a href="http://wordpress.org/">WordPress</a> &middot; <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
}

 

Related Posts

  • Conditional site footer in Genesis
  • Split the Genesis footer Credits in two or more widget-areas
  • Split footer in Genesis

Categories: Free Content, Genesis Tutorials Tags: credit, site footer

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

You should use these Shortcodes tag and attributes while sharing the code:
Example: [html]I <3 HTML[/html] → [html][css][php][js][java][json][raw]

Primary Sidebar

WPEngine WordPress Hosting, Perfected.

Hosting You are looking for?.
Perfect solution for small business to global enterprise.

Learn more

StudioPress Genesis Theme Framework

The No.1 Theme Provider.
Creative, SEO rich Theme for all niche projects.

Learn more

Categories

  • Free Content
  • Genesis Tutorials
  • Premium Content
  • Snippets
  • What's New?
  • WordPress Tutorials

Tag Cloud

Archive Background Section blog center logo columns conditional tags CSS CSS Grid custom Customizer custom post type Custom Post Types custom template Custom Widget effect Featured Image front-page Genesis Genesis Sample header right hero section Image Background js layout Logo menu navigation Navigation Menu Nav Menu newsletter post page related posts responsive menu search search widget Shrinking Logo site header slide in-out Split Navigation Stylesheet Template Utility Bar Video Background widgets WordPress

Built with Genesis Framework + WordPress

  • Contact
  • FAQ
  • Disclaimer
  • Privacy Policy
  • Copyright Policy
  • Terms of Service