Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter vschimel2

    (@vschimel2)

    tried to add in a </div> tag and no luck
    so strange, right?
    i can’t figure out what i’m missing. all that will display is the title of the category & the date the category was created
    (instead of the content, titles & dates of the posts in the categories)

    here’s the coding again in case someone can help:

    <?php get_header(); ?>

    <!– Content Wrap –>
    <div id=”galleryWrap”>
    <!– Gallery –>
    <div id=”gallery”>

    <?php if (is_page ()){ ?>

    <? } ?>

    <div class=”content”>

    <?php query_posts($query_string . ‘&cat=33&posts_per_page=10’); ?>

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

    <div class=”date”>
    <?php the_date(”); ?>
    </div>

    <div class=”title”>
    <?php the_title(”); ?>
    </div>

    <div class=”entry”>
    <?php the_content(”); ?>
    </div>

    <?php endwhile;?>
    <?php endif; ?>

    </div>
    </div><!– [END] gallery content –>

    <?php get_sidebar();?>

    </div><!– [END] galleryWrap –>
    <?php get_footer(); ?>

    Thread Starter vschimel2

    (@vschimel2)

    now i’m getting the date & the category title only – here’s the entire updated coding for the page. what am i missing???

    <?php get_header(); ?>

    <!– Content Wrap –>
    <div id=”galleryWrap”>
    <!– Gallery –>
    <div id=”gallery”>

    <?php if (is_page ()){ ?>

    <? } ?>

    <div class=”content”>

    <?php query_posts($query_string . ‘&cat=33&posts_per_page=10’); ?>

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

    <div class=”date”>
    <?php the_date(”); ?>
    </div>

    <div class=”title”>
    <?php the_title(”); ?>
    </div>

    <div class=”entry”>
    <?php the_content(”); ?>
    </div>

    <?php endwhile;?>
    <?php endif; ?>

    </div>
    </div><!– [END] gallery content –>
    <?php get_sidebar();?>

    Thread Starter vschimel2

    (@vschimel2)

    thanks. all i’m getting on the screen is the title of the category & the date

    Forum: Fixing WordPress
    In reply to: loop help please!
    Thread Starter vschimel2

    (@vschimel2)

    thanks SO much! one more quick question. i want to do a similar thing on a blog page – is this the coding i’d use?

    <php
    /*
    Template Name: Page 2
    */
    ?>

    <?php get_header(); ?>

    <!– Content Wrap –>
    <div id=”galleryWrap”>
    <!– Gallery –>
    <div id=”gallery”>

    <?php if (is_page ()){ ?>

    <? } ?>

    <div class=”content”>

    <?php $posts = get_posts(“category=33&numberposts=10”); ?>

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

    <div class=”entry”>
    <?php the_content(”); ?>
    </div>

    <?php endwhile;?>
    <?php endif; ?>

    </div>
    </div><!– [END] gallery content –>
    <?php get_sidebar();?>

    </div><!– [END] galleryWrap

    i’m having the same issue. have you resolved this? if so, please tell me how to change the font
    thanks!

Viewing 5 replies - 1 through 5 (of 5 total)