【发布时间】:2014-06-03 09:38:40
【问题描述】:
我在这个网站工作 My Site 。在主页中,我使用以下代码调用了页面的内容
<?php
$id=48;
$post = get_post($id);
$content = apply_filters('the_content', $post->post_content);
echo $content;
?>
而我的内容是
<strong>Atlanta Weekly Schedule:</strong>
Sunday Explosive Service 10am - 12:15pm
Wednesday Bible Study, 7 - 8:30pm
Friday Freedom Night (Prayer, Prophetic, Miracle & Deliverance Service), 7 - 10pm
<strong>New York Weekly Schedule:</strong>
Sunday Explosive Service 10am - 12:15pm
Wednesday Bible Study, 7 - 8:30pm
Friday Freedom Night (Prayer, Prophetic, Miracle & Deliverance Service), 7 - 10pm
正如你所看到的,我给出了两个带有标签的标题。但是当它显示在主页中时,源代码会显示代码但不显示为粗体。有人请帮助我!谢谢!!
【问题讨论】: