1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[Wordpress Help] How to Bulk Delete Posts??

Discussion in 'Blogging' started by satyawrat, Nov 30, 2016.

  1. satyawrat

    satyawrat Jr. VIP Jr. VIP

    Joined:
    Jul 8, 2009
    Messages:
    1,112
    Likes Received:
    1,386
    Occupation:
    Hustler
    Location:
    Gurgaon
    Home Page:
    I have a lot of posts on one of my blogs.
    The problem is a lot of them are very small posts, like below 100 words.

    How can I bulk delete posts based on word count?

    I want to delete all WP posts that are below 100 words.

    I don't mind playing around with a bit of PHP if I have to. I am not a programmer though. I can only play around with code if I have a rough framework or example code to look at. I have zero WP dev experience.
     
  2. articlewritingwork

    articlewritingwork Jr. VIP Jr. VIP

    Joined:
    Apr 19, 2016
    Messages:
    539
    Likes Received:
    58
  3. satyawrat

    satyawrat Jr. VIP Jr. VIP

    Joined:
    Jul 8, 2009
    Messages:
    1,112
    Likes Received:
    1,386
    Occupation:
    Hustler
    Location:
    Gurgaon
    Home Page:
    I think I did try it. I did a fair amount of experimenting and googling before i created this thread.
    Going to try it again just in case this is a different plugin than the one I used. Will report back.
    Thanks. :)

    EDIT: This allows me to delete posts based on content. For example I can delete all posts which contain the word "harambe" but it cannot delete posts based on word count :(
     
  4. satyawrat

    satyawrat Jr. VIP Jr. VIP

    Joined:
    Jul 8, 2009
    Messages:
    1,112
    Likes Received:
    1,386
    Occupation:
    Hustler
    Location:
    Gurgaon
    Home Page: