How to Remove WordPress Excerpts


How to Remove ALL WordPress Excerpts from the database?..

I found a method to remove all WordPress post excerpts at:

https://stackoverflow.com/questions/13257057/bulk-delete-edit-excerpts-in-wordpress

It runs in phpMyAdmin, on the SQL tab.

I selected the wp_posts folder under the database that had the relevant data.

The code I used was:

UPDATE wp_posts SET post_excerpt=” WHERE post_type=’post’

This code removed the excerpts on all posts other than on the old ‘revisions’. That was not a problem to me.

I did back up the database first, just in case it went wrong.

It is worth doing the view option first, as shown at stackoverflow, to check what will be deleted.


435.1 - 873,687
Scroll down for Comments
0 0 votes
Article Rating
Subscribe
Notify of

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x