-
johnottomagee
Hello Support !
See
https://johnottomagee.com/about/How do I remove the
“Built with WordPress” footer?Thanks.
John
-
George
Hi John.
Try using the code described at the Removing the entire footer bar section of this doc.
-
johnottomagee
That was fast.
Thanks, George.I created a PHP-snippet with:
add_action( ‘after_setup_theme’, ‘tu_remove_footer_area’ );
function tu_remove_footer_area() {
remove_action( ‘generate_footer’,’generate_construct_footer’ );
}The footer still appears.
I am out of practice how to do this stuff.
Please advise.John
-
George
Hi John.
Can you describe the process of adding this PHP snippet? Here are instructions on how to do it.
https://docs.generatepress.com/article/adding-php/
If you have used a snippet plugin, make sure the snippet is also activated.
-
johnottomagee
Hi George,
I have Woody Snippets as a plugin.
I went into and chose New Snippet: PHP.
Then inserted:add_action( ‘after_setup_theme’, ‘tu_remove_footer_area’ );
function tu_remove_footer_area() {
remove_action( ‘generate_footer’,’generate_construct_footer’ );
}and “Remove Everywhere”. Then updated.
-
George
Hello.
and “Remove Everywhere”.
I imagine, you mean
Run everywhere?When using PHP snippets for this code, it is better to use a later hook that fires after Woody Snippets has loaded your code but before the footer renders:
add_action( 'wp', 'tu_remove_footer_area' ); function tu_remove_footer_area() { remove_action( 'generate_footer', 'generate_construct_footer' ); }Try this and let me know!
-
johnottomagee
Still there.
See screenshot:https://johnottomagee.com/wp-admin/post.php?post=123920&action=edit
-
George
Hello.
This link you sent is a link to the admin which I don’t have access to.
Could you please provide site credentials so we could have a look for you? Please use the private section of your reply to post them. You can also install the Temporary Login Without Password plugin and send us a login link without using a password. Again, please, use the private area of your reply to send those details.
-
johnottomagee
Sorry, my goof-up.
See in Private Info. -
George
Hi again.
Is it possible to give me admin access to have a look?
-
johnottomagee
See below, George, in
Private Info. -
johnottomagee
See Private Info, George.
-
George
Hey.
See here:

Please, set this to Run everywhere.
-
johnottomagee
Done. Solved.
Great work, George.And I apologize for being
so chaotic today.John
-
George
Not a problem, I am glad it’s solved!
- You must be logged in to reply to this topic.