WordPress.org

Forums

[resolved] Format Most Current Post Differently (2 posts)

  1. tsguitar
    Member
    Posted 8 years ago #

    I want my most current post the show the_content and all other posts to show the_excerpt. Can't I use something like query_post to not only format the most current post differently, but display different information? Maybe using offset to have all the other posts listed on the home page? I know I've seen this around, the way to treat the most current post differently than the others displayed on the page, but I can't find it anymore. Thanks for your time.

    Signed,
    Kicking Myself

  2. tsguitar
    Member
    Posted 8 years ago #

    I knew I'd find it:
    http://pastebin.ca/raw/156998

    And that comes from what I read in the Codex:
    http://codex.wordpress.org/The_Loop#Multiple_Loops_in_Action

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.