How to change the credit link in the Infinite Scroll footer

If you’d like to change the default credit link appearing in the Infinite Scroll footer, you can use the infinite_scroll_credit filter, like so:

function tweakjp_cust_credit() {
	return '<a href="">My Custom Link</a>';
add_filter( 'infinite_scroll_credit', 'tweakjp_cust_credit' );

Once you add that code to your theme’s functions.php, a new link will appear instead of the default “Powered by WordPress” link.

This entry was posted in Code snippets, Tips & Tricks and tagged , , . Bookmark the permalink.
  • Recent Comments

    Richard Muscat on The Jetpack Personal plan: aff…
    Gaslamp Media (@gasl… on The Jetpack Personal plan: aff…
    Jeremy on Jetpack 4.4: New SEO Tools, Si…
    Peter on Jetpack 4.4: New SEO Tools, Si…
    Jeremy on Jetpack 4.4.1: Bug Fixes
  • Archives

  • Enter your email address to follow this blog and receive notifications of new posts by email.

  • Install Jetpack to see our lineup of features.

    Install Jetpack Now

    Don’t need all Jetpack’s features? No problem. Only activate what you need!

    %d bloggers like this: