WordPress.org

Support

Support » How-To and Troubleshooting » link to latest category post

link to latest category post

  • I am planning a home page where I want to display an excerpt (5-10) lines of the last (latest) post in each of 3 categories. eg:

    CATEGORY A
    excerpt from most current category A post
    read latest>>

    CATEGORY B
    excerpt from most current category B post
    read latest>>

    CATEGORY C
    excerpt from most current category C post
    read latest>>

    I have more than 3 categories, but only want these 3 catefories to show an excerpt from their most current post.

    Ideas? I am fairly new to WP… though I can sort of read the intent of the default loop code.

    Would the way to go about this be to create a home.php page, dd the headings and (?) add code to pull the excerpt (5-10 lines) and link to latest post in each category of an ID? (that’s my idea)

    What would be the code for an excerpt from and link to the latest post of category X?

    Any help appreciated, thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘link to latest category post’ is closed to new replies.