Forums

Page to display only one category of posts (4 posts)

  1. maxweld
    Member
    Posted 3 years ago #

    Hi
    I want to create several pages which each display only a single category of posts.
    It needs to be a Page as I want the page to appear in the page menu, rather than in the list of categories. I use the page menu as the site navigation.

    Is there a template for this, or what template would I use, and how would I modify it.
    Thanks in advance.

  2. vachi
    Member
    Posted 3 years ago #

    http://codex.wordpress.org/Category_Templates#What_categories_do_you_show_to_the_visitors.3F

    you need to read a bit, and google this
    http://www.google.com/search?client=safari&rls=en-us&q=display+posts+by+category&ie=UTF-8&oe=UTF-8

    not trying to be mean, if you still need help i will write it for you lol, but try to do it yourself first

  3. moshu
    Member
    Posted 3 years ago #

    It needs to be a Page as I want the page to appear in the page menu

    That's nonsense...
    See Pages and Categories.

  4. maxweld
    Member
    Posted 3 years ago #

    Thanks vachi and moshu

    I indeed need to do a lot of reading. I have only been using WordPress (or any blog/CMS system) for 3 weeks and have much to learn.

    The Pages and Categories article is very interesting, and I agree. If I can use a Category instead of a Page, this would be preferable.

    The problem as I see it is that I have many categories, and they need to be interleaved with the pages, like so:

    Youth Rugby

    • U17
      • Coaches Notices
      • Fixtures
      • Match Reports
    • U16
      • Coaches Notices
      • Fixtures
      • Match Reports
    • U15
      • Coaches Notices
      • Fixtures
      • Match Reports

    etc...
    There are 14 Teams with several other categories. Category pages are in bold.

    website

    This interleaving means that from what I understand so far, I either need to create pages that display single categories or sub-categories, or find some way of merging the pages and categories in a menu.

    I accept that with a bit of work as in your article, I could hand craft a menu, but this would very inflexible, as it would need to be hand modified whenever the structure changed, i.e. if a new page was added.

    So I believe that my next best option is to create a template for pages that will allow me to display a specified category or sub category. Then the page menu will work naturally and flexibly.

    Other than having to code the template are there any other downsides?

    I really do appreciate your advice as I am very new to this.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.