Getting something from post outside the loop?
-
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
CONTENTEasy 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)
Viewing 1 replies (of 1 total)
The topic ‘Getting something from post outside the loop?’ is closed to new replies.