Php WordPress移动到外部

Php WordPress移动到外部,php,wordpress,social,Php,Wordpress,Social,我的Wordpress single-post.php文件中有以下代码: <p class="author-date">by <a href="#author-box"><?php the_author(); ?></a> on <?php the_date(); ?> <span style="display:inline-block">| Share this article: <?php echo wpfai_s

我的Wordpress single-post.php文件中有以下代码:

<p class="author-date">by <a href="#author-box"><?php the_author(); ?></a> on <?php the_date(); ?> <span style="display:inline-block">| Share this article: <?php echo wpfai_social(); ?></span></p>
知道为什么会这样吗?没有线索…

HTML不允许元素显示为元素或元素的子元素


通过将元素移到外部,浏览器正在从错误中恢复。

哦。。。我不知道浏览器会做这样的修改。。。很高兴知道。将替换为div。谢谢!
<p class="author-date">by <a href="#author-box">Author Name</a> on Post date <span style="display:inline-block">| Share this article:</span>
<ul id="social-buttons">...</ul></p>