Title: problem with the_excerpt()
Last modified: August 20, 2016

---

# problem with the_excerpt()

 *  [koenjo](https://wordpress.org/support/users/koenjo/)
 * (@koenjo)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/problem-with-the_excerpt-1/)
 * Hi,
 * At my homepage I have this code:
 *     ```
       <?php $recent = new WP_Query("cat=1&showposts=4"); while($recent->have_posts()) : $recent->the_post();?>
       <b><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></b>
       				<?php the_excerpt() ?>
       			<div style="clear:both;"></div>
       				<?php endwhile;?>
       ```
   
 * And I give the result that I want but when I install the plugin: ‘get Social’,
   the social media bar appears on every page except at the homepage.
    After some
   debugging I found out that the reason that the social media bar doesn’t show 
   up is: <?php the_excerpt() ?>
 * I tried some things like: the_content, but than the social media bar comes some
   where half down the page.
 * So does anyone know a good alternate for the_excerpt?

The topic ‘problem with the_excerpt()’ is closed to new replies.

## Tags

 * [the_excerpt](https://wordpress.org/support/topic-tag/the_excerpt/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [koenjo](https://wordpress.org/support/users/koenjo/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/problem-with-the_excerpt-1/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
