Thread Starter
dgsa82
(@dgsa82)
yes, you can create custom attributes at Settings > General then modify your formats/layouts > events formats and do something like <a href="#_ATT{download_link}">Download file</a>
http://wp-events-plugin.com/documentation/placeholders/
Thread Starter
dgsa82
(@dgsa82)
Thanks for the help, but how should be the attribute to create a field to allow users to upload a file?
Thread Starter
dgsa82
(@dgsa82)
I guess it could be like the one to upload an image? but how i create an attribute like that one?
Thread Starter
dgsa82
(@dgsa82)
Sorry form my basic skills, but still don’t understand.
Would you please paste some code to create the attribute?
Thanks
1. create/add #_ATT{download_file} at settings > general > general options > Event Attributes and enable Enable event attributes? then save
2. add/edit events, you will notice a download attribute below the page and put your downloadable file location link
3. go to settings > formats/layouts > events format > Default single event format and add <a href="#_ATT{download_link}">Download file</a>
if you want to hide the download link when the attribute is empty, this tutorials can help you out – http://snippets.webaware.com.au/snippets/events-manager-conditional-placeholders-for-custom-attributes/