-
Notifications
You must be signed in to change notification settings - Fork 232
/
categories_wrapper.php
69 lines (65 loc) · 1.99 KB
/
categories_wrapper.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<?php
/*
Template Name: Franklin Street Categories Section
http://codex.wordpress.org/Function_Reference/wp_insert_post
http://codex.wordpress.org/Function_Reference/update_post_meta
http://codex.wordpress.org/Function_Reference/post_meta_Function_Examples
http://hungred.com/how-to/wordpress-templatepage-meta-key-updatepostmeta/
http://www.emanueleferonato.com/2010/04/01/loading-wordpress-posts-with-ajax-and-jquery/
*/
?>
<div id="categories_pullout">
<div id="categories_container" class='clear'>
<div class='span-8'>
<h2>Categories</h2>
<ul id="category_list">
<?php $args = array(
'show_option_all' => NULL,
'orderby' => 'term_group',
'order' => 'ASC',
'show_last_update' => 0,
'style' => 'list',
'show_count' => 0,
'hide_empty' => 1,
'use_desc_for_title' => 1,
'child_of' => 0,
'feed' => NULL,
'feed_type' => NULL,
'feed_image' => NULL,
'exclude' => NULL,
'exclude_tree' => NULL,
'include' => NULL,
'hierarchical' => false,
'title_li' => NULL,
'number' => NULL,
'echo' => 1,
'depth' => 0,
'current_category' => 0,
'pad_counts' => 0,
'taxonomy' => 'category',
'walker' => 'Walker' ); ?>
<?php wp_list_categories( $args ); ?>
</ul>
</div>
<div id="tag_cloud" class='span-6 last'>
<h2>Tags</h2>
<div class='tags'>
<?php $args = array(
'smallest' => 10,
'largest' => 28,
'unit' => 'px',
'number' => 45,
'format' => 'flat',
'separator' => ' ',
'orderby' => 'name',
'order' => 'ASC',
'exclude' => NULL,
'include' => NULL,
'link' => 'view',
'taxonomy' => 'post_tag',
'echo' => true ); ?>
<?php wp_tag_cloud( $args ); ?>
</div>
</div>
</div>
</div>