我的目标是unescape the string.
那么,我该如何在Wordpress中做到这一点呢?假设我有下面的整个字符串:
He said, “This is how it works...”
我似乎找不到内置的Wordpress函数来取消浏览“
和”
. 如果在上使用unescapethe_title()
(很抱歉之前没有指定)。在rss提要项上,我有以下代码,其中the_title()
不应被替换:
<item>
<title><![CDATA[<?php the_title(); ?>]]></title>
<link><?php echo get_permalink(); ?></link>
<date><?php the_time(get_option(\'date_format\')); ?></date>
</item>