lightboxdigital / wp-attachment-video-link
Simple script to attach video URLs to attachments - great for manual video thumbnails.
Requires (Dev)
- phpunit/phpunit: 4.8.*
This package is not auto-updated.
Last update: 2025-04-12 22:52:53 UTC
README
WordPress Attachment Video Link
License: MIT License URI: https://opensource.org/licenses/MIT
Really simple script to add a video text field to the attachment editor and then provide a straightforward way of receiving said URL.
Whilst this is developed as a plugin, it can just as easily be used through composer. The dual development approach meant that ongoing dev was more straight forward in terms of unit tests etc.
Thanks & Credits
Tom McFarlin and Devin Vinson for their work on WordPress Plugin Boilerplate Generator.
Installation
Install to your theme using composer: composer require lightboxdigital/wp-attachment-video-link
.
Alternatively install as a plugin:
- Upload
wp-attachment-video-link
to the/wp-content/plugins/
directory - Activate the plugin through the 'Plugins' menu in WordPress
Changelog
1.0.1
- Fix where composer wouldn't actually autoload the necessary file
1.0
- Completely refactored on top of WPDB.
- Added unit tests.
- Added PHPCS ruleset.