Support » Fixing WordPress » page of posts problem

  • im running my wordprss site using the threattocreativity theme by max is now. i want several pages, and each pages needs to display posts of a certain catagory. for example, i have a page girls, then a sub page called beauty. the beauty page needs to display posts that have been put in the beauty catagory, while the girls page needs to show posts that have been put into the girls catagory (often posts will belong in 2 catagories). ive followed the guide here:
    and used the ‘page of posts’ template. however this does not show anything when i try and use it. i have changed the catagory in the code and set the page to use the template. can adyone adise me what i need to do to either get the template working, or how to change the index.php file of my theme to do what i described above?
    my website is

Viewing 4 replies - 1 through 4 (of 4 total)
  • One easy way to show a category on a page, if your menu can show pages, is to use the Page Links To plugin.

    Simply install the plugin, create a blank page, and assign it the link to your category.

    query_posts('category_name=Staff Home');

    within the loop
    look at:

    it would be someting like that:`Template Name: Archives with Content

    <?php get_header(); ?>

    <div id=”content” class=”widecolumn”>
    <?php query_posts(‘cat=2,6’);?>

    <?php if (have_posts()) : while (have_posts()) : the_post();?>
    <div class=”post”>
    <h2 id=”post-<?php the_ID(); ?>”><?php the_title();?></h2>
    <div class=”entrytext”>
    <?php the_content(‘<p class=”serif”>Read the rest of this page »</p>’); ?>
    <?php endwhile; endif; ?>
    <?php edit_post_link(‘Edit this entry.’, ‘<p>’, ‘</p>’); ?>

    <div id=”main”>

    <?php include (TEMPLATEPATH . ‘/searchform.php’); ?>

    <h2>Archives by Month:</h2>

      <?php wp_get_archives(‘type=monthly’); ?>

    <h2>Archives by Subject:</h2>

      <?php wp_list_cats(); ?>

    <?php get_footer(); ?>

    that similar to what im using now, but i cannot get any posts to show. im not sure if this is the code or the theme.

    uses the pageofposts tutorial in my origional post, but it does not show any posts.

    il have a look at the plugin and let you know how i get on

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘page of posts problem’ is closed to new replies.