Title: dalio's Replies | WordPress.org

---

# dalio

  [  ](https://wordpress.org/support/users/dalio/)

 *   [Profile](https://wordpress.org/support/users/dalio/)
 *   [Topics Started](https://wordpress.org/support/users/dalio/topics/)
 *   [Replies Created](https://wordpress.org/support/users/dalio/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/dalio/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/dalio/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/dalio/engagements/)
 *   [Favorites](https://wordpress.org/support/users/dalio/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Detect if a post is the latest?](https://wordpress.org/support/topic/detect-if-a-post-is-the-latest/)
 *  Thread Starter [dalio](https://wordpress.org/support/users/dalio/)
 * (@dalio)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/detect-if-a-post-is-the-latest/#post-198613)
 * Woo – worked it out!! Should be able to move forward with the other stuff now:
   0)
 * For those that are interested, I found the answer in the [Maxpower post](http://www.maxpower.ca/wordpress-hack-creating-a-dynamic-sticky/2005/04/23/)
 * And my result ended up looking like this (for the second bit – his code took 
   me a few seconds to remember to add curly brackets etc):
 *  `<?php query_posts('showposts=3'); ?>
    <?php while (have_posts()) : the_post();
   if( $post->ID == $do_not_duplicate ) { continue; } else { ?> <h4><a href="<?php
   the_permalink(); ?>"><?php the_title() ?></a></h4> <?php the_content_limit(220,"
   Read more..."); ?></p> <?php } endwhile;?>
 * I hope this helps someone :0)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Style latest post differently](https://wordpress.org/support/topic/style-latest-post-differently/)
 *  Thread Starter [dalio](https://wordpress.org/support/users/dalio/)
 * (@dalio)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/style-latest-post-differently/#post-129498)
 * I managed to work it out – I love this hacking stuff :0)
 * Basically I used the post-teaser plugin to only show the first 100 characters
   of a post and restricted the homepage to display 1 post at a time. The normal
   loop was in a div called latestpost
 * I then found in the Wikki the useful get_posts template tag – so I then created
   another div called recentposts and used the get_posts function to return the 
   title and excerpt from the most recent 3 posts (using an offset of 1 to miss 
   the latest post).
 * Bingo – nice and controlable :0)

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