05.12.2007, 10:48
|
#7 (permalink)
|
| PostRank: 0
Registriert seit: 04.12.2007
Beiträge: 8
| Also, ich hab mich an Monikas Vorschlag versucht. Leider spuckt er immer nur die gesamten Beiträge aus. Was muss ich wo einfügen, damit die more- Tags berücksichtigt werden. PHP-Code: <?php get_header();?> <div id="content">
<?php rewind_posts(); global $more; $more = 0;
$my_query = new WP_Query('cat=5&showposts=500'); while ($my_query->have_posts()) : $my_query->the_post(); $do_not_duplicate = $post->ID; ?>
<div class="post" id="post-<?php the_ID(); ?>"> <div class="header"> <div class="date"><em class="user"><?php the_author() ?></em> <br/><em class="postdate"><?php the_date('M jS, Y') ?></em></div> <h3><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h3> </div> <div class="entry"> <?php the_content('Continue Reading »'); ?> </div> <div class="footer"> <ul> <li class="readmore"><?php the_category(' , ') ?> <?php edit_post_link('Edit'); ?></li> </ul> </div> </div>
<?php endwhile; ?>
</div>
<?php get_sidebar(); ?> <?php get_footer(); ?> |
| |