• Hello.
    I am currently trying to display (NOT LIST!) posts from a category on individual pages.

    I have a top menu which will have “Content” as an item in it. When you hover over “Content”, it will bring up a child list “Reviews”, “Guides”, “Articles”. These are all pages, of course.

    The thing is, I have created same categories too – Reviews, Guides, Articles. And each of my posts will be categorised as one of these 3. I want my Guides page to display only posts from the Guides category.

    All the guides I have seen help LIST the posts, I have succesfuly done it, but I need to DISPLAY them, as they are displayed in the News page. Neat, tidy, with title, date, author, comments, introduction text and thumbnail. I need it to look exactly as my news page.

    http://mmofollowers.com/news/

    Can anyone provide any help? I am not particularly strong in Php.
    Codes like

    <?php get_header(); ?>
    <?php $posts = get_posts('category=1&orderby=rand&numberposts=5'); foreach($posts as $post) { ?>
    <a href="<?php the_permalink() ?>" target="_parent"><?php the_title(); ?></a>
    <?php } ?>
    <?php get_footer(); ?>

    just give a list, and i need a complete display

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Display posts from a single category on a page!’ is closed to new replies.