• Hi All!

    Im looking for a tool/plug to be able to use something the <–more–> tag but in a single post to hide/unhide selected parts of the text in post.
    Does anyone know about any good fixes/plugins for this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter davidpetersson

    (@davidpetersson)

    what i really ment was splitting up a post. Like the <–nextpage–>, but just hiding the text, and showing it when clicking a read mor link. NOT IN THE MAIN PAGE, cos i know that the more -tag works there. for example we have our latest post http://www.soulinterviews.com/george-duke-part-1-2012/ that has a very long bio text, that we would like to partly hide so that the readers can get to the comments and social buttons more quickly. hope someone understands my question now 😀

    Find the code the_content(); and replace it with

    echo substr(get_the_content(), 0, 200);
    /* 200 is the limit of the text */

    and paste this
    < a href=”<?php echo get_permalink($post->ID); ?>”><?php _e(‘more..’);?>< /a>

    for more link..

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

The topic ‘"more" – tag in a single post’ is closed to new replies.