# How to disable html tags stripping on main news page

**URL:** <https://colorlibsupport.com/t/how-to-disable-html-tags-stripping-on-main-news-page/12881>\
**Category:** Dazzling\
**Created:** [October 25, 2016, 4:54pm UTC](https://colorlibsupport.com/t/how-to-disable-html-tags-stripping-on-main-news-page/12881 "2016-10-25T16:54:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![m4xim](https://colorlibsupport.com/letter_avatar_proxy/v4/letter/m/ecd19e/32.png) [@m4xim](https://colorlibsupport.com/u/m4xim)\
**Post date:** [October 25, 2016, 4:54pm UTC](https://colorlibsupport.com/t/how-to-disable-html-tags-stripping-on-main-news-page/12881/1 "2016-10-25T16:54:54Z")

</div>

Hi, everybody. can some one explain to me how i can disable html stripping filtering html tags in main posts page,

for example i create new post with some tags youtube video. i save it and on main page i can’t see that but when i go to post it self there is everything is fine.

how can i disable this? it’s very annoying, no picture, videos or other html stuff

---

<div class="post-metadata">

**Author:** ![movin](https://colorlibsupport.com/user_avatar/colorlibsupport.com/movin/32/10922_2.png) [@movin](https://colorlibsupport.com/u/movin)\
**Post date:** [October 26, 2016, 2:41pm UTC](https://colorlibsupport.com/t/how-to-disable-html-tags-stripping-on-main-news-page/12881/2 "2016-10-26T14:41:27Z")

</div>

Hi @m4xim,

I hope you are well today and thank you for your question.

You can achieve this by adding custom excerpt along with html tags in the post Excerpt field as described on the following page.

> **[What is Excerpt in WordPress? How to Add Excerpt in Posts](https://www.wpbeginner.com/glossary/excerpt/)**
>
> Definition of excerpt feature in WordPress. How to add excerpt in WordPress posts, pages and themes.

Best Regards,  
Movin

---

<div class="post-metadata">

**Author:** ![m4xim](https://colorlibsupport.com/letter_avatar_proxy/v4/letter/m/ecd19e/32.png) [@m4xim](https://colorlibsupport.com/u/m4xim)\
**Post date:** [October 31, 2016, 11:38am UTC](https://colorlibsupport.com/t/how-to-disable-html-tags-stripping-on-main-news-page/12881/3 "2016-10-31T11:38:00Z")

</div>

can you please write more detailed, i can’t understand where is that file, where it start filtering. As i can’t understand it’s on theme’s or core’s filtering? i know that thereis content.php file there is some filters but i try them nothing happens.

by your word i understand that i need array with tags and add my html tags?

why it’s so hard, it’s looks like madness because almost everybody need pictures, videos or just html tags like ul or ol on main page.

---

<div class="post-metadata">

**Author:** ![movin](https://colorlibsupport.com/user_avatar/colorlibsupport.com/movin/32/10922_2.png) [@movin](https://colorlibsupport.com/u/movin)\
**Post date:** [November 1, 2016, 6:34am UTC](https://colorlibsupport.com/t/how-to-disable-html-tags-stripping-on-main-news-page/12881/4 "2016-11-01T06:34:01Z")

</div>

I think you have not visited the following link which explains what is post excerpt and how to use it.

> **[What is Excerpt in WordPress? How to Add Excerpt in Posts](https://www.wpbeginner.com/glossary/excerpt/)**
>
> Definition of excerpt feature in WordPress. How to add excerpt in WordPress posts, pages and themes.

Actually you don’t need to edit any theme file, you have to just copy the post content from text view of editor along with HTML code and paste it in the post excerpt field which is explained above.
