WordPress.org

Ready to get started?Download WordPress

Forums

WP as CMS (6 posts)

  1. Sammy Russo
    Member
    Posted 7 years ago #

    Hello,

    i'm trying to figure out how I can fetch an individual post and have it display on to a WP Page. I have phpExec plugin running.

    Thanks,

    Sammy

  2. Glenn Ansley
    Member
    Posted 7 years ago #

    You would have to create a special page template and then select that template in the page's edit screen.

  3. Sammy Russo
    Member
    Posted 7 years ago #

    I can't use a get_post call with and query the specific ID#.

  4. Eric Amundson
    Volunteer Moderator
    Posted 7 years ago #

    Sammy,

    Are you trying to pull one specific post in to an existing page in addition to a rest of the page content? Like in a sidebar or other div?

    If so, I think blepoxp might be right. I'd probably create a custom page template and designate it in the Page's edit screen.

    Then in the template you could pull your post in.

    For the custom page, I'd probably use a mix of Conditional Tags, Template Tags/Query Posts and maybe even a custom loop, depending on what you're looking for.

    http://codex.wordpress.org/Conditional_Tags
    http://codex.wordpress.org/Template_Tags/query_posts
    http://codex.wordpress.org/The_Loop#Loop_Examples

  5. rudolf45
    Member
    Posted 7 years ago #

    Add to the list above this plugin:
    http://guff.szub.net/2005/01/27/get-a-post/

  6. Sammy Russo
    Member
    Posted 7 years ago #

    Hi Rudolf45,

    thanks I'll give this a try.

    Sammy

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.