Get Posts Per Category

  • Unknown's avatar

    I just want posts that I have put in a category called “About” to show on this page called about. There should some coding that allows to get posts where cat=75 ( category equals 75). How can I do that?
    An arguement to a function.

    <?php

    /*

    Template Name: About

    */

    ?>

    <?php get_header('about'); ?>

    <!-- START LOOP -->
    <div id="content" class="narrowcolumn">

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>

    <div class="post" id="post-<?php the_ID(); ?>">

    <!--<h1 class="titlePage"><?php the_title(); ?></h1>-->

    <div class="entry">

    <h2><b>All Work</b> <span class = "orange">and No Play, Inc.</span> is exactly what is guaranteed </h2>

    • Our employees will arrive promptly
    • Maintain Communication
    • Be prepared to begin work immediately
    • Trained employees to display courtesy, open-mindessness and desire to acheive quality results
    • We Adjust to your schedule

    or email us <b><u>to request a quote</u></b>

  • Unknown's avatar

    You did not specify a blog address or reason for posting when you created this topic.

    This support forum is for blogs hosted at WordPress.com. If your question is about a self-hosted WordPress blog then you’ll find help at the WordPress.org forums.

    If you don’t understand the difference between WordPress.com and WordPress.org, you may find this information helpful.

    If you forgot to include a link to your blog, you can reply and include it below. It’ll help people to answer your question.

    This is an automated message.

  • Unknown's avatar
  • The topic ‘Get Posts Per Category’ is closed to new replies.