WordPress编辑器奇怪地转换我的PHP代码

时间:2014-03-19 21:16:12

标签: php wordpress

文本模式下的Wordpress编辑器将大于和小于一半的符号转换为编码格式。它还采用了以下代码:

<a href="<?php the_permalink()?>"><?php the_title(); ?></a>

并将其更改为:

<a class="mceWpPHP" title="php" href="&lt;img src=">"&gt;<?php the_title(); ?></a>

我正在使用一个名为&#34; PHP Execution&#34;这使得PHP能够在页面中使用。我不知道它是否与问题有关。

使用Wordpress执行此操作时,我无法在我的页面中编辑php。

0 个答案:

没有答案