Support » Fixing WordPress » Purge all excerpts

  • Resolved ivancastell



    In the past I used to type myself the excerpt for my posts. Now, as I’ve moved to another theme for my blog and I don’t need them anymore, I’ll like to purge/remove them all from the database. Does anyone knows if this can be done, and how can I do it?



Viewing 2 replies - 1 through 2 (of 2 total)
  • 1. Backup your database
    2. Make sure step 1 is done!

    Then, assuming your wp-config.php $table_prefix is ‘wp_’
    3. Use phpMyAdmin and the SQL command:
    UPDATE wp_posts SET post_excerpt = '';

    Thanks you so much, it worked 🙂

    Of course, I did the backup before, I’m a cautious man.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Purge all excerpts’ is closed to new replies.