|
| Add a "Download" button to your posts, pages or custom post types. This button will then create a zip file of the post attachments. Wordpress Tutorial |
|
Noted That:
|
|
Start the Tips:
Step-1 : Download " zip-attachments.zip " to Your Local Computer. Step-2 : Then, Login to your " yourdomain.com/wp-admin " Dashboard.
Step-3 : Then, Click on " Plugins " + " Add New " from left Side Menu of Dashboard.
Step-4 : Now, Click on " Upload Plugin " button.
Step-5 : Now, Browse " zip-attachments.zip " Downloaded plugin from your computer, Where you downloaded " zip-attachments.zip " According to Step – 1 Above then, click on " Install Now "
Step-6 : Now, Click on " Active Plugin "
Step-7 : Then, See left Side Menu. " Zip Attachments " folder is added on left Side Menu. Now, Click on " Zip Attachments " folder. Noted that: If you do not see " Zip Attachments " folder on left Side Menu then, see at left Side Menu " Settings " or " Tools ". Step-8 : Now you configure yourself oR Watch video tutorial below about Zip Attachments Configurations and Settings or How to work " Zip Attachments " in your WordPress site. oRAfter Activated Plugin According to Step-6 then,
|
| Guide |
|---|
|
First of all activate the Plugin, then you have three choices: Functions.phpYou can show the button after all your content (posts, pages, custom post types) by pasting this snippet at the end of your functions.php file of your theme:
Single.php (or similar)Alternatively you can print the button only in certain parts of your theme. Paste the following snippet wherever you want them to show. Be aware, it should be within the Loop .
ShortcodeFinally you can use the shortcode inside your post content like so:
As you can see you can use your own text, the default value is “Download Attachments”. Download CounterEach method has a download counter, you need to add additional parameters: A)
B)
C)
NOTE: the default counter format is |
| Name |
|---|