• Ahoy wpirates! πŸ˜‰

    I’m wondering if there’s a way of getting something from the post outside of the loop?

    I’ll use really easy example so you gonna get in seconds, my posts’ structure:

    TITLE
    CONTENT

    Easy so far, right?

    Ok. Now imagine that I want post title to be displayed exactly after the very first image IN THE CONTENT. So how to put the title after “.post img:nth-child(1)” (CSS)?

    I guess I need some serious loop hacking here, but I’m ready!

    Thank you a lot!

Viewing 1 replies (of 1 total)
  • Thread Starter DeNiro

    (@deniro)

    Of course it should look like:

    IMAGE FROM CONTENT
    TITLE
    THE REST OF THE CONTENT

    After all.

    Sorry for typos and two posts, I’m in a hurry and there’s no [edit] button (or it’s too hard to find one).

Viewing 1 replies (of 1 total)

The topic ‘Getting something from post outside the loop?’ is closed to new replies.