0
我製作了一個插件,用於將標題從我的wp站點導入到vb論壇標題,以便用戶擁有一個通用標題。在我的標題模板在vb論壇中調用插件的錯誤是將wordpress標題導入vbulletin
Fatal error: Call to undefined function language_attributes() in /home/alhussai/public_html/wp-content/themes/Karma/header.php on line 2
任何想法如何解決這個問題?
我們可以看看你的代碼扔錯誤? – Deekor 2012-07-26 15:39:03
ob_start(); require_once('/ home/alhussai/public_html/wp-content/themes/Karma/header.php'); $ php_include = ob_get_contents(); ob_end_clean(); vB_Template :: preRegister('Test',array('php_include'=> $ php_include)); – Chris 2012-07-26 15:50:19