Title: Last 3 post
Last modified: August 21, 2016

---

# Last 3 post

 *  [PascalPavan](https://wordpress.org/support/users/pascalpavan/)
 * (@pascalpavan)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/last-3-post/)
 * Hi everyone!
 * In my static homepage would like to see the last 3 post I wrote.
 * In this way
    POST | POST | POST
 * I’ve tried many solutions but the posts I always come out so
    POST POST POST
 * can anyone help me?
    thank you very much

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/last-3-post/#post-4203016)
 * What theme are you using?
 *  Thread Starter [PascalPavan](https://wordpress.org/support/users/pascalpavan/)
 * (@pascalpavan)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/last-3-post/#post-4203117)
 * I’m using [http://demo.themefit.com/fluid/](http://demo.themefit.com/fluid/)
 * I want to display the last 3 post on the upper footer sidebar.
 * But only in homepage. This is my footer.php
    “ </div>
 *  </div>
    <?php if(is_page(145)){ ?> <!– 145 id’s homepage –> <div id=”upper-footer”
   > <?php $recent = new WP_Query(“cat=1&showposts=3”); while($recent->have_posts()):
   $recent->the_post();?> <h3>“><?php the_title(); ?></h3> <?php the_excerpt(); ?
   > <?php endwhile; ?> <div id=”upper-footer-shell”> <ul id=”footer-widgets”>
 *  <?php if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(__(‘Upper
   Footer Widgets’, ‘domain-themefit-fluid’)) ) : ?>
    <li class=”footer-widget-item”
   > <h3><?php _e(‘Footer Widget Area’, ‘domain-themefit-fluid’) ?></h3> <p> <?php
   _e(‘You can add footer widgets to this area from the WordPress admin in “Upper
   Footer Widgets.”‘, ‘domain-themefit-fluid’) ?>
 *  <?php echo do_shortcode( ‘[tf_button link=”‘. get_bloginfo(‘url’) .’/wp-admin/
   widgets.php”]’ . __(‘Add Widgets’, ‘domain-themefit-fluid’) . ‘[/tf_button]’);?
   >
    </p>
 *  <?php endif; ?>
 *  </div>
    </div>
 * <?php } ?>
 *  <div id=”push-lower-footer-shell”></div>
 *  </div><!– end site-wrapper –>
 *  <div id=”lower-footer-shell” class=”primary-color-background”>
    <div id=”lower-
   footer”> <p id=”lower-left-text”><?php echo tf_lower_left_footer( ) ?></p> <p
   id=”lower-right-text”><?php echo tf_lower_right_footer( ) ?></p> </div> </div
   >
 *  <?php wp_footer(); ?>
 * </body>
 * </html>
    ”
 *  [Borko](https://wordpress.org/support/users/media-x/)
 * (@media-x)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/last-3-post/#post-4203119)
 * It’s a commercial theme and we don’t support those on this forum. Please, ask
   the theme author for [support](http://themefit.com/support-forum/).
 *  Thread Starter [PascalPavan](https://wordpress.org/support/users/pascalpavan/)
 * (@pascalpavan)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/last-3-post/#post-4203120)
 * I don’t want support for the specific theme because I use also another site where
   I need help for this trick.
 * It’s possible to create a code that the resul is:
    POST | POST | POST
 *  [Borko](https://wordpress.org/support/users/media-x/)
 * (@media-x)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/last-3-post/#post-4203121)
 * Check this [topic](http://wordpress.org/support/topic/horizontal-list-of-posts?replies=4)

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Last 3 post’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 3 participants
 * Last reply from: [Borko](https://wordpress.org/support/users/media-x/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/last-3-post/#post-4203121)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
