Support » Theme: Spun » Edit "Older Posts" button

  • How do I edit the text in older posts button? I have activated infinity scroll in Jetpack.
    Also, button appears as a rectangle and not with circle angles such as in Demo. How can I fix this? Thanks!

Viewing 1 replies (of 1 total)
  • I found a solution for editing the text, adding this script to functions.php on my child theme.

    <?php

    function jeherve_custom_infinite_more() {
    if ( is_home() || is_archive() ) {
    ?>
    <script type=”text/javascript”>
    //<![CDATA[
    infiniteScroll.settings.text = “CUSTOMIZED TEXT”;
    //]]>
    </script>
    <?php }
    }
    add_action( ‘wp_footer’, ‘jeherve_custom_infinite_more’, 3 );

    Any idea on how to make button appear with rounded angles and not as a rectangle???

Viewing 1 replies (of 1 total)
  • The topic ‘Edit "Older Posts" button’ is closed to new replies.