Exclude most recent post from loop

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

This topic is: not resolved

Tagged: ,

This topic contains 3 replies, has 2 voices, and was last updated by  braddalton 8 months, 3 weeks ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #69776

    senordeer
    Participant
    Post count: 22

    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/
    #69804

    braddalton
    Participant
    Post count: 8826

    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


    Specializing In StudioPress Child Theme Customization.
    500+ StudioPress Tutorials

    #69809

    senordeer
    Participant
    Post count: 22

    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.

    #69811

    braddalton
    Participant
    Post count: 8826

    No worries.

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


    Specializing In StudioPress Child Theme Customization.
    500+ StudioPress Tutorials

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.