• Is there a way to have the more tag hide only a portion of a post instead of the entire part past the tag? Or will I need a plugin?

    Example:
    I have text at the top of the post, then a bunch of images in between, then more text at the bottom. I will need to hide the images part.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You’ll need a plugin, or some custom code.

    This simple replacement of the_content() will remove images from a post:

    <?php echo preg_replace('/<img[^>]*>/i', '', get_the_content()); ?>

    Thread Starter jpang

    (@jpang)

    I found a plugin called Hide/Cut Post Text but it is really old and it didn’t work. i need something similar to that

    I really love the Hide/Cut Post Text plugin and used it a lot until it stopped working. It would be nice if someone adopted it and brought it back up to date.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘More tag question’ is closed to new replies.