Returning a specific post in WordPress Loop

Hi Experts,

I need to return just ONE post from within the wordpress loop. I have the post=>ID.

Can you show me the syntax to bring this back please?

Thank you
LVL 4
wilson1000Asked:
Who is Participating?
 
jrm213jrm213Connect With a Mentor Commented:
oh, and what version of wordpress are you using?
0
 
jrm213jrm213Commented:
Hi,

Could you give a little more detail on what you want to do. It sounds like you are on a page or a different post, and would like to get the data from a different post.
0
 
wilson1000Author Commented:
Sorry, dumb moment...

I used the get_post() function in the end - but I'm sure you would have told me that if I gave you the detail you asked for.

Thanks for your involvement!
0
All Courses

From novice to tech pro — start learning today.