Exemplo n.º 1
0
 function widget_get_recent_comments($args)
 {
     global $kjgrc_we_are_a_widget, $kjgrc_widget_args;
     $kjgrc_we_are_a_widget = TRUE;
     $kjgrc_widget_args = $args;
     get_recent_comments();
 }
Exemplo n.º 2
0
	<?php 
wp_list_pages('title_li=');
?>
</ul>

	<?php 
if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('Body Right Sidebar')) {
    ?>
            
            <?php 
    if (function_exists('get_recent_comments')) {
        ?>
              <h3>Recent Comments</h3>
              <ul>
                <?php 
        get_recent_comments();
        ?>
              </ul>
            <?php 
    }
    ?>

             <h3>search by tag</h3>
              <div id="tag_cloud">
                <?php 
    wp_tag_cloud('smallest=9&largest=14&number=25');
    ?>
              </div>
              <br/>
              <h3>search by category</h3>
              <ul id="cats">
Exemplo n.º 3
0
bloginfo('stylesheet_directory');
?>
/images/spacer.gif" alt="RSS" /></a></div>
		<div id="searchform"><?php 
include TEMPLATEPATH . '/searchform.php';
?>
</div>
        <div id="welcome"><p><?php 
include TEMPLATEPATH . '/welcome.php';
?>
</p></div>
        <!-- sidebar sub start -->
		<div id="sidebar_sub" class="clearfix">
            <ul>
				<li class="recent_posts">
					<ul>
						<?php 
get_archives('postbypost', 6);
?>
					</ul>
				</li>
				<li class="recent_comments">
					<?php 
get_recent_comments(array('number' => 6));
?>
				</li>
             </ul>
		</div>
		<!-- sidebar sub end -->
	</div>
<!-- header end -->