2011 February

=== WP ajax Collapsing Categories ===

set the title and categories you want to show



click “[+]” to expand the category,to show child categories links and posts links in this category



Contributors: ZHAO Xudong
Donate link: http://html5beta.com
Plugin URI: http://html5beta.com/wordpress/wp-ajax-collapsing-categories/
Tags: categories, sidebar, widget
Requires at least: 2.8
Tested up to: 3.10
Stable tag: 1.0

== Description ==

This plugin uses jQuery to expand or collapsable the set of posts for each category,
uses ajax to get the expandable content from server.

== Note ==

0.WHY i do this.

in my work,i need a widget like this,so l learned to write it.
and i fully tested it in my site,it works fine.
since i am newbie,so there might be some bug or problem i do not know,
i appreciate it if you let me know.

1.About the Current Post

if the current post is in the category,the category link will has a “zxd_current_cat” class,
i certainly can add the css file in this little plugin,but i will not,because it is ugly.
you can customize it in your theme css file,like

#sidebar .zxd_current_cat{


more clean way to use this widget is set it in your theme’s function.php.


4.set up WP ajax Collapsing Categories widget in function.php

share to»




Theme Name: Paper3
Author: ZHAO Xudong
Theme URI: http://html5beta.com/wordpress/paper3-a-new-wordpress-theme/
Author URI:http://html5beta.com
Description:*IMPORTANT*paper background require css3 transform which is not supported by IE5,6,7,8,9.
a simple theme designed by ZHAO Xudong,zxdong@gmail.com,whose blog you will find at http://html5beta.com/.

any quetions or suggestion,you can contact me by zxdong@gmail.com,
or leave a comment @http://html5beta.com/wordpress/paper3-a-new-wordpress-theme/


0.seo friendly:
no images!only one js and one css in footer,reduce http request.
all page tag,desciption,robot,index,setup.so no seo plugin needed.
easy to share ,pure nice css social icon with addthis api link,you can share to any social media you want.
1.load jQuery from google api lib.
2.load js in footer
3.ajax click expand to see full content
4.a simpliest math captcha to stop spam commenter.
Version: 1.3.6
Tags: black,blue,white,two-columns,fixed-width
License: GNU General Public License, v2 (or newer)
License URI: http://www.gnu.org/licenses/old-licenses/gpl-2.0.html



share to»

不支持ie6,用现代浏览器吧。 firefox, google chrome, opera, safari 等,或请升级到 更高版本的Internet Explorer

you see this because you are using ie6,which is old ,ugly,and not supported by this site,try get a modern browser!
firefox, google chrome, opera, safari , or upgrade to Internet Explorer 8+