Forums

Having one category posted in one page (4 posts)

  1. shahab.fm
    Member
    Posted 3 years ago #

    Hi.

    I just started using wordpress one week ago and was wondering if it is possible to have my posts in one category posted in one of the pages ( for example if I have category Computer & Photography & I have two pages beside blog page(Let's say ComPage & PhotoPage), the posts under computer category would be shown under ComPage & the same to photography)

    Thanks in advance ...

    Shahab.

  2. Roy
    Member
    Posted 3 years ago #

    You don't have posts on pages, but you can use your "blogroll" for example to link to one specific category and when a post is in two categories, it will appear in either category list.

  3. Trained Monkey
    Member
    Posted 3 years ago #

    I've done this on blogs previously using the "page links to" plugin (I think) and using that so that, for example, a link at http://www.yoursitehere.com/news is actually going to posts in the news category. Works well.

  4. jrodgers
    Member
    Posted 3 years ago #

    create a page called category-x.php, copied form your themes category page, where x is the category id of "Computer & Photography"

    open the newly created category-x.php file, near the top you should see a line like
    <?php
    /*
    Template Name: category
    */
    ?>

    if you don't then add it and "change" category to "category - Computer & Photography"

    got to admin and create a new page called, funny enough, Computer & Photography

    on the right hand column in 2.7, and lower on the left hand side of the edit page, is page page option of template, its a drop down list, one of those listed should be "category - Computer & Photography", select and save, now you have a page appearing on your menu that will display only post from the Computer & Photography category

    see here
    http://codex.wordpress.org/Category_Templates
    for more info

Topic Closed

This topic has been closed to new replies.

About this Topic