2016
12-23
12-23
wp模板常用函数
get_header() : 调用Header模板
get_sidebar() : 调用Sidebar模板
get_footer() : 调用Footer模板
include(TEMPLATEPATH . '/xx.php') : 嵌入其他文件,可为定制的模板或其他类型php文件,很常用,xx.php在模版文件夹中
bloginfo('html_type') : 网页Htm.... Read More >