Home > Backend Development > PHP Tutorial > 1.开始文件index.php

1.开始文件index.php

WBOY
Release: 2016-06-13 13:08:15
Original
912 people have browsed it

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

define('WP_USE_THEMES', true);	//加载主题

require('./wp-blog-header.php');  //加载环境和模板
Copy after login
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template