Support » Plugin: Jetpack by WordPress.com » Change the button text on infinite scroll
2 years, 8 months ago
I am trying to change the text of the ‘Older posts’ button in infinite scroll.
I have found the PHP responsible in the infinity.php file but do not want to edit this directly as my changes will get overwritten when I next update Jetpack.
How can I do this in my functions.php? I read somewhere I need to use a filter or a hook but my PHP is limited.
*my PHP knowledge is limited
2 years, 6 months ago
I looked carefully at the module, and it doesn’t seem to be a setting variable for that string. Hopefully in a future release?
This should help:
I threw your code in my functions.php file and it worked beautifully.. thanks!
(jamo, skip that first “<?php” when you paste Chris’ code in)