Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Removing an Image from blog excerpt

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #30112
    scottjraney
    Member

    I would like my home page to show excerpts of the text from my posts without showing the images that are contained in the actual post. Here is my website…

    http://www.scottjraney.com

    If you look at the top left post ‘A Journey’ you will see that in the excerpt of the text it is pulling an image from the post itself. Does anyone know how to eliminate this?

    Sincerely,

    Scott

    #80828
    sacha
    Member

    Hi Scott,

    How are you pulling the excerpt from your post?

    I deleted the image from the HTML on the page in Google Chrome’s inspector and obviously that removed it from my screen.

    #76532
    jamygolden
    Member

    the_excerpt() does exactly what you want. It strips the html of tags and images and displays text only.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Back End’ is closed to new topics and replies.