Automatically insert H2 on h2 tags on WordPress post


I have just migrated my websites from HTML to WordPress version.

I have saved all my Posts on a txt file. Now after I imported to WordPress all the HTML (h2 and h3 ) tags inside the contents of the post are missing

Are there any WordPress plugins or any codes, that can automatically add h2 or h3 tags to my post paragraphs based on word counts, single sentences, or Question Mark?

Example of my posts:

Lorem Ipsum is simply a dummy text of the printing and typesetting industry. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages

Where does it come from?
Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney Colleg

Why do we use it?
It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout.

Where can I get some?
There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don’t look even slightly believable.

I want to auto add h3 or h2 tags on the single-sentence paragraph that ends with a Question mark. But I have about 5K posts from 2015 to date and it is literally impossible to add them manually.

Any help is really appreciated.

Unknownman 2 weeks 2022-01-15T07:20:26-05:00 0 Answers 0 views 0

Leave an answer