WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Purge all excerpts (3 posts)

  1. ivancastell
    Member
    Posted 5 years ago #

    Hi,

    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?

    Thanks.

    Ivan

  2. MichaelH
    Member
    Posted 5 years ago #

    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 = '';

  3. ivancastell
    Member
    Posted 5 years ago #

    Thanks you so much, it worked :)

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

Topic Closed

This topic has been closed to new replies.

About this Topic