Title: More function doesnt work with query post?
Last modified: August 19, 2016

---

# More function doesnt work with query post?

 *  [JesperA](https://wordpress.org/support/users/jespera/)
 * (@jespera)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/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](https://wordpress.org/support/users/jespera/)
 * (@jespera)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/more-function-doesnt-work-with-query-post/#post-942784)
 * 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.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [JesperA](https://wordpress.org/support/users/jespera/)
 * Last activity: [17 years, 5 months ago](https://wordpress.org/support/topic/more-function-doesnt-work-with-query-post/#post-942784)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
