Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Forum: Plugins
    In reply to: Restrict Aside Posts
    Thread Starter techitch

    (@techitch)

    <?php rewind_posts(); ?>
    <?php $notDone=true?>
    <?php if ($posts) : foreach ($posts as $post) : start_wp(); ?>
    <?php if (in_category(6) && $notDone) { ?>
    <div class="botw"><h5>Band of the Week</h5>
    <?php echo $post->post_excerpt ?> <?php the_content(); ?>
    <small><p class="postmetadata"><?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?>
    </small>
    </div>
    <?php $notDone=false ?>
    <?php } ?>
    <?php endforeach; else: ?>
    <p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
    <?php endif; ?>

    theres my solution…if anyone cares

    Forum: Plugins
    In reply to: Restrict Aside Posts
    Thread Starter techitch

    (@techitch)

    bump >:P

    Forum: Plugins
    In reply to: Restrict Aside Posts
    Thread Starter techitch

    (@techitch)

    bump >:P

    in essence what i want to do is limit the two aside category posts in my sidebar to dislpaying 1 post each

    have a look here if it helps

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