Linux 软件免费装

Humanized History for WordPress

开发者 Charles Johnson
更新时间 2008年2月26日 08:03
捐献地址: 去捐款
PHP版本: 2.0 及以上
WordPress版本: 2.3.2

标签

pages usability interface humanized history

下载

2007.11.29 2008.02.10 2007.10.08

详情介绍:

Humanized History is a plugin to implement a "Humanized History" feature for WordPress archives, using some PHP glue on the back end and some unobtrusive JavaScript on the front-end. In JavaScript-enabled browsers, Humanized History eliminates the need for users to click on "previous posts" links to read back through your archives; instead, when users get near the bottom of the current page of posts, the included JavaScript automatically displays more posts for them at the bottom of the page, providing a magic endless scrollbar that scrolls through your entire archives, in place of traditional page chunking. Search robots and browsers without JavaScript enabled will see the same old pages with previous page/next page links, so you lose nothing in accessibility or friendliness to search engines. The plugin was inspired by the discussion of the concept by Aza Raskin at Humanized (2006-04-25): No More Pages?. To see a sample of the feature as implemented in WordPress, go to http://projects.radgeek.com/ and scroll down toward the bottom of the page. Don't make your readers ask you for more content. Just give it to them.

安装:

Humanized History requires a working installation of WordPress. It has been tested with several versions of WordPress 2.x; I can't promise compatability with older versions of WordPress, but if you've tried it successfully, I'd be glad to hear about it. To install the plugin:
  1. Create a subdirectory named humanized-history in the plugins directory of your WordPress blog.
  2. Put copies of humanized-history.js and humanized-history.php in the humanized-history subdirectory.
  3. Add a new function to your functions.php template file named template_post_display(), which should display the contents of a single post however they are normally displayed on your blog's front page and archive pages. (This should usually just be copied and pasted from the post loop of your index.php template or your archive.php template.)
  4. In the WordPress Dashboard, go to Plugins and activate the Humanized History plugin.