Enable HTML Tags in Wordpress Post excerpt

admin2025-03-25  9

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.

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1742845006a212988.html

最新回复(0)