[Resolved] Statistics over file downloads and protect with password
The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.
This support ticket is created 7 years, 6 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.
You have a custom post type and a custom field assigned to that post type which is a file, yes? So when posts of that type are displayed, a link to the file is output, yes?
Regarding the question of password protection first.
You cannot add password protection to individual fields from particular posts, but you can add password protection to the individual posts themselves. That is done on the post edit screen (and is a standard WordPress feature), see screenshot.
Regarding collecting download stats, that is not something Toolset is equipped for.
You might be able to use an existing analytics solution such as Google Analytics, or set up some custom code on your server to track requests for files, or add some custom Javascript on the front end to track clicks on the links.
Or you might want to use a 3rd party plugin that is dedicated to managing file downloads, such as https://wordpress.org/plugins/download-manager/, although may entail changing your set-up somewhat from how you currently have it.
The forum ‘Types Community Support’ is closed to new topics and replies.