Late last night I pushed through a minor release of Top 10. v220.127.116.11 which mainly contains some tweaks to make your experience using the plugin better. Now, the author name that is displayed in the list (if you choose to do so), will be the Public Name which is what you set in the Profile page.
There is a brand new function (“
get_tptn_post_count_only“) that allows you to get just the count.
Changes in Top 10 18.104.22.168
- Modified: Including the author in the list will now use the Display Name which is set under “Display name publicly as” in the User Profile page
- Fixed: If the Thumbnail meta field is omitted under Output Options, the plugin will automatically revert to its default value i.e. “post-image”
- Modified: Cleaner pagination when viewing the Top posts in the Admin section
- New: Function
get_tptn_post_count_onlyto get just the post count. Use it by passing the Post ID and the type of count (total, daily or overall):
get_tptn_post_count_only($id = FALSE, $count = 'total')
- New: Class
tptn_after_thumbthat wraps around all items of the list after the post thumbnail. This allows you to cleanly style all items to float to the right of the thumbnail
- Modified: Updated timthumb