Does the latest beta include the ability to upload a cover image / featured image
You can modify “question CPT arguments” in post_type.php
path: anspress-question-answer\includes\post_types.php
about line 69
$args = array( 'label' => __( 'question', 'anspress-question-answer' ), 'description' => __( 'Question', 'anspress-question-answer' ), 'labels' => $labels, 'supports' => array( 'title', 'editor', 'author', 'thumbnail', //add this thumbnail 'comments', 'trackbacks', 'revisions', 'custom-fields', 'buddypress-activity', ),
and you can upload thumbnail at wp-admin new question page.
Add this filter:
https://gist.github.com/rahularyan/c86ad0dc10ad79a48ec1
Now you can add featured image in post edit page in wp-admin. You need to add
the_post_thumbnail();
in question.php
Manju_Negi commented
Sry can you please give complete absolute path in which question.php there are many question.php in anspress-master
Simply copy this code to you theme functions.php