Title: problem to show posts
Last modified: August 18, 2016

---

# problem to show posts

 *  [swooper](https://wordpress.org/support/users/swooper/)
 * (@swooper)
 * [20 years, 11 months ago](https://wordpress.org/support/topic/problem-to-show-posts/)
 * hello, why does this:
 * [code] <?php
    $posts = get_posts('numberposts=5'); foreach ($posts as $post) :?
   > <h4>" rel="bookmark"><?php the_title(); ?></h4> <div class="post"><?php the_excerpt();?
   ></div> <p class="custom"><?php the_time('d. F Y ') ?> abgelegt in <?php the_category(',')?
   > | <?php edit_post_link('Edit','',''); ?> <?php endforeach; ?>[/code]
 * only function with the_excerpt? By trying to display the_content nothing could
   be seen..

The topic ‘problem to show posts’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 0 replies
 * 1 participant
 * Last reply from: [swooper](https://wordpress.org/support/users/swooper/)
 * Last activity: [20 years, 11 months ago](https://wordpress.org/support/topic/problem-to-show-posts/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
