WP Manifestindependent plugin directory
manifest / media / wp-attachments-only

Attachments Only

Replaces the default WordPress media view, only allows adding, deleting and rearranging media attached to a post.

by Barry Ceelen · github.com/barryceelen/wp-attachments-only · website

1stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/barryceelen/wp-attachments-only/archive/refs/heads/master.zip

Declares an update source (https://github.com/barryceelen/wp-attachments-only), so updates arrive through the plugin's own updater.

From the readme

Attachments Only Sometimes you don’t need all the bells and whistles of the WordPress attachment media view. For instance when you'd want all media files related to a post to actually be attachments of that post. This plugin takes that to the extreme and replaces the default WordPress media uploader view with a simplified version: it only allows adding, removing and rearranging attachments to a post. Gotchas: The plugin in its current state is, due to my lack of experience with the subject matter, a bit of a hack and could use some improvement: - Currently disables uploading attachments by dragging them onto the tinymce editor. - As the default media viewer is replaced, any plugins extending that will not work. - Ideally a future version would optionally allow all other default actions like inserting media and galleries, except when using unattached media files. Look ma, no settings! However, you can modify the post types it applies to, the media button label and the media view title via hooks, for example in your theme's functions.php file: Add supported post types Filter strings

Read the full README on GitHub →