This project has moved. For the latest updates, please go here.

Post list by author

Aug 22, 2010 at 10:36 PM

Do we have a way to get list of post by "Author"? Like we have for categories and tags? Also i was looking for displaying Full name of the author in the post.. and in the list along with the date of publishing. if anybody can throw some light on this, would be of great help.


Aug 24, 2010 at 4:46 AM

You can get posts by author and category using the chalk function:

$data.PostsByUserAndCategory("username", "categoryname", <number of posts>)

There might be a way to use that to get all posts for an author regardless of category. Not sure what happens if you put in a blank string for categoryname. If not, you should be able to use that as a starting point to create your own chalk extension (and submit it as a patch to the source, if you want to).

To display the full name, there is a "Proper Name" field on the user account, and you can use it on any "user" object you reference in Chalk. For example, on a post page, you can do:


To do it when looping through a list, it should just be:




Aug 24, 2010 at 2:08 PM

Thanks Charles, let me try this...