WordPress.org

Ready to get started?Download WordPress

Forums

First post image before post title? (4 posts)

  1. barmin
    Member
    Posted 7 years ago #

    Is it possible to grab the first picture contained in a post, and display it before the post title? Like this:

    <image>
    <title>
    <excerpt/content>

  2. Mark
    Member
    Posted 7 years ago #

    Try Post Image.

  3. kkboykowboy
    Member
    Posted 7 years ago #

    ok - i am no wizz and have no clue about the loop and stuff like that (even though i spend the entire day trying to figure it out). I almost works just including the <img src="...." /> in the title box, but for some reason it also includes a ' "<" ' in front of the picture?!

    have anyone made this work without the plugin?

  4. kkboykowboy
    Member
    Posted 7 years ago #

    Ok replaying to my self here, but hopes it helps some people... i found a plugin called "safe title" It makes you use normal html in the title. It takes NO messing about in all sorts of advanced code as "the loop" (which is a riddle to me) BUT - when clicking on the phermalink it sends you to a blank page.... guess it's an error... so gotta choose ;-)

Topic Closed

This topic has been closed to new replies.

About this Topic