Featured image field for questions

9.04K viewsUpdates
0

Hey, is there a way to put a featured image on a question please, just like with a regular WordPress post ? (so that it shows rather than the picture of the person who posted the question for instance).

Also I am trying to use anspress on a template that uses a masonry design and that would be awesome to show every question with its featured image.

Thanks for your answer  🙂

Answered question
0

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!

Answered question
You are viewing 1 out of 5 answers, click here to view all answers.