When we built some tob sites, for example, I helped someone make photography equipment earlier. The photography lights or lighting lights of the photography equipment will have some parameter descriptions. It needs to have some PDF files to display to customers, including some attachment compression. Package, at this time, these files need to be displayed in the product, or shown in the article. We call this the file download type. Of course, there are some files that you may need to purchase before you can see them, like this We need to use the file download plug-in to implement the function.
Introduction of WP File Download plugin:
First, we can examine one of the functions of downloading this file and its displayed effect.
Let’s take a look at the demo. Here, we can see that it has multiple styles to display. For example, the first one we see is on the left. You can see that there are different categories, main categories, and sub-categories. There will be some download files in each category, and this plug-in also provides various styles. This is another style. It provides 5 styles, so you can see these download files in each style. This is displayed uniformly through categories.
There is another way. For example, when we add details to some product pages, we need to add a downloadable module to the details. You can also separate this module and add it to your details. Page, or put it in your article page, these are all fine.
We have prepared this plug-in for everyone. Its current version is 5.9.5, and its extensions are also provided. Below, we will demonstrate how to install and use this plug-in.
WP File Download plugin installation:
Similarly, we install this plug-in and click to upload it. Here, we select the highest version directly and click to open. After installing the plug-in, we activate it after the installation is successful. There will be an error description below. This is because of a certificate of the template we are using. We don’t need to worry about it. We activate the plug-in directly.
WP File Download plugin to use:
After activation, at the bottom of our function button, we can see a WP file download. We then click to open it, and we can see some files in it.
The function on the left allows you to set some categories. For example, we create a category directory. Of course, you can write the name of this category directory casually, so this is the main directory. If you want to create a subdirectory, you just select one directory and then add it based on it. Then, of course, you can drag it and make it its subdirectory. Then, in each directory, you can add files. This is the one we added before. document.
The two buttons below are the locations where it uploads files. For example, in the first one, you can select the entire file and put it in. Then, the second one is a separate file. For example, if we put a compressed package and click to open it, the upload will start here. But everyone needs to pay attention here, because all the files we upload now are placed in It’s inside our server, so try not to upload too large a file. We can upload a smaller file here. For example, if we upload a picture, it will be uploaded quickly.
After the upload is completed, we can see the file format. For example, what we uploaded is a PNG image, and then below is its title, its file size, and the upload time. Then you can also do it on the left, such as, Say we don’t want to display its title, we can turn off the title, and then if we want to modify this file, we just right-click. Then there is a copy or cut inside; you can cut it to another directory, or you can also delete it or download it.
The next one is editing. In editing, we can edit the file’s name or add some descriptions and then add some versions, especially when we have some apps that need to be downloaded by others. It will have a version number. You can fill it in this position. Of course, you can also add a tag to it. Tag is mainly equivalent to classification. You can call it through tag later.
Then you can also modify the time. You can also set a password for it. Only by entering the password can you view the file and then the number of times the file has been viewed. In addition, you can also update the file; for example, You upload a new file to replace it, and it will also generate a link. We can see through this link format that it uploaded the file to our root directory and created a new download folder. Put it here, and then after modification, you can save it or close it. This is its primary function.
Of course, in addition to this function, we can also look at other statistics. It can tell you which files are there, how many people have downloaded them, and how many have viewed them. Then, you can also see these based on time and the status of the file download.
The next one is the tag we just mentioned; you can set a tag for each file you upload. After setting it, it will be the same as our category directory and the same as when we published articles and products before. It will have an additional classification action, which is tag.
Then, the next one is for our icon, and you can make a setting.
After opening it, we see the first setting icon for our icon. You can set our icon to SVG, the machine’s format, or you can set it to PNG format, according to your needs. This icon is actually what we see now when we display it. You can use the default icon or upload a small icon of your own. You can also edit it to edit the icon. , for example, to modify the color and size of the content displayed in its icon. On the right, you can also switch the icon to display it as other icons. Then there are some extensions below: the content displayed under the icon. You can also change It modifies its extension, and then the display format of the icon. For example, we now display it in a file format. In this state, it can also be displayed as a prototype, or it can be defaulted.
The last one is for example, if you have rounded corners, then you can set the size of the rounded corner and the size of its border. For example, if we add a border to it, then there will be an extra border here. The color of the border, its background color, etc., you can also add a shadow to it, this is mainly for icons. Then, the settings are much more straightforward. You can just upload your icon here. For example, I can change it to a QQ. Then, if we use a compressed package, it will be directly displayed as a QQ status. Our default is also ok. For example, the display format of this PDF is also very beautiful.
The following is a display status for each file. After each file is opened, an icon is displayed on the left, its title on the right, and its content below. Its file size, upload time, and update time are also displayed below. Version number, etc., a download will be displayed below. Users can also preview the icon. This is its display status. Of course, you can also add some custom CSS.
For example, if you don’t want to display it, you don’t want to display its icon. , then you can turn it off directly here, and it will not display the icon. Or if you don’t want to display the preview, you can also turn off the preview.
This is to modify the display format of each downloaded file.
The last setting is for global settings. For example, which files are supported by the files you upload? For example, if there are compressed packages, some CSS files, or PNG files, then if you want to add more files as For our attachment, just add an English comma here and more suffixes.
The other one is our files, which will display their suffixes. For example, the files we upload now will not display the suffixes, but if you turn them on, they will.
Then, there are some other settings below. For example, we can enable the category directory or other settings. You can default to these settings without setting them, including the search module. We can also add it. , including some search suggestions and a search cache. The following are some settings for its template style.
It provides 5 templates here, one of which is the effect we just saw. For example, the first one is the default template. If you call a category, all its downloaded files will display this effect.
The second is to display this style, the third is to display the table state, and then the fourth and fifth, then you can modify this style here. For each style, you can change it. Screenwriting, including adjusting its font size, whether to display the title, whether to display the description, etc., including its background color and the background color of its link when downloading, you can modify these in Normal style.
Then in addition to these 5 templates, you can create a template separately. Of course, for this template, you first need to copy a template. For example, we copy a template here. After copying, you can target this template. Set the style for it separately, and later all your categories will be displayed according to this template format.
There are some other ones below, such as its shortcode. Here is the shortcode. For example, it can be called to display a button for uploading attachments to our front desk. Then, there are some shortcodes below. This shortcode will contact one of our categories and display all attachments. Of course, we will not use the shortcodes here under normal circumstances. We will use Gutenberg or elementor directly because this plug-in is compatible with it. For elementor you can call it directly in elementor.
The next one is that if you have a lot of attachments, you can upload them all at once or directly to a file.
There are some other settings below. The next one is for our emails. For example, if someone downloads our file, we can email it here. What is displayed here is the name of your email and the email address to which it was sent. The following is a reminder. you can display and tell the author, and then the customer can see which file and which site they downloaded. Generally, we can use this email by default.
Normally, when someone downloads a file, we don’t care about it. The next one is the rules for it. We are now downloading the file plug-in and the wp file download plug-in, so who will manage this plug-in? For example, we can set a rule for some users. For example, administrators can see all content, and editors can see other content. You can edit the permissions for these.
Another one is the download limit. We can limit the download content of some files. For example, some registered users can only download two or three per hour. You can make sure of it yourself. After setting it up, then save it directly. This is because its settings are very simple, and you can set it up by default. Okay, we mainly look at how to call this file and display it at our front desk.
There are two ways to do this. The first is when we publish a page. For example, we create a page and write a name for it. Then, we use Gutenberg and click the plus sign directly. Then, we search for the file, and we see that it has three modules.
The first module calls a category directory, the second calls a particular file, and the third displays our search box directly. For example, we are now going to call a category directory so that after adding it, we need to Select a category; for instance, we will select the default new category and then publish it. After publishing, we can check our page. In this download, we can see the two attachments contained in our directory. Of course, An upload module is also added below it, but we don’t need this module under normal circumstances. This is the first one. Let’s delete it first.
In the second module, we search the file in the same way. This is for a certain attachment. For example, we select an attachment that we have uploaded before. For example, we select a picture and insert it so that it can be inserted and then published. Now, Let’s refresh it again. This is a separate attachment. Then, you can add the attachment to the details of our product or to our article.
Of course, the attachment style was modified in the icon section just now. Here, you can modify the display style of each file, including whether to display the icon and whether to display the preview. If there is a preview, we will save it. After saving, we will refresh this page.
There is an extra preview here, so the user can check the file before downloading it. If it is a picture, it will be displayed directly. If it is a document or Excel, it can be displayed directly online or as a PDF. If it is compressed, the package cannot be displayed, and the compressed package cannot be displayed. It can only be seen after downloading.
Then, in addition to adding this module, of course, we can also add a search box, add a search box, click Save, and then refresh our page. There will be an additional search box below it, including a filter, but After you click on the content in each module, you can set it in Gutenberg. For example, I do not display the filtering of categories, tags, or the filtering of time, update time, etc., or I can turn off paging. After turning it off, if you refresh the page, it will not have this filtering module. It will only have a search module.
This is one of its methods. When we edit a product or an article, we can separately insert the attachment of the category directory or the module of a certain attachment.
Another way is to insert it directly into the elementor because this download plug-in is compatible with the elementor.
In the same way, after opening, we search for a file here. We see that there are also three modules here. For example, we directly call a certain file and put it in a location. After adding it, we click to select a file. We also enter the file library in our background. For example, let’s select the second one, insert it, save it, and refresh it. There will be another file below, which is called through elementor. of.
Of course, the elementor extension plug-in we installed before adds the following module. You don’t need to worry about it. In fact, this module only adds this content. You can select a file, and then the title still needs to be modified in the background. This is the first module.
Then, the other things are the same. For example, we call a category directory, drag the category directory directly, put it in, and then select a category directory for it. For example, we call a new category and then insert it. Click save, and then refresh. Here, we can see that this category directory has also been called in. This is a method of using the WP file download file download plugin.