Solved

Returning a specific post in WordPress Loop

Posted on 2010-09-24
3
235 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

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

Like there are many different versions of Wordpress, there are also a handful of related side projects WordPress users should be familiar with.   All of these projects are open source and GPL licensed, which means there are few restrictions to us…
How to create your own WordPress Theme Before I begin with the theme design tutorial, I would like to give you the basics of what is required to make a WordPress Theme. The most basic WordPress theme only requires 2 files: a style.css file and an…
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…

717 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