The snippet below may be used to customize the credit text in the site footer.
Note:
- If you are a beginner user, you might find the Simple Edits plugin helpful as it presents an easier method of customizing the credit text.
Below is the code to customize the credits text on your site. The code snippet should be placed into your theme’s functions.php file:
add_filter('genesis_footer_creds_text', 'sp_footer_creds_filter'); function sp_footer_creds_filter( $creds ) { $creds = '© 2020 · <a href="http://mydomain.com">My Custom Link</a> · Built on the <a href="http://www.studiopress.com/themes/genesis" title="Genesis Framework">Genesis Framework</a>'; return $creds; }
<?php | |
//* Do NOT include the opening php tag shown above. Copy the code shown below. | |
//* Change the footer text | |
add_filter(‘genesis_footer_creds_text’, ‘sp_footer_creds_filter’); | |
function sp_footer_creds_filter( $creds ) { | |
$creds = ‘© 2020 · <a href=”http://mydomain.com”>My Custom Link</a> · Theme by <a href=”https://seothemes.com/” title=”SEO Themes”>SEO Themes</a>’; | |
return $creds; | |
} |
Download the How to Start Blogging Guide
Explore this FREE GUIDE to take a deep dive into how to start blogging to make money. Get a PDF version of this guide right to your email, plus weekly tips from our blogging experts at BizBudding.