Updating WordPress footers when Jetpack infinite scroll is enabled

It’s inevitable when you install Jetpack that some things on your site will need to be re-updated.  I found this out when I installed Jetpack and couldn’t find the footer overrides so the site was showing the “Proudly powered by WordPress” message at the bottom.

Gotta love Jetpack by WordPress‘s “infinite scroll” feature though — and Jetpack in general is great!

After a little digging, I found the solution.  I only wasted another 10 minutes of my life updating something so small but so necessary.  Again.  Don’t you love how the web has turned us all into overly-anal critics paying attention to things that in normal life elsewhere just plain simply wouldn’t matter?  Yes, the line at the footer of the website that no one reads, when did we all turn into such hollow digital echoes of our real selves?…..  🙂

Here’s the code you need to put in your child theme’s function.php file:

add_filter( 'infinite_scroll_credit', 'my_footer_text' );

function my_footer_text() {
return '<a href="http://linkOrNot">Proudly created not by WordPress, or whatever you want to put in here, everyone knows its WordPress anyway....</a>';
}

 

About Author:

Senior Cloud Software Engineer and 25+ years experienced video production, video editing and 3D animation services for a variety of global clients including local video production here in Jacksonville, Florida.

Leave a Comment

Your email address will not be published. Required fields are marked *