Re: Show favourite count after each activity?
Ok, I get it. I added “favorites” to your code, so now it displays “(2) favorites” instead of just “(2)”, to give it a little more meaning for users. Any way to add a conditional line to your function so that if there is one favorite, it will display “(1) favorite” (singular) and if there are two or more, it will display “(x) favorites” (plural)? If this is too nitpicky, or if the favorites plugin in development supercedes all of this, then no worries, I can live without it.
The other “Favorites” display issue I’m trying to solve is to get the Profile sub-nave to display the Favorites count like it does in the activity stream. Right now, they differ in their displays, like this:
On Activity Stream: Favorites (2)
On Profile Sub-nav: Favorites