Support » Fixing WordPress » More function doesnt work with query post?

  • Hi!

    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

Viewing 1 replies (of 1 total)
  • Thread Starter JesperA

    (@jespera)

    Sorry to bump this thread already but this is a major thing that alot of people use and they seem to get it to work, i have read the codex and everything looks like it should?

Viewing 1 replies (of 1 total)
  • The topic ‘More function doesnt work with query post?’ is closed to new replies.