长话短说,我正在处理一个自定义主题,并将WP挂钩包装到所述主题等上,我注意到,在写文章/页面等时,例如我想将一个词加粗/倾斜等,应用的样式无法实现。
例如,假设我选择一个单词,单击“B”图标使该单词加粗,它在编辑器上以加粗的形式直观地显示该单词,但当我保存并预览页面时,文本是正常的。这个词上没有任何可见的样式。
我还尝试进入HTML窗格,手动应用HTML标记,如<b></b>
或<i></i>
等等,同样的,我保存并预览页面,文本看起来好像没有应用任何样式。
有什么想法吗?也许我遗漏了什么?任何提示,链接等我谦恭感谢。
提前感谢。
***编辑:这是我当前的wp post循环
<?php
while( have_posts() ) : the_post() ?>
<div class="post">
<h3 class="entry-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
<div class="entry-content"><?php the_post(); ?></div>
<div class="entry-content"><?php the_content(); ?></div>
</div>
<?php endwhile; ?>