WordPress.org

Ready to get started?Download WordPress

Forums

Any way to show only text? (3 posts)

  1. nando99
    Member
    Posted 4 years ago #

    I'd like to use the_content to show the first few words from a post but only the text... no images, videos or anything else... IS there anyway I can strip the the_content of everything except text?

    I cant use the except bc I'm using that for something else....

    Thanks in advance!!

  2. nando99
    Member
    Posted 4 years ago #

    sorry for not putting "the_content" in the post title...

  3. muthukswamy
    Member
    Posted 4 years ago #

    No problem if you use "the_excerpt()" twice.

Topic Closed

This topic has been closed to new replies.

About this Topic