comicpress-2.8/sidebar-right.php

32 lines
954 B
PHP
Raw Normal View History

<?php global $disable_lrsidebars_frontpage;
if ($disable_lrsidebars_frontpage == 'yes' && is_home()) {
} else { ?>
2009-08-21 17:45:23 +00:00
<div id="sidebar-right">
<div class="sidebar-head"></div>
<div class="sidebar">
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Right Sidebar') ) : ?>
<?php comicpress_comic_bookmark() ?>
<?php if (is_cp_theme_layout('standard,v')) { ?>
<?php $default_image = get_bloginfo('stylesheet_directory').'/images/cal/default.png'; ?>
<div class="widget">
<?php comicpress_calendar(array('thumbnail' => $default_image)) ?>
</div>
<?php } ?>
<div class="widget">
<ul><li>
<h2>Menu</h2>
<ul>
<?php wp_list_pages('title_li=') ?>
</ul>
</li></ul>
</div>
<div class="widget">
<ul><?php wp_list_categories('title_li=<h2>Categories</h2>') ?></ul>
</div>
<?php endif; ?>
</div>
<div class="sidebar-foot"></div>
</div>
<?php } ?>