• Hi, I am designing my own theme and I am trying to do a box with a picture. The idea that the designer gave me was this one:
    Box

    I need some “boxes” of those. I fist thought that maybe using post of a category there I can grouped them and show the amount I need. The problem is the Image. I found a way to show the image apart but when I use the_content() the image is repeated.

    I am thinking this in a right way? is any widget or something that I can use?
    Any suggestion?

    Thanks in advance to all.

Viewing 4 replies - 1 through 4 (of 4 total)
  • the_content() is used in loop so that it displays posts that are found in database

    Thread Starter kadorrna

    (@kadorrna)

    After a few hours looking around I found “the_excerpt()” and I filtered by <img>.
    So I can do It as I first thought it. Anyways if anyone wants to give me some advice in my problem (other solutions) will be welcome.

    Thanks.

    Thread Starter kadorrna

    (@kadorrna)

    Thanks for the answer govpatel the_content() brings me everything, including the image. I don’t need the image. That’s why the_excerpt() helped me this time!

    Regards.

    you are welcome

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Need Image on top of the post/page’ is closed to new replies.