• How would I find a plugin similar to the one that is on this template called Breeze found at https://breeze.unispheredesign.com/.

    Basically I am interested in having the most recent post highlighted with a blurb and then have the previous 3 posts on the other side.

    Is there a plugin/widget I can add?

    Any help would be greatly appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’m not sure I’ve really seen plugins/widgets that do this, since this effect is easily reproduced using a simple WP_Query.

    They just queried for 4 posts from that category and styled the first one differently from the 2nd, 3rd and 4th posts.

    Here’s an example:

    // The query arguments
    $args = array('showposts' => 4);
    
    // Creating the new query
    $query = new WP_Query($args);
    
    // The loop starts, initialize the count
    while $query->have_posts()) : $query->the_post()); count++;
    
    // If first post
    if ($count == 1) {
    
    Code for the first post
    
    } else { // Else do this to the other 3 posts
    
    Code for the other 3 posts
    
    }
    
    // End the loop
    endwhile;
    Thread Starter fdegreg

    (@fdegreg)

    I just wanted to say thank you for taking the time to respond. It helped me a lot. ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Recent Posts Like This’ is closed to new replies.