SIDEBLOG搞了好长一段时间了,一直没有取得很理想的效果,今天决定不再用它了。
SIDEBLOG效果不理想,不能用IM发送消息,饭否可以,还可以用手机发送,还可以备份IM签名档,总之,饭否发送更方便快捷,可以订阅备份,效果更理想。但还需要把别人帮忙写的sideblog.php备份一下,以备后用…
<?php
/*
Template Name: sideblog
*/
?>
<?php get_header(); ?>
<div class=”post” id=”post-<?php the_ID(); ?>”>
<div class=”caption”>
<h2 class=”title”><?php _e(‘Miniblog’, ‘blocks2′); ?></h2>
<div class=”fixed”></div>
</div>
<div class=”meta”>
<div class=”fixed”></div>
</div>
<div class=”content”>
<?php $aside = new db_Query(“cat=136&showposts=100″); ?>
<?php if ($aside->have_posts()) : while ($aside->have_posts()) : $aside->the_post(); ?>
<a href=”<?php the_permalink() ?>” title=”<?php the_title(); ?>”><?php the_title(); ?> </a>
<?php the_time(‘Y-m-d l’) ?> <?php the_time(‘H:i:s ‘); ?>
<?php edit_post_link(__(‘Edit’, ‘blocks2′), ‘ | ‘, ”); ?>
<?php the_content(); ?>
<?php endwhile; ?>
<?php endif; ?>