WordPress 剥离博客首页上的链接和文本格式

发布于 2024-12-18 04:14:56 字数 459 浏览 2 评论 0原文

博客文章的摘要页面(博客首页)未显示完整博客文章的正确副本格式。

例如,请查看第二篇文章中的“温哥华太阳报的文章...”:http://socialinnovationbc.ca/新闻/ 然后在此处查看完整帖子: http:// Socialinnovationbc.ca/2011/11/collaboration-innovation-key-to-social-ills/ 它已删除链接以及格式。

有什么想法如何阻止它这样做吗?

以前在 WordPress 中从未见过这个问题。

谢谢

The summary page of blog posts (Blog Front Page) is not showing the right formatting of copy as per the full blog post.

For example, look at "Article in the Vancouver Sun..." in second article here: http://socialinnovationbc.ca/news/
and then see it in the full post here: http://socialinnovationbc.ca/2011/11/collaboration-innovation-key-to-social-ills/
It has removed the link, plus the formatting.

Any ideas how to stop it doing that?

Never seen this issue in Wordpress before.

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

不喜欢何必死缠烂打 2024-12-25 04:14:56

默认情况下,WordPress 在显示摘录时会去除 html 和短代码。一种解决方法是在帖子的摘录文本区域字段中添加 html。添加到摘录元框的任何 html 都不会被过滤。

WordPress by default strips html and short-codes while the excerpt is shown. One work around is to add the html in the excerpt text area field for the post. Any html added to the excerpt metabox would not be filtered.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文