delete attachement by categories

Home Forums Bulk Delete Addons Delete Attachments delete attachement by categories

We have replaced our forums with email based support system.

Please open a support ticket from our new support page.

This topic contains 5 replies, has 2 voices, and was last updated by  Sudar 8 years, 4 months ago.

  • Author
    Posts
  • #7609

    bin zhang
    Participant

    I just wonder if the ‘delete attachments’ feature can also be filtered by categories or any custom post type?

  • #7614

    Sudar
    Keymaster

    Hello Bin,

    Right now it is not possible to filter attachments by categories. This is in our todo list thought.

  • #7615

    bin zhang
    Participant

    Hi Sudar,

    Thanks for the quick reply.

    That’s a pity, because I need to delete one or two categories post including the images being attached. It would be really great if it can be done with your plug-ing.

    looking forward to see your update.

    cheers

  • #7616

    Sudar
    Keymaster

    You can actually do the following.

    First delete the posts. This can be done using categories or custom post types.

    Once the posts are deleted, you can delete all unattached attachments. That way if the image is used by two posts and one of them is not deleted then the image will not be deleted.

    Let me know if this solves your problem.

  • #7617

    bin zhang
    Participant

    that’s very smart solution.
    but I can’t find the option of delete all unattached attachments though. Is that under pro version? didn’t see it on the provided screenshot either.

  • #7619

    Sudar
    Keymaster

    Ability to delete unattached attachments is available as part of this add-on – http://bulkwp.com/addons/bulk-delete-attachments/

The forum ‘Delete Attachments’ is closed to new topics and replies.