I want to remove certain shortcode and text that I manually placed in all my posts from the start but I really don't want to go through every post and remove it manually if I don't have to.

The shortcode is a for an ad and the text just says advert. I just want to remove it from every post if possible.



Simply follow these steps:

  1. Export your database, save a duplicate of it
  2. Open the database in a text editor, I use Sublime
  3. Search for that [shortcode] and text and remove those (can replace them with a backspace or anything else you want)
  4. Save that edited database
  5. Create a new database and upload this new data file to it, then link your site to it (I recommend this so you can go back to the original database if something goes wrong)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.