我在wordpress中更改主题时出现此错误*无法修改标题信息-标题已由/home/mortgage/public\\u html/autoblogdemon.com/test/wp-content/plugins/test/test.php:28)在/home/mortgage/public\\u html/autoblogdemon中发送。com/测试/wp包括/可插拔。php在线866*
注意输出已开始ar测试。菲律宾比索:28
这是测试。php和第28行是第二个开口
<?php
/*
Plugin Name: test
Plugin URI:
Description: is about to leave the page. make sure you check out the demo of the plugin.
Author: Ronny Kibet
Author URI:
version: 1.0
*/
//html begins here.
function my_text_on_top(){
?>
<!-- bar starts here -->
<div id="bar">hi there </div>
<?php // line 28 starts here.
}
add_action(\'init\',\'my_text_on_top\');
插件通过在div中显示一个id为“bar”的“hi there”文本来工作。
somone能否帮助我摆脱错误,并在激活插件时更改主题。
谢谢