How to retrieve last word from comment?
Im trying to implement some sort of “Exquisite corpse” (see wikipedia) using wordpress.
The idea is to have a custom post type (done) for exquisite corpses. The post would be the rules and theme, etc. Then the readers would only see the last word from the last comment approved so they can submit their own comment continuing the story.
I thought of having 2 post templates for this kind of post. The first would hide the published comments, showing only the last word from the last comment, and the submit box.
Once its finished, I would switch to the second post template which would show all comments text one after the other, thus creating the story.
But I need help retrieving the last word from the last approved comment.
I can figure out the rest.
Thanks in advance.
- The topic ‘How to retrieve last word from comment?’ is closed to new replies.