• 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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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.

    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 https://www.yoursitehere.com/news is actually going to posts in the news category. Works well.

    jrodgers

    (@jrodgers)

    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
    https://codex.www.ads-software.com/Category_Templates
    for more info

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Having one category posted in one page’ is closed to new replies.