Heim >Backend-Entwicklung >PHP-Tutorial > 不太懂php,问一个关于wordpress的有关问题

不太懂php,问一个关于wordpress的有关问题

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-13 12:47:11814Durchsuche

不太懂php,问一个关于wordpress的问题

这句代码报错的 

页面上报错:
Fatal error: Call to undefined function wp_list_cats() in D:\phpnow\htdocs\mulan\wp-content\themes\muse\blog.php on line 48
意思好象是wp_list_pages()函数未定义。

想要自己用html css javascript写模板
index.php链接到blog.php时,在blog.php中调用就报错了 
但是如果直接在index.php中调用就很正常,index.php和blog.php在同一个目录下,不明白是为什么。

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn
Vorheriger Artikel: 求入门基础文件 Nächster Artikel: 好手来看看