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:
excerpt from most current category A post
excerpt from most current category B post
excerpt from most current category C post
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!
- The topic ‘link to latest category post’ is closed to new replies.