Hello, Since 4.1.8 uploaded files are not added as attachment by default. If you upload file you have to manually create attachment cpt. This was done done to prevent useless post creation while uploading files. Also to make upload process easier. While saving file just create a new attachment CPT and set post parent to current question and attachment will appear in question again.
Hi Rahul, I am posting more details here. I cannot create a screenshot anymore as I updated the anspress and askbug, but your site still has this functionality here: https://anspress.io/questions/question/caching-and-anspress-4/ I am trying to achive a .model upload, and display the download links like the above screenshot. Have enabled the new mime type and allowed the upload in the plugin’s and the childe-theme’s functions. Tried to follow your FAQ, but the page is broken: https://anspress.io/resources/faq/how-to-add-a-pdf-upload-field-in-anspress-question-form/ Managed to get the github IDs from the source code, and based on that I got the upload working to a point of Anspress accepting it. Once I tried to save the custom field the site hangs https://gist.github.com/rahularyan/7bd9c10783ce07d200f67c1042f52884 Do you have a working example that I can modify to my needs? I really need to get this working in the next few days? Thank you!
I am also getting an anonymous box for the shortcode [anspress page=”user”] There is no documentation on shortcodes here anymore other than the page at https://anspress.io/resources/faq/which-shortcodes-are-available-in-anspress/ but that doesn’t really help. Does anyone have a working example of how to create this correct user shortcode page? [anspress page=user] does not work either, just get the anonymous profile appearing.
On single question page: