Archived topic
mass delete image in posts
1 reply · Started by Rafael on September 12, 2022
Hello:
As I have migrated from joomla to wordpress.... and posts (about 12k) comes with an image and another shortocode that I dont need anymore..
Is it posible to delete those images running a sql code in the database??
For example: I want to delete all images with name = jurisprudencias in posts with categoy_id = 126 ......
and besides I want to delete this code: {show access=”Registered”} in posts with categoy_id = 126
Apreciate your help.
Rafael
Hi Rafael,
The theme doesn't have a built-in function like this, nor does WordPress.
I found this topic that might help:
https://stackoverflow.com/questions/68227674/how-to-remove-multiple-html-tags-containing-certain-text-strings-from-a-wordpres