我的网站URL是www.example。通信/歌手
我决定去掉仪表板中的“/singer”,自从我遇到这个错误以来。
Fatal error: Call to undefined function wp() in /data/15/3/113/145/3439634/user/3834081/htdocs/singer/wp-blog-header.php on line 14
我尝试了多种方法来修复,但都没有成功。感谢您的指导。
我的网站URL是www.example。通信/歌手
我决定去掉仪表板中的“/singer”,自从我遇到这个错误以来。
Fatal error: Call to undefined function wp() in /data/15/3/113/145/3439634/user/3834081/htdocs/singer/wp-blog-header.php on line 14
我尝试了多种方法来修复,但都没有成功。感谢您的指导。
将以下内容添加到wp-config.php
define( \'WP_SITEURL\', \'www.amandabarise.com/singer\' );
define(\'WP_HOME\', \'www.amandabarise.com/singer\');
这将使站点再次工作,但请尝试更正这些值,以及read thisWhat I want当用户打开类别链接时,应自动显示第一个查询的帖子。我的查询如下所示: <?php global $query_string; $posts = query_posts($query_string.\'&posts_per_page=1&order=ASC\'); ?> <?php if (have_posts()) : while (have_posts()) : the_pos