1.开始文件index.php

一.开始文件index.phpwordpress的index文件很简单,声明加载主题的常量和包含头文件。define(WP_USE_THEMES

一.开始文件index.php
wordpress的index文件很简单,声明加载主题的常量和包含头文件。

define('WP_USE_THEMES', true);//加载主题require('./wp-blog-header.php');  //加载环境和模板