0byt3m1n1
Path:
/
data
/
applications
/
aps.bak
/
wordpress
/
themes
/
arras-theme
/
[
Home
]
File: sidebar.php
</div><!-- #container --> <div id="primary" class="aside main-aside sidebar"> <?php arras_above_sidebar() ?> <ul class="xoxo"> <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Primary Sidebar') ) : ?> <li class="widgetcontainer clearfix"> <h5 class="widgettitle"><?php _e('Welcome to Arras Theme!', 'arras') ?></h5> <div class="widgetcontent"> <div class="textwidget"> <p><?php _e('Arras Theme is a WordPress theme designed for news or review sites with lots of customisable features.', 'arras') ?></p> </div> </div> </li> <li class="widgetcontainer clearfix"> <h5 class="widgettitle"><?php _e('Recent Posts', 'arras') ?></h5> <div class="widgetcontent"> <?php $r = new WP_Query(array('showposts' => $number, 'what_to_show' => 'posts', 'nopaging' => 0, 'post_status' => 'publish', 'caller_get_posts' => 1)); if ($r->have_posts()) : ?> <ul> <?php while ($r->have_posts()) : $r->the_post(); ?> <li><a href="<?php the_permalink() ?>"><?php if ( get_the_title() ) the_title(); else the_ID(); ?> </a></li> <?php endwhile ?> </ul> <?php wp_reset_query(); endif; ?> </div> </li> <li class="widgetcontainer clearfix"> <h5 class="widgettitle"><?php _e('Recent Posts', 'arras') ?></h5> <div class="tags widgetcontent"> <?php wp_tag_cloud(); ?> </div> </li> <?php endif; ?> </ul> </div><!-- #primary --> <div id="secondary" class="aside main-aside sidebar"> <ul class="xoxo"> <!-- Widgetized sidebar, if you have the plugin installed. --> <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Secondary Sidebar #1') ) : ?> <?php endif; ?> <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Secondary Sidebar #2') ) : ?> <?php endif; ?> </ul> <?php arras_below_sidebar() ?> </div><!-- #secondary -->