Changing the Genesis Link to your affiliate link

Like me, many of you are using Genesis Theme framework. If you are interested in affiliate marketing, then you can replace the default genesis link by your affiliate marketing link

add_filter('genesis_footer_creds_text', 'sp_footer_creds_filter');
function sp_footer_creds_filter( $creds ) {
	$creds = '[footer_copyright] &middot; <a href="https://www.asokans.com">Asokans</a> &middot; Built on the <a href="http://www.shareasale.com/r.cfm?B=346200&U=1554510&M=28169&urllink=" title="Genesis Framework">Genesis Framework</a>';
	return $creds;
}

You can add this to the functions.php of your genesis child theme.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: