M
M
Maxim2016-01-06 21:51:34
CMS
Maxim, 2016-01-06 21:51:34

How to remove shortcodes from wordpress site?

Good time of the day!
Tell me how to remove shortcodes from the site.
I would delete it manually, but there are about 900 of them.
Example:

[su_spoiler title="Москва, ул.Большая красная, д.119 (пос.Малые Клыки) на карте" style="" icon="chevron" class="su-kartayandex"][showyamap address="Москва, ул.Большая красная, д.119 (пос.Малые Клыки)"][/showyamap][/su_spoiler]
[su_spoiler title="Москва, ул.Братьев Касимовых, д.22/7 на карте" style="" icon="chevron" class="su-kartayandex"][showyamap address="Москва, ул.Братьев Касимовых, д.22/7"][/showyamap][/su_spoiler]

Maybe through Mysql you can query. For example, give from "[su_spoiler" to "][/showyamap][/su_spoiler]"
Thank you.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrzej Wielski, 2016-01-06
@Maxim_1

Those who do this with 900 records should be killed :)
Joking aside...
1. Make a backup
2. Export to csv/xml
3. Replace with universal emptiness in any text editor that supports regular expressions.
4. Import the file
If everything went smoothly - praise yourself, you're done. :)

I
Igor Vorotnev, 2016-01-06
@HeadOnFire

www.wpbeginner.com/wp-tutorials/how-to-find-and-re...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question