Using Categories to build pages (3 posts)

  1. onekea
    Posted 5 years ago #

    This is probably a common question but I've yet to find a clear explanation to it.

    I'd like to create posts with a specific "category" say, "TUTORIALS".
    Then I'd like to create a post and select the "TUTORIALS" category.

    Now I'd like the page for "TUTORIALS" to only display posts withe the "tutorials" category. I also don't want those posts visable anywhere else.

    Make sense?? Thanks!

  2. aban
    Posted 5 years ago #

    You can use query post tag

    Read it here:

  3. onekea
    Posted 5 years ago #

    This definitely helps. I see that I need to use this to sort out the loop:


    But how do I create a seperate file for say a "TUTORIALS" page? Do I just copy the index.php file and modify the loop, then save it as tutorial.php, then pull that with

    <?php include(TEMPLATEPATH . '/tutorial.php'); ?>

    Sorry if I'm asking noob questions, I'm still trying to sort out all this out.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.