Solved

Returning a specific post in WordPress Loop

Posted on 2010-09-24
3
232 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

ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

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

How to install BuddyPress on your self-hosted WordPress site It’s been called everything from “social networking in a box” to “Facebook without the terms of service,” but until Feb. 16, BuddyPress was a relatively unknown outside the WordPress MU…
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 make a WordPress Site faster and smaller in size by cleaning up the database. This will be demonstrated using a Windows 8 PC. Plugin WP Optimize will be used. Go to your WordPress login page. T…
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…

778 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