WordPress.org

Support

Support » How-To and Troubleshooting » Displaying content of specific post

Displaying content of specific post

  • Is there some way to desplay the content of a certain post? I want to use posts as content for one specific page I have created.

    Thanks,
    eyediver

Viewing 5 replies - 1 through 5 (of 5 total)
  • Could you elaborate on that a little?

    It sounds like you’re looking for the Pages functionality:

    http://codex.wordpress.org/Pages

    I could however be completely wrong as you’ve been a bit vague. Good luck.

    Thanks for the link. Sorry yes not very descriptive.

    What I want to do is emulate server side includes but do it with posts.

    Let’s say I create my custom Page in wordpress and I want to include the content from 3 specific posts. What I’m looking for is some piece of code that looks something like this:

    <div class=”header”>
    <?php get_post_content(‘id=9’); ?>
    </div>
    <div class=”content”>
    <?php get_post_content(‘id=10’); ?>
    </div>
    <div class=”footer”>
    <?php get_post_content(‘id=11’); ?>
    </div>

    Hope that illustrates what I have in mind.

    Chris_K
    Member

    @handysolo

    Thanks this is exactly what I am looking for, very nice!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Displaying content of specific post’ is closed to new replies.