where(what file,etc) do i add this code so that i can display my desired category id on a new page

  • gzembower

    #3322
    <?php
    query_posts('cat=mycategoryid');
    if(have_posts()) :
    while(have_posts()) :the_post();
    ?>
    <h2><a>"><?php the_title();?></a></h2>
    <div><?php the_content('Read More') ?></div>
    <?php
    endwhile;
    endif;
    wp_reset_query();?>
    Mod

    Kenneth John Odle

    #24362

    I answered this question in your first post about it. Please do not start a new thread for the same question just because you have not gotten a response yet. There is a much quicker response time in this forum than in others (where you may have to wait days or weeks, or may never get a response at all). New threads with the same question only clog the forum and make it difficult for us to help everybody.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.