Wordpress 尝试应用特色帖子幻灯片wp插件时出现fatel错误

Wordpress 尝试应用特色帖子幻灯片wp插件时出现fatel错误,wordpress,Wordpress,尝试在“我的模板”页面中应用此插件时出错 像这样:- 致命错误:在中调用未定义的函数get_bloginfo() /wp content/plugins/featured posts slideshow/featured-posts.php on 第2行 请帮我处理一下急事,谢谢 尝试使用以下代码而不是include函数: include (ABSPATH . '/wp-content/plugins/featured-posts-slideshow/featured-posts.php');

尝试在“我的模板”页面中应用此插件时出错 像这样:-

  • 致命错误:在中调用未定义的函数get_bloginfo() /wp content/plugins/featured posts slideshow/featured-posts.php on 第2行

  • 请帮我处理一下急事,谢谢

  • 尝试使用以下代码而不是include函数:

    include (ABSPATH . '/wp-content/plugins/featured-posts-slideshow/featured-posts.php');
    

    如果上面没有工作,请在插件文件的顶部(即featured posts.php)添加以下代码:$serverpath=explode(“wp content”,dirname(file));包括$serverpath[0]“wp blog header.php”;