How to turn the Read More tag into a Bootstrap button

This tutorial goes over how to turn the WordPress Read More tag into a Bootstrap button. You will learn how to add a filter to the functions file to replace the default Read More markup to include the Bootstrap button markup. Steps Open extras.php in the /inc/ directory Scroll down to the very bottom of […]

You need to have an active subscription to view this content.

Register Here!
  • Bart Kalisvaart

    I can’t get this to work. When I take a closer look at the content.php I also never see the function being called, which probably has something to do with it…

    This is what the_content call code reads:

    the_content( sprintf(
    /* translators: %s: Name of current post. */
    wp_kses( __( ‘Continue reading %s ‘, ‘locator’ ), array( ‘span’ => array( ‘class’ => array() ) ) ),
    the_title( ‘“‘, ‘”‘, false )
    ) );

    Should I manually add the $more_link_text somewhere?