File upload problem

questions page show zero answer

Anspress>options>Tools>Re-count> click one by one Recount Votes Recount Answers Recount Flags Recount Subscribers Recount Reputation Views then visit website refresh questions page, if it not work then logout and re-login, one more time repeat same process. Bro select this as best answer.. so in future if anybody search he will get solution. 🙂

Featured image field for questions

I’d really like to do exactly this also. @Rahul could you tell us briefly the current best way please? I’ve seen your (now 3 yr old) gist: Add featured image support in AnsPress question.. not sure if still relevant? If so where to put that code and how to make a form field for it show in the front-end please? I’ve read your post on the new Form and Validation API. I don’t know where to add the code (I’ve read your page on Overriding and customizing AnsPress, but still not clear… which file to override?). In any case, this seems to be adding completely new fields, rather than simply using the standard WP ‘featured image’ field. I’d prefer to use the standard WP ‘featured image’ field as then the image will show easily in other plugins (as OP mentions). Thanks, and thanks again for the amazing plugin!

Impossible to modify tags

Same problem. They said it should be fixed in the next update. https://anspress.io/questions/question/before-asking-question-i-answered-2-3-posts-hope-i-also-get-answer/#/comment/26466

Images not loading

No worries – it works fine.

Migration

Hello Emmett, Yeh, there are some complications in this situation. If you use wordpress post export you may miss some post meta which are created by AnsPress. Best way would be Copy the required tables from mysql and import it in your mature site. Yes, I’m available for hire if you need me to do that. Thanks

File upload problem

Hi Rahul. Here is the snippet you asked to see:

File upload problem

Hi Rahul, Thanks for the code. My developer has come back with this: ‘Whenever I add any code for extra field functionality it generates one text filed ‘AnsPress Input Field’. It does not belong to the code and has different label code. Everytime it say text filed. no upload field displays and the label is also not changing. I found where it is comes form ‘/lib/form/class-input.php’ when i give this function subtype => ‘file’ not working I have attached 3 screenshots. I tried with the newest code you provided but no luck.’