Help - Search - Members - Calendar
Full Version: author's posts
Movable Type Community Forum > Additional Resources > Tips and Tricks
iosonoio
of course you can do it...just a little trick!

first of all, you have to create a category for each of your author (you can name the category with the name of the author, just to make things easier).
then in your main index template, where you want the "number of post made by this author" to appear (i suppose after the name of the author itself), add the following:

CODE
<MTEntryCategories><$MTCategoryCount$></MTEntryCategories>


this will show the total number of posts in the category wich the current post belongs to (ergo, the one containing all of the posts made by that author).

...and that's it!

only one little shrewdness: pay attention to assign every post only to the category of the author (not using "multiple category"), because this would make a mess of the total posts' count!
malandi
I have a group weblog.

I'm wondering if it's possible to have the number of posts (the author has made) by each his/her name?

If I were to make a Category for each other (same as their name), could I use that to show the number of posts they've made?

here's what i have so far  What I'm trying to do... is stated by the "Total Posts: xxx"  

HELP SOMEONE, PLEASE!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.