Solved

Returning a specific post in WordPress Loop

Posted on 2010-09-24
3
233 Views
Last Modified: 2012-06-22
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
0
Comment
Question by:wilson1000
  • 2
3 Comments
 
LVL 17

Expert Comment

by:jrm213jrm213
ID: 33753433
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
 
LVL 17

Accepted Solution

by:
jrm213jrm213 earned 500 total points
ID: 33753436
oh, and what version of wordpress are you using?
0
 
LVL 4

Author Comment

by:wilson1000
ID: 33766082
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

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Wordpress Horizontal Drop-Down Menu In this tutorial I will show you had to add a WordPress horizontal navigation menu to your theme. I have searched and searched for a good tutorial on creating a WordPress nav menu without adding a plug-in or us…
I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
The purpose of this video is to demonstrate how to manually back up a WordPress Database. This will be demonstrated using a Windows 8 PC. The Host used will be IPage.com Log into your Hosting account. IPage will be used for demonstration : Locat…
The purpose of this video is to demonstrate how to reset a WordPress password if you are locked out and cannot reset the password. A typical use would be if you cannot access the email to which WordPress would send the password recovery email to…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question