Last Updated: 1 year ago by BrodNeil
How to remove the Powered by GeneratePress in footer
You only use this if you are using the free & open source version.
- To remove it, log in to your WP website.
- Goto Appearance > Theme File Editor > functions.php.
- Add this line at the bottom of your functions.php file.
add_filter( 'generate_copyright','tu_custom_copyright' );
function tu_custom_copyright() {
?>
<p>© <?php echo date('Y'); ?> YourDomain.com </p>
<?php
}
- Once done, click Update File.
Recommendation: Use a plugin to do this instead of directly having it under the functions.php. I prefer any of the plugins below:
- Code Snippets by WPCode
- Code Snippets by Code Snippets Pro
Using any of the plugins above would ensure that your code stays anytime the GeneratePress theme updates.
You won’t need the above steps if you are using the GeneratePress premium plugin.
Why buy GeneratePress Premium?
GeneratePress Premium accelerates your workflow with hundreds of customization controls. It also includes professionally designed starter sites. Block-based theme building is also possible with GeneratePress Premium, See the features here.