Skip to content

Instantly share code, notes, and snippets.

@wpspeak
Created May 17, 2014 15:54
Show Gist options
  • Save wpspeak/118a54a0f8b9fd9c1ff1 to your computer and use it in GitHub Desktop.
Save wpspeak/118a54a0f8b9fd9c1ff1 to your computer and use it in GitHub Desktop.
Rebuild Genesis Footer Credit with Nofollow Attribute on Links
<?php
//* Rebuild Genesis Footer Credit with Nofollow Attribute
remove_action( 'genesis_footer', 'genesis_do_footer' );
add_action( 'genesis_footer', 'afn_custom_footer' );
function afn_custom_footer() {
?>
<p>&copy; Copyright 2012 <a href="http://mydomain.com/" rel="nofollow">My Domain</a> &middot; All Rights Reserved &middot; Powered by <a href="http://wordpress.org/" rel="nofollow">WordPress</a> &middot; <a href="http://mydomain.com/wp-admin" rel="nofollow">Admin</a></p>
<?php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment