How to Remove WordPress Excerpts

ai2

How to Remove ALL WordPress Excerpts from the database?.

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


These Adverts help to pay for this site.

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’


Agoda HolidaysAgoda HolidaysThese Adverts help to pay for this site.

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.


86.1 - 546,372
DreamHost

Scroll down for Comments
0 0 vote
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