WordPress.org

Ready to get started?Download WordPress

Forums

How can I create a page template file to display posts from a custom post type? (2 posts)

  1. rocketman7k
    Member
    Posted 2 years ago #

    I am also interested in seeing an example of one since I have not been able to create one successfully.

  2. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    what do you have so far?

    http://codex.wordpress.org/Pages#Page_Templates
    possibly use page.php or index.php as a starting point for the code of the page temaplte;

    add a query before the loop:
    http://codex.wordpress.org/Function_Reference/query_posts

    parameter:
    http://codex.wordpress.org/Class_Reference/WP_Query#Type_.26_Status_Parameters

Topic Closed

This topic has been closed to new replies.

About this Topic