Displaying text with MORE tag?

Community Forums Forums Design Tips and Tricks Displaying text with MORE tag?

This topic is: not resolved

Tagged: , , ,

This topic contains 1 reply, has 2 voices, and was last updated by  Marcy 1 year, 9 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #87799


    I’m trying to make the MORE TAG output some text on the place where it’s inserted in the post.

    i was suggested to use the following code in functions.php:

    add_filter( 'the_content_more_link', 'read_more_text' );
    function read_more_text() {
    if ( is_single() ) {
    echo '<div class="your-banner">ADD TEXT HERE</div>';

    unfortunately, it doesn’t output anything on the post.

    i’ve searched all around the web for a solution, but couldn’t find a way to fix the code provided above. any ideas on how to do this in Genesis?


Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.