Skip to content
This repository has been archived by the owner on Dec 16, 2019. It is now read-only.

Commit

Permalink
Swapped categories and tags position on header right section.
Browse files Browse the repository at this point in the history
  • Loading branch information
cliffano committed Jan 8, 2011
1 parent 45e1c2f commit 76fd92c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions emptiness/src/main/php/header.php
Expand Up @@ -33,21 +33,21 @@
<div class="side right">
<?php
if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Header Right Sidebar') ) :
if ( count(get_tags()) > 0 ) :
if ( count(get_categories()) > 0 ) :
?>
<h3>Tags</h3>
<h3>Categories</h3>
<ul>
<li>
<?php wp_tag_cloud('smallest=9&largest=14&number=30'); ?>
</li>
<?php wp_list_categories('hierarchical=false&title_li='); ?>
</ul>
<?php
endif;
if ( count(get_categories()) > 0 ) :
if ( count(get_tags()) > 0 ) :
?>
<h3>Categories</h3>
<h3>Tags</h3>
<ul>
<?php wp_list_categories('hierarchical=false&title_li='); ?>
<li>
<?php wp_tag_cloud('smallest=9&largest=14&number=30'); ?>
</li>
</ul>
<?php
endif;
Expand Down

0 comments on commit 76fd92c

Please sign in to comment.