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

PopWP

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, 2019 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

Primary Sidebar

Search

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 canvas menu center logo columns conditional tags CSS CSS Grid custom Customizer custom post type Custom Post Types custom template Custom Widget effect eNews Extended Featured Image front-page Genesis Genesis Sample header right hero section Image Background js layout left menu Logo menu Navigation Menu newsletter post page related posts responsive menu search search widget Shrinking Logo site header slide in-out Stylesheet Template Utility Bar Video Background widgets WordPress

Built with Genesis Framework + WordPress by Aryan Raj

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