posts from categories posting twice
-
hi i’ve figured out how to post entries from a specific category on a page. but i’m having a couple problems.
1. if you notice, the entries post twice on the page. how do i have it so it only posts once?
2. the more link does not show up, and it shows the entire entry. how do i have it so that it shows like how it does on the index page, with the “click here for more” option.
the page can be viewed here : https://www.black-rap.com/blog/?page_id=24
and here is the code for the page.
<div id="brtv-title"> <img src="https://black-rap.com/brtv-title.gif"> </div> <?php query_posts('cat=4&showposts=10'); ?> <?php while (have_posts()) : the_post(); ?> <div class="post-item"> <h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3> <p class="meta">posted by <?php the_author();?> on <? the_date();?> in <?php the_category(', '); ?> <?php the_content('Click here to read more...');?> <div class="numComments"> <a href="<?php comments_link(); ?>"><?php comments_number('0 comments', '1 comment', '% comments'); ?></a> </div><!--end numComments--> </div><!--end post-item--> <?php endwhile;?>
if you can review it, and find whats wrong,
it would be greatly appreciated!
thanks!
Viewing 12 replies - 1 through 12 (of 12 total)
Viewing 12 replies - 1 through 12 (of 12 total)
- The topic ‘posts from categories posting twice’ is closed to new replies.