SWG Downloads
Downloader plugin for WordPress
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/ohiowebpro/swg_downloads/archive/refs/heads/main.zipSimple downloader based on ACF and Bootstrap intended for wordpress theme developers
Description
This plugin uses ACF and bootstrap 5. You must have the ACF plugin installed and be using Bootstrap 5 in your theme, as it does not load either.
After uploading a download, you will see the shortcode on the list page to include in a page.
You may also put downloads in categories and include the whole category with the shortcode format:
[swg_downloads cat="cat-slug"]
You can also set columns:
[swg_downloads cat="cat-slug" col="3"]
You can set the bootstrap breakpoint:
[swg_downloads cat="cat-slug" col="3" break="sm"]
You can override the bootstrap container with container attribute. If empty it will add container.
[swg_downloads cat="cat-slug" col="3" break="sm" container="container-fluid"]
You can add row classes to the row with row_class attribute.
[swg_downloads cat="cat-slug" col="3" break="sm" container="container-fluid" row_class="justify-content-center"]
You can override the view templates in the views folder by placing multiple.php or single.php in you theme in the directory /swg_plugins/swg_downloads/
You can also set a custom template to use with each shortcode by putting it in the directory /swg_plugins/swg_downloads/ and passing it in the shortcode like this:
[swg_downloads cat="cat-slug" col="3" break="sm" container="container-fluid" row_class="justify-content-center" template="my-template.php"]
Using ACF Pro will give you a width and height in the Theme Settings. After changing the size, you must regenerate thumbs with an image regen plugin.
Frequently Asked Questions
Who is this plugin for?
Developers who use Bootstrap and ACF in custom themes
Screenshots
Changelog
1.0
- First version
1.0.12
- Single page fix