viewing source for "README"

last commit

commit 8d5c187d4e7e6f6b07d163bbeb4c031dc92e85b0 Author: Andrew Rader <andrew.r.rader@gmail.com> Date: Sun Feb 3 11:02:58 2008 -0800
README: removed SVN info and updated links

source code

01: # Fancy Archives for Wordpress #
02: 
03: This is a relatively simple plugin that uses Javascript to
04: make the Archive links in the sidebar collapsable by year.
05: 
06: It has been tested on Wordpress versions 2.0+ and 2.1+
07: 
08: ## Demo ##
09: 
10: You can view a demo in the sidebar of my test Wordpress site [here][1].
11: 
12: ## Installation ##
13: 
14: Unpack the tar contents to wp-content/plugins/ so that the
15: files are in a fancy-archives directory. Now enable the
16: plugin. To use the plugin, change the following here
17: appropriate (most likely sidebar.php):
18: 
19: Change From:
20: 
21:     <ul>
22:      wp_get_archives(your_options_here);
23:     </ul>
24: 
25: To something of the following:
26: 
27:     <?php
28:      if( function_exists('list_fancy_archives') ) {
29:       list_fancy_archives();
30:      } else {
31:       echo "<ul>\n";
32:       wp_get_archives(your_options_here);
33:       echo "</ul>\n";
34:      }
35:     ?>
36: 
37: This way, if you ever disable the plugin, your blog doesn't die.
38: 
39: **Note**: `wp_get_archives` can be substituted for
40: `wp_list_archives` depending on the design of the theme, so
41: be sure to edit appropriately. Also, substitute
42: `your_options_here` with what the appropriate options are
43: for your theme.
44: 
45: Options for Fancy Archives are found under Options -> Fancy
46: Archives. So far, there are the following options:
47: 
48:   * Leave Current Year Expanded by Default
49:   * Display number of posts in a year
50:   * Show Month Link
51:     * Display number of posts in a month
52:     * Enable month links to expand to show posts
53:       * Display pages and posts, or just posts
54:     * Leave Current Month Expanded by Defaul
55:   * Posts can be displayed with any of the following:
56:     * Number (ID)
57:     * Title
58:     * Comment Count
59: 
60: This plugin relies on Javascript, but does degrade
61: gracefully if it is not present/enabled to show all of the
62: archive links as usual.
63: 
64: [1]: http://dwords.voidsplat.org/?page_id=19