• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Exclude most recent post from loop

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Exclude most recent post from loop

This topic is: not resolved

Tagged: loop, Simple Hooks

  • This topic has 3 replies, 2 voices, and was last updated 11 years, 6 months ago by Brad Dalton.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • October 29, 2013 at 5:18 pm #69776
    senordeer
    Member

    Hello, I am looking to exclude the most recent post on this site: http://192.232.207.96/~simple1/
    from the loop. Basically, I want the most recent post to appear in full, without the "read more" and featured image excerpt, and the rest of the posts to appear as they are set now, with featured image and content excerpt. I have Genesis Simple Hooks installed and was hoping for some code I can add to Simple Hooks, thanks in advance!

    http://192.232.207.96/~simple1/
    October 29, 2013 at 6:29 pm #69804
    Brad Dalton
    Participant

    Please copy the code from the view raw link and paste it at the end of your child themes functions.php file using a text editor like Notepad++

    https://gist.github.com/braddalton/e66ee7693adb161e8eef


    Tutorials for StudioPress Themes.

    October 29, 2013 at 7:10 pm #69809
    senordeer
    Member

    Hey Brad thanks so much for the code, it worked great, only thing, I don't think I was clear in my initial post about what I want to do, sorry for that. On this page (which has a lot going on, I know): http://www.inspiredbycharm.com/ ,the most recent post appears in full, and then below it, the rest of the posts with the featured image and post excerpt. So what I was hoping to do is exclude the most recent post from having the Content Archives settings I have set up in Genesis settings (post excerpt and featured image) applied I probably did not explain myself well, and I also found a $6 recent posts plugin that I can probably just pop in below the first post, so it's not a huge deal, just was curious if it can be done. Thanks again.

    October 29, 2013 at 7:24 pm #69811
    Brad Dalton
    Participant

    No worries.

    Please start another thread with a title like: Display Full Content Of Most Recent Post.


    Tutorials for StudioPress Themes.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble