Title: master.beta's Replies | WordPress.org

---

# master.beta

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Hueman] Preserving needed z-index on slider](https://wordpress.org/support/topic/preserving-needed-z-index-on-slider/)
 *  [master.beta](https://wordpress.org/support/users/masterbeta/)
 * (@masterbeta)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/preserving-needed-z-index-on-slider/#post-5565256)
 * what about the advanced-post-slider.php?
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Hueman] Preserving needed z-index on slider](https://wordpress.org/support/topic/preserving-needed-z-index-on-slider/)
 *  [master.beta](https://wordpress.org/support/users/masterbeta/)
 * (@masterbeta)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/preserving-needed-z-index-on-slider/#post-5565252)
 * Have a look at the responsive.css maybe?
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Hueman] How can I exclude the most recent post from a custom loop?](https://wordpress.org/support/topic/how-can-i-exclude-the-most-recent-post-from-a-custom-loop/)
 *  Thread Starter [master.beta](https://wordpress.org/support/users/masterbeta/)
 * (@masterbeta)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/how-can-i-exclude-the-most-recent-post-from-a-custom-loop/#post-5561179)
 * Currently having a look on content.php and inc/featured.php
    Hopefully can find
   something useful 😛
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Hueman] How can I exclude the most recent post from a custom loop?](https://wordpress.org/support/topic/how-can-i-exclude-the-most-recent-post-from-a-custom-loop/)
 *  Thread Starter [master.beta](https://wordpress.org/support/users/masterbeta/)
 * (@masterbeta)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/how-can-i-exclude-the-most-recent-post-from-a-custom-loop/#post-5561177)
 * The code from the page
 *     ```
       <?php $my_query = new WP_Query( 'category_name=featured&posts_per_page=1' );
       while ( $my_query->have_posts() ) : $my_query->the_post();
       $do_not_duplicate = $post->ID; ?>
       	<!-- Do stuff... -->
       <?php endwhile; ?>
       	<!-- Do other stuff... -->
       <?php if ( have_posts() ) : while ( have_posts() ) : the_post();
       if ( $post->ID == $do_not_duplicate ) continue; ?>
       	<!-- Do stuff... -->
       <?php endwhile; endif; ?>
       ```
   
 * But I reckon I still have to put the posts into a specific category (ie. “featured”)
   in order to exclude it from the second/third/forth loop?
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Hueman] How can I exclude the most recent post from a custom loop?](https://wordpress.org/support/topic/how-can-i-exclude-the-most-recent-post-from-a-custom-loop/)
 *  Thread Starter [master.beta](https://wordpress.org/support/users/masterbeta/)
 * (@masterbeta)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/how-can-i-exclude-the-most-recent-post-from-a-custom-loop/#post-5561165)
 * Just for those who have the same problem and are willing to make it done manually
   every now and then
 * you can either
    (1) create a featured category, assign the post to the category;
   and exclude the category in the custom loop with `cat=-ID` (in which ID = your
   featured category ID) (2) give the posts a tag and exclude it with `tag=-ID`
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Hueman] How can I exclude the most recent post from a custom loop?](https://wordpress.org/support/topic/how-can-i-exclude-the-most-recent-post-from-a-custom-loop/)
 *  Thread Starter [master.beta](https://wordpress.org/support/users/masterbeta/)
 * (@masterbeta)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/how-can-i-exclude-the-most-recent-post-from-a-custom-loop/#post-5561163)
 * From that article
 * > Thanks for the info. Worked well 🙂 Though, I’m encountering another issue 
   > for another site I’m currently doing. Is there a way to exclude from the loop
   > only the latest post of a particular category?
   > Thing is, I’ve a blog that publishes podcasts. The front page highlights the
   > most recent podcast – posts are published under category: Podcast – via its
   > own styling. At the same time, the front page also shows the last 5 most recent
   > posts, of which may include posts under the category “podcast”. I just don’t
   > want to show in the loop the most recent post published under “Podcast” simply
   > because it’s already featured with it’s own styling. Hope you can help me out.
   > thanks!
 * >  You can exclude all posts from the category “postcast” from your loop if you
   > want. But there is no simple way of excluding just the latest post.
 * probably got to dive into the codex page 🙁
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Hueman] How can I exclude the most recent post from a custom loop?](https://wordpress.org/support/topic/how-can-i-exclude-the-most-recent-post-from-a-custom-loop/)
 *  Thread Starter [master.beta](https://wordpress.org/support/users/masterbeta/)
 * (@masterbeta)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/how-can-i-exclude-the-most-recent-post-from-a-custom-loop/#post-5561162)
 * Hi bdbrown thank you for your reply
 * using offset=N will exclude the N most recent post from the “custom loop”
    (which
   is the category loop in my case) instead of the N most recent post from the “
   main loop” of all the posts
 * wonder if there’s a way to exclude only the most recent ones of my whole site
   instead of the ones of the category 🙁
 * Cheers
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Theme: Hueman] Set special excerpt length to featured posts?](https://wordpress.org/support/topic/theme-hueman-set-special-excerpt-length-to-featured-posts/)
 *  Thread Starter [master.beta](https://wordpress.org/support/users/masterbeta/)
 * (@masterbeta)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/theme-hueman-set-special-excerpt-length-to-featured-posts/#post-5529086)
 * Kind of nailed it by
    (1) adding a class in css (2) changing the excerpt limit(
   3) making use of ‘max-height’ to manually set limit for non-featured posts (as
   i want 100 for featured and around 30 for non-featured)
 * Don’t think this is the proper solution though
    (having excerpts that can only
   be seen by viewing the page source lol)

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