2016-02-28 95 views
0

我在我的服务器上的第二个wordpress目录上创建了一个主题,但是当我将(完美)主题放在主站点目录中时,它显示了一些在“测试设计”目录中不存在的错误。使用未定义的常量custom_pagination?

Notice: Use of undefined constant custom_pagination - assumed 'custom_pagination' in /web/htdocs/**********/home/wp-content/themes/********/page-templates/page-news.php on line 76 

实际上有一个在其他目录工作正常的fucntion名称。有任何想法吗?

我甚至改变了我的整个网站的PHP版本,但...什么都没有

回答

0

这似乎排除错误

<?php custom_pagination($custom_query->max_num_pages,"",$paged); ?>