Allow PDF upload for a comment to a question?
Thanks Rahul. I did find the code to add it to the question, but the upload field does not appear in the comments section. Do I need to add something? I think the best solution is to allow the upload for the Post an Answer. Is it related to the
add_filter( ‘ap_question_form_fields‘, ‘my_custom_question_field‘ );
Do I need to list the comment and post answer fields? If so, what are they called? Sorry, I am familiar with php, but not writing from scratch. Thank you for your help.
Thank you Rahul. Will you comment on this thread once the doc has been created. Again many thanks. I think this is a good feature as users who are responding to a question with an answer may want to add a supporting document (PDF) to their answer. Of course they could use Dropbox or Google Drive and provide a link in their answer, but allowing them to upload a PDF in their Post Answer would make it very simple.
Can you create an option “insert pdf files”
I agree with Michael Winn.
AnsPress form API does not auto save anything. You have to process upload by yourself. But all codes still exists in AnsPress. More people have requested this so I am writing doc for it.