Support » Fixing WordPress » Posts from one category shown on Page

  • Resolved Claygirl


    I want to show posts from one category on a Page. So I made a template looking like:
    Template Name: Blog
    <?php get_header(); ?>
    <div id="content" class="narrowcolumn">
    <?php query_posts("cat=12"); ?>
    + the rest of the archive.php file pasted

    The problem is the_content() shows whole posts and I want only excerpts (like on a normal blog page).
    Could anybody help me with telling WP it should show exceprts of posts with links “read more”, not whole posts?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Wouldn’t a category template do it without any complication?

    It probably would, but I’m the dumb one, who already done everything else in Pages and want to have there blog entries also. You know, just to have a nice site menu, generated by listing Pages.
    So, I think either making excerpts with links manually, or including category template in Page (but I believe it many cause the same problem as shown above) will do. And there’s another idea that have come to my mind: make listing Pages function include that one category in list.
    Though, I have no idea how to make any of those.

    To make it clear:
    The site is (in Polish). Blog entries are temporarily shown on main page. They should be shown on Blog page. Unfortunately I can’t figure out how to show posts from one category on a Page.

    OK. I’ve found solution by myself:

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Posts from one category shown on Page’ is closed to new replies.