Skip to content

Instantly share code, notes, and snippets.

@UnaiYecora
UnaiYecora / functions.php
Last active August 29, 2015 14:02 — forked from jeherve/functions.php
[Jetpack] Customize the contents of the "Older Posts" text appearing when activating Infinite Scroll.
<?php
function jeherve_custom_infinite_more() {
if ( is_home() || is_archive() || is_search() ) {
?>
<script type="text/javascript">
//<![CDATA[
infiniteScroll.settings.text = "Custom Text";
//]]>
</script>