First of all, Thank you so much for choosing WP File Access Manager.
This documentation is here to show you how you can install and use WP File Access Manager Easily and Efficiently.
For Detailed information and features of the Plugin, Please click here to go to CodeCanyon Plugin Page
To get started you need to Purchase WP File Access Manager for only $59 from Codecanyon. Click Here to Purchase WP File Access Manager If you’ve already purchased the plugin, you can continue to the next step.
After Purchasing the plugin on CodeCanyon. Go to the Downloads page
Find the Plugin on the list and click on Green Download Button
Save the zip file on your computer
Step 2: Install via WordPress Admin (wp-admin)
Please follow these steps to install via wp-admin
Login as administrator to wp-admin using your username and password
Go to Plugins-> Add New
Click on the Upload Plugin button
Click on Choose File and choose the file you just downloaded from CodeCanyon
Click on Install Now
Click on Activate Plugin once the installation is done
That’s all, and the plugin is installed on your site now!
First Things First
So now, You have the plugin installed on your WordPress Website, Congrats!
The plugin adds some custom code in your .htaccess file if you’re using apache. However, in some cases, it may fail for a few reasons like the .htaccess file not being writeable by WordPress.
If you’ve activated the plugin and added some restrictions but nothing is working, please try to deactivate and reactivate the plugin first. If that doesn’t solve the issue, please continue with the process below:
Apache Server
If you’re using an apache server, the plugin tries to automatically add some code to your .htaccess file. If your .htaccess file is not writeable by WordPress, these rules will not be added automatically, in that case, you need to put the following lines of code in your .htaccess file at the very bottom:
After activating the plugin, you’ll notice a New submenu item under Media called File Access Manager. Click on the menu and you’ll get a page with a few tabs. That’s the interface you’ll be dealing with to use the plugin. It’s very simple and straightforward. All the tabs and fields contain proper instructions about how things work but still here are some more details on each of the tabs and settings.
Individual File Access
The first tab is Restrict Individual Files, You can select any file or upload a new file from this interface and then set up access settings for the selected/uploaded file. Please remember, if a file has access settings assigned at an individual level, that’s the setting the file will use. Especially The ‘Require Login for This File‘ field controls most of it. So, If you want individual file settings to be ignored for any file, make sure you uncheck the ‘Require Login for This File‘ field.
However, Let’s do a test setting:
Once you’re on the page, Click on the button that says Upload or Select a File
It will bring up the media library, select any file you want to manage access for, and click on the ‘Select This File‘ button in the bottom right corner of the popup window
The page will now display additional fields to set access for the selected file.
1. Require Login for this file: Check if you want this file to be only accessible by Logged in users. Users who are not logged in will get a 404 error when they browse the file URL
2. Restrict By: You can restrict files by Users, User roles, WooCommerce ( if enabled ), and Paid Membership Pro ( if enabled). Select the one that you want to use.
3. Access Type: This setting is related to the next 2 settings (User Roles and Users). This field will tell those fields about what to do with their data. If you choose to allow it here, the roles and users you assign on the next 2 fields will have access to this file. If you choose to disallow here, the roles and users you assign on the next 2 fields won’t have access to this file.
4. Select User Roles: Select the roles that should or should not (based on the access type above) have access to this file
5. Select Users: Search and select the users that should or should not (based on the access type above) have access to this file. You can search by user’s id, name, email, etc.
6. Select WooCommerce Products: Purchasing any of the selected products will allow or disallow access to this file.
7. Select Paid Membership Pro Levels: Users with any of the selected Pmpro levels will be allowed/disallowed.
Once you’re done setting up the restrictions for the file, hit Save Changes and you’re all set! Test the file on your browser and it should have the restrictions applied.
Restrict By File Type
Sometimes, you may only want to restrict a specific file type. For example, you may only want to restrict PDF files to keep those protected and use in PDF viewer for WordPress Plugin
On this page, you can set access options for all file types you’ve uploaded to your Media Library. The plugin will check the media library and automatically generate and display the settings for each of the file types you have on your website.
Settings on this page are used when a file doesn’t have access settings at an individual level.
Settings are pretty much the same as Individual File Access Settings.
1. Require Login for this file: Check this if you want files of this file type to be only accessible by Logged in users. Users who are not logged in will get a 404 error when they browse the file URL
2. Restrict By: You can restrict files by Users, User roles, WooCommerce ( if enabled ), and Paid Membership Pro ( if enabled). Select the one that you want to use.
3. Access Type: This setting is related to the next 2 settings (User Roles and Users). This field will tell those fields about what to do with their data. If you choose to allow this here, the roles and users you assign on the next 2 fields will have access to files of this file type. If you choose to disallow here, the roles and users you assign on the next 2 fields won’t have access to files of this file type.
4. Select User Roles: Select the roles that should or should not (based on the access type above) have access to files of this file type
5. Select Users: Search and select the users that should or should not (based on the access type above) have access to files of this file type. You can search by user’s id, name, email, etc.
Once you’re done setting up the restrictions for the file, hit Save Changes and you’re all set! Test any file on your browser and it should have the restrictions applied.
Restrict All Uploads
On this page, you can set access options for all the files you’ve uploaded to your Media Library.
Settings on this page are used when a file doesn’t have access settings at an individual level or file type level.
Settings are pretty much the same as other tabs.
1. Require Login for this file: Check this if you want all files to be only accessible by Logged in users. Users who are not logged in will get a 404 error when they browse the file URL
2. Access Type: This setting is related to the next 2 settings (User Roles and Users). This field will tell those fields about what to do with their data. If you choose to allow it here, the roles and users you assign on the next 2 fields will have access to all files. If you choose to disallow here, the roles and users you assign on the next 2 fields won’t have access to all files.
3. Select User Roles: Select the roles that should or should not (based on the access type above) have access to all files
4. Select Users: Search and select the users that should or should not (based on the access type above) have access to all files. You can search by user’s id, name, email, etc.
5. Select WooCommerce Products: Purchasing any of the selected products will allow or disallow access to this file.
6. Select Paid Membership Pro Levels: Users with any of the selected Pmpro levels will be allowed/disallowed.
Once you’re done setting up the restrictions for the file, hit Save Changes and you’re all set! Test any file on your browser and it should have the restrictions applied.
Help/About
The help/About page contains lots of information about the plugin, documentation, support, and other useful information. Go ahead and have a look at the page to see what’s there!
These settings pages that come with the WP File Access manager are available to admins only. However, in some cases, you may want to allow other user roles to be able to access this setting page and work on restrictions.
To Do that the plugin has a filter, You need to put the following Lines on your active Theme’s functions.php file:
function your_prefix_update_wfam_capability(){
return 'edit_others_posts'; // For complete list of capabilities, please head over to: https://wordpress.org/support/article/roles-and-capabilities/
}
add_filter( 'wfam_required_capability_for_admin_pages', 'your_prefix_update_wfam_capability', 10 );
You’ll get all the plugin updates from CodeCanyon. You’ll see a notification in your wp-admin if there’s a new update available. And then you can download the update from the CodeCanyon downloads page.
Regular License: Use, by you or one client, in a single end product which end users are not charged for. The total price includes the item price and a buyer fee.
Extended License: Use, by you or one client, in a single end product which end users can be charged for. The total price includes the item price and a buyer fee.
Conclusion
That’s all you need to know about the usage of the WP File Access Manager Plugin. Please feel free to let us know by support ticket if you have any questions or ideas to improve the things we provide.
Your input is important to us and we care about every single input from you.
If you are enjoying using the WP File Access Manager, you can leave us a review. It helps us to improve the product even more. You can submit an additional feature request too.
FAQ
What is the refund policy? WP File Access Manager is a product of ThemeNCode. Check out the refund policy of ThemeNCode. What payment method do you accept? This plugin is sold on CodeCanyon. You can use PayPal, Skrill (for non-US customers only), and credit cards (Visa or Mastercard), to make purchases Can I integrate the plugin with woo-commerce to add my own payment gateway? Yes. It comes with the integration of WooCommerce. Any file size limit? Any file type? There is no file size limit. It works with 30+ file types. Where can I ask a question about an item I want to purchase? Ask any queries through our support hub. Here is the link https://themencode.support-hub.io/ Can I use the plugin with WooCommerce? Yes. You can use this plugin with WooCommerce. It comes with the integration of WooCommerce Does this plugin support multisite? No. It only works on single WordPress installations.