Plugin is shipping two custom blocks “Download Button”. Static and Dynamic.

Dynamic Button
Is no more then permalink to your download file. Use it in Query or in the single post template where you instead of getting link to the post you will get link to the post => download file.
Static Button
With Static Button you will get option to manually choose download file. You can use it anywhere on the website where you want fetch download file.


Secure download links
Both buttons link to a secure download link (/hoster-secure-download/?token=…), not to the file's direct URL. This keeps the uploads path and version number hidden, and the buttons keep working on servers that block direct .zip URLs.
- Files stored in the uploads folder are sent from disk with the correct file name and size.
- An invalid link returns a 403 error, and a missing file returns 404.
- Each IP address can download up to 1,000 times a day. Change the limit with the
hoster_max_downloadsfilter:
add_filter( 'hoster_max_downloads', function( $limit ) {
return 5;
} );
Styling Button
You can style it same as any other block, just go the second “Styles” tab and you will find settings for:
- Color
- Text
- Background
- Typography
- Size
- Decoration
- Font family
- Appearance
- Line height
- Letter spacing
- Letter case
- Dimensions
- Padding
- Marging
- Border
- Border
- Radius
Styling options are the same for the Dynamic and Static Button.
