1.主题一般包含的文件有以下几个:
◦ style.css
◦ index.php
◦ home.php
◦ single.php 查看日志详情页面
◦ page.php
◦ archive.php
◦ category.php
◦ search.php 搜索结果页面
◦ 404.php
◦ comments.php
◦ comments-popup.php
◦ author.php
◦ date.php
若不需要特复杂的显示,可选择性的定制部分文件。其余删除即可。练习使用到的有index、style、page、single、category、search、comments
2.函数说明
<?php wp_link_pages( $args ); ?> 文章内分页功能
必须要在wp_content()之后使用
***文章会持续更新***