Support » Plugins » Exclude images from posts on homepage?

  • I am looking for a way to exclude images from my posts on the homepage in the_content. Any ideas?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Nevermind, figured it out.

    How did you figure it out?

    Hah, nevermind… figured it out. Weird.

    This is the goodluck post!

    I hate when people ask for questions and then they figured out without giving any help to other people.

    What is the point of people helping you if you don’t even help other people.

    At least tell us how it was fix instead of “nevermind”

    I am needing help with this and unfortunatley, I haven’t figured it out yet. Any help would be greatly appreciated.


    I struggled for a while trying to come up with a way to do this using some complicated php but easiest way to do it is to use some CSS:

    In the loop place <?php the_content(); ?> inside a div like so:

    <div id="no_image"><?php the_content(); ?></div>

    Then in your CSS:

    #no_image img{
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Exclude images from posts on homepage?’ is closed to new replies.