最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Enable HTML Tags in Wordpress Post excerpt

programmeradmin24浏览0评论
This question already has answers here: Allow HTML in excerpt (3 answers) Closed 22 days ago.

I did anyone know how I can enable HTML for the Post excerpt, that I can make some parts of that big?

This question already has answers here: Allow HTML in excerpt (3 answers) Closed 22 days ago.

I did anyone know how I can enable HTML for the Post excerpt, that I can make some parts of that big?

Share Improve this question edited Jan 3 at 15:13 bueltge 17.1k7 gold badges62 silver badges97 bronze badges asked Sep 16, 2018 at 13:17 ocramocram 154 bronze badges 2
  • I think THIS is what you're looking for. – RiddleMeThis Commented Sep 17, 2018 at 13:18
  • 3 This question is similar to: Allow HTML in excerpt. If you believe it’s different, please edit the question, make it clear how it’s different and/or how the answers on that question are not helpful for your problem. – bueltge Commented Jan 7 at 7:26
Add a comment  | 

1 Answer 1

Reset to default 0

Not sure if I understood your question correctly, but in the codex it reads:

If adding the excerpt manually, you may use (some) HTML formatting and the tags will not be stripped.

So if the only thing you want to do is make part of the text bigger, just add for instance:

example text <span class="bigger-text">example bigger text</span> some more normal text

And make font-size of .bigger-text larger than the normal.

发布评论

评论列表(0)

  1. 暂无评论