How to limit uploads in discussion board to only PDFs?

Replies
1
Voices
2
Freshness
Followers

0

Is this possible to do? We want users to be able to upload a PDF, but not images. Should I program this via javascript or is there a setting/code-change to enable this?

  • Hi mraphael! I'm afraid we haven't added that feature just yet. In the meantime, you may customize your php file to filter media upload file type. These forums might help; https://wordpress.stackexchange.com/questions/71677/limit-upload-file-type-on-one-custom-post-type, https://wordpress.stackexchange.com/questions/18114/restrict-file-uploads-by-extension