示例#1
0
<ul>
<li><ul>
<?php 
get_archives('postbypost', 8);
?>
</ul></li>
</ul>
</div>

<div class="tabbertab" title="Your say">
<ul><li>
<?php 
include TEMPLATEPATH . '/simple_recent_comments.php';
/* recent comments plugin by: www.g-loaded.eu */
if (function_exists('src_simple_recent_comments')) {
    src_simple_recent_comments(8, 60, '', '');
}
?>
</li>
</ul>
</div>

<div class="tabbertab" title="Hot Topics">
<ul><li>
<?php 
mdv_most_commented(6);
?>
 
</li>
</ul>
</div>
示例#2
0
 <li id="Recent Posts"><?php 
    _e('<h2>Recent Posts</h2>');
    ?>
<ul class="menublock">
<p><?php 
    wp_get_archives('type=postbypost&limit=05');
    ?>
</p>			
</ul>
 </li>

 <li id="Recent Comments"><?php 
    _e('<h2>Recent Comments</h2>');
    ?>
				<ul>
				<?php 
    include TEMPLATEPATH . '/simple_recent_comments.php';
    ?>
	<?php 
    if (function_exists('src_simple_recent_comments')) {
        src_simple_recent_comments(5, 40, '');
    }
    ?>
				</ul>
 </li>

 <?php 
}
?>
		</ul>
示例#3
0
		
	<h2>Recent posts</h2>
		
	<div class="column_2_box">
		<ul class="post">
			<?php 
limited_width_recent_posts('type=postbypost&limit=20');
?>
		</ul>
	</div>
	
	<h2>Recent comments</h2>
	<div class="column_2_box">
		<?php 
if (function_exists('src_simple_recent_comments')) {
    src_simple_recent_comments(20, 29, '', '');
}
?>
	</div>
        
        <h2>Supporting the Site</h2>
	<div class="column_2_box">

<!-- Project Wonderful ad code -->
<script type="text/javascript">
   var pw_d=document;
   pw_d.projectwonderful_adbox_id = "53433";
   pw_d.projectwonderful_adbox_type = "4";
</script>
<script type="text/javascript" src="http://www.projectwonderful.com/ad_display.js"></script>
<!-- End of Project Wonderful ad code -->
示例#4
0
文件: js-side.php 项目: jao/jpcamargo
_e('Archives');
?>
                </a></li>
        </ul>
        <!-- LATEST HEADLINES -->
        <div class="t1">
            <?php 
rewind_posts();
?>
            <?php 
include TEMPLATEPATH . '/simple_recent_comments.php';
/* recent comments plugin by: www.g-loaded.eu */
?>
            <?php 
if (function_exists('src_simple_recent_comments')) {
    src_simple_recent_comments("4", 25, '', '');
}
?>
        </div>
        <!-- SECTIONS (CATEGORIES) -->
        <div class="t3">
            <ul id="latest">
                <?php 
$posts = get_posts('numberposts=4&offset=0');
foreach ($posts as $post) {
    setup_postdata($post);
    ?>
                  <?php 
    $limit = 43;
    $summary = get_the_title();
    if (strlen($summary) > $limit) {
示例#5
0
	<?php 
}
?>
	</ul>
  </div>
  <!--recent comments start -->

  <!--recent comments start -->
  <div class="footer-recent-comments">
    <?php 
include TEMPLATEPATH . '/simple_recent_comments.php';
/* recent comments plugin by: www.g-loaded.eu */
?>
	<?php 
if (function_exists('src_simple_recent_comments')) {
    src_simple_recent_comments(5, 60, '<h4>Recent Comments</h4>', '');
}
?>
  </div>
  <!--recent comments end -->
  
	<!--about text start -->
	<div class="footer-about">
		<?php 
include TEMPLATEPATH . '/about_text.txt';
/* Open about_text.txt in the theme folder to edit this text */
?>
	
	</div>
	<!--about text end -->
	
示例#6
0
      <h3 class="tabber-title">Recent Posts</h3>
      <ul>
        <?php 
wp_get_archives('type=postbypost&limit=5');
?>
      </ul>
    </li>
		
    <li id="mostview" class="widget">
      <h3 class="tabber-title">Recent Comments</h3>
      <?php 
include TEMPLATEPATH . '/simple_recent_comments.php';
?>
      <?php 
if (function_exists('src_simple_recent_comments')) {
    src_simple_recent_comments(5, 50, '<ul>', '</ul>');
}
?>
    </li>

    <li id="mostcomm" class="widget">
      <h3 class="tabber-title">Others</h3>
      <ul>
        <li><a href="#">Just another list</a></li>
        <li><a href="#">Just another list</a></li>
        <li><a href="#">Just another list</a></li>
      </ul>
    </li>

  </ul>
</li>