WordPress.org

Forums

How to display category contents in a page? (2 posts)

  1. rationalworks.net
    Member
    Posted 6 years ago #

    Hello,

    I am wondering how I can display all the posts in my category on a page?

    What I am trying to do is create a page, write a small introduction, and then have all the posts in X category displayed below it. (I have Exec-PHP installed)

    Thank you.

  2. iridiax
    Member
    Posted 6 years ago #

    Pages are not meant for this. Use a regular category archive page with a category description (the intro text) to display your posts in that category. Add the category description by editing the category in the dashboard. Your theme's category.php needs the following in it if it does not already have it:

    http://codex.wordpress.org/Template_Tags/category_description

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.