Linux 软件免费装

Author Categories

开发者 kdiweb
更新时间 2009年4月11日 18:28
捐献地址: 去捐款
PHP版本: 2.5 及以上
WordPress版本: 2.7.1

标签

categories menu author post count

下载

1.0

详情介绍:

Numerous people are using Wordpress for blogging and in many cases there are more than one authors on a website. It's uncomfortably surprising that Wordpress doesn't support out of the box a category menu for each author separately. I was looking for this feature online for my personal need but couldn't find it on any plugin. To be exact I was using a modified version of another similar plugin but that was until version 2.3 where the database structure changed for Wordpress and it simply stopped working. As I saw it, it wasn't worth fixing old, deprecated (and highly cluttered) code, and there weren't any other solutions out there, so I decided to create a new plugin. Thankfully the new database and API made it as easy as I had hoped for. I ended up with this plugin, that was created as a wrapper of the default category menu. It is lightweight and can easily plug-in, plug-out. Furthermore, being an extension of the default category menu, means that none of the functionality (sorting, post count etc.) is lost. In fact it can be easily extended and could support future versions of the blogging platform for years to come.

安装:

  1. Upload the file "wp_author_categories.php" in your "wp-content/plugins" directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Inlude the function "wp_author_categories()" in your template files
More detailed information is provided in the "Usage" section of this document.

常见问题:

Known limitations?

To mention some of the things this plugin (in it's current version) won't do for you:

  • It only works with posts (not pages)
  • The markup created is directed for the list-type menu (not the drop down version) with simply parenthesis around the post count.
  • The author is added as a standard GET variable and does not support the SE friendly URLs (although it still works)

Wishlist?

This is naturally an extension of the current limitations...

  • Add some sort of caching mechanism so all the post count calculations are not done on every page re-load
  • Externalise the menu structure to a template file
  • Support other versions of the category menu (dropdown, tag cloud...)
  • Ability to work with any sort of customized URLs

Need more help? Found a bug? Have an idea?

Thank you for using this piece of software. Don't hesitate to respond with any comments or suggestions. Contact me at Make Sites You can always find the latest version of this plugin here: http://www.makesites.cc/projects/wp_author_categories