WordPress请问wp日志如何使用多个模版
我看到一些wp的网站可以这样的
例如
http://www.xx.com/themes 这个目录下的板式是
http://www.xx.com/blog 这个目录下的板式是
请问是如何实现这样的呢?
还有个问题,如何给新建页面加上description、keywords 呢?
还有一个问题
<?php if (have_posts()) : ?>
<?php $recent = new WP_Query("cat=3&showposts=5"); while($recent->have_posts()) : $recent->the_post();?>
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="详细阅读 <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
<?php echo mb_strimwidth(strip_tags(apply_filters('the_content', $post->post_content)), 0, 100,"..."); ?>
<?php endwhile; ?>
<?php endif; ?>
上面的代码顶置了不在第一的,还是在原来的位置,请问如何解决?
谁教教小弟,感激不尽!
[ 此帖被266在2010-08-29 17:53重新编辑 ]