Forums

The More-Tag and Images (3 posts)

  1. Maiskolben
    Member
    Posted 2 years ago #

    Hello!
    I would like to use the <!--more--> Tag (for individually marking the breakpoint, not like the_excerpt(); do), but I would like to use it without displaying any enclosures (images, links etc...) before the more-Tag...

    Is there a way to hide the images from the_content(); before the more tag?

    Help would greatly appreciated!

    Maiskolben

  2. Diane Bourque
    Member
    Posted 2 years ago #

    If I understand correctly, you want to show only Titles on the homepage? with the "Read More" below each title? Or do you want the Title to show with an short excerpt underneath?

    If you do not want to show images on the homepage, you will have to delete the images code in either index.php, blog.php or whatever page acts as your homepage.

  3. Maiskolben
    Member
    Posted 2 years ago #

    Hello Diane!
    Yes, in the archive.php I want to show the title of each post, and a short excerpt defined by the more-tag. Images will be displayed too, when I use the_content('more >>');. But I don't want to use the_excerpt();, though... cause if I do, I couldn't define an individual excerpt viĆ” the more-tag...

Topic Closed

This topic has been closed to new replies.

About this Topic