主题使用不了,我使用的是;简洁空间免费版
首先谢谢WEB主题公园,给我提供了怎么多的资源和教程。让我这样的小白有了学习的地方。
谢谢!!!
我的软件是虚拟机LINUX系统,XAMPP7.1.1 和WordPress4.7.4.
然后就是在WordPress上传主题成功了,实时预览的时候,主题不能使用。出现一大堆代码。代码如下:
Warning: Declaration of check_walker::start_el(&$output, $item, $depth, $args) should be compatible with Walker_Nav_Menu::start_el(&$output, $item, $depth = 0, $args = Array, $id = 0) in /opt/lampp/htdocs/wordpress/wp-content/themes/simplespace_free/widget.php on line 102
Warning: Declaration of header_menu::start_el(&$output, $item, $depth, $args) should be compatible with Walker_Nav_Menu::start_el(&$output, $item, $depth = 0, $args = Ar
在一样的位置,都是在顶部。
还是不可以啊,更改了之后,又出现新的问题了。
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; case_index has a deprecated constructor in /opt/lampp/htdocs/wordpress/wp-content/themes/simplespace_free/widget/case.php on line 3
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; news_index has a deprecated constructor in /opt/lampp/htdocs/wordpress/wp-content/themes/simplespace_free/widget/news.php on line 3
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; html has a deprecated constructor in /opt/lampp/htdocs/wordpress/wp-content/themes/simplespace_free/widget/html.php on line 3
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; nav_menu has a deprecated constructor in /opt/lampp/htdocs/wordpress/wp-content/themes/simplespace_free/widget/nav_menu.php on line 3