• 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>

Viewing 3 replies - 1 through 3 (of 3 total)
  • Mark

    (@codeispoetry)

    Try Post Image.

    kkboykowboy

    (@kkboykowboy)

    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?

    kkboykowboy

    (@kkboykowboy)

    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 ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘First post image before post title?’ is closed to new replies.