WordPress.org

Ready to get started?Download WordPress

Forums

diiferent catagories in different pages (4 posts)

  1. inbalisrael
    Member
    Posted 2 years ago #

    how can I show posts from different catagories in different pages?
    I want a page for each catagory.
    Thanks

  2. Jerry
    Member
    Posted 2 years ago #

    Custom Page Templates

    Create a page, assign it a custom template with a customized WP_Query, that's it.

  3. inbalisrael
    Member
    Posted 2 years ago #

    I'm just a begginer...
    I'll need more help than that.
    how do I assign it a custom template?

  4. Jerry
    Member
    Posted 2 years ago #

    Yea I admit that was abit bland even for me. But I'm hyped on some energy drinks at the moment. Hahahaha

    I had actually started on a tutorial, but to save my breath, I give you this: How To Create A Custom Page Template In WordPress

    Once you understand what a custom page template is and how to use one, then you can begin coding your own. You'll need to use the WP_Query like I stated above.

    Example of a custom post page template

    Since you're wanting pages by categories, you'll need to read up on the category parameters of the WP_Query class.

Topic Closed

This topic has been closed to new replies.

About this Topic