I am setting up a news section, i´ve made a page within wordpress, added it to a template page called “nyheter”, i´ve added a query post to that template page:
<?php query_posts('category_name=Nyheter&showposts=99999'); ?>
The post shows up but the
<!--more-->function doesnt work, why?
I use this code to show the post:
<div class="post" id="post-<?php the_ID(); ?>"> <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2> <p><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></p> <?php the_content('Läs mer...'); ?> </div>
Would really appreciate a solution for this
- The topic ‘More function doesnt work with query post?’ is closed to new replies.