I have a content type called "announcements". They each have a title and field for the announcement. I'd like to be able to, in my .module, get the last five announcements and print out their contents to the page. How can I do this?


Use the Views module. It is awesome.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.