James Shiers
asked 3 years ago

Can you please add back the featured image option to the DWQ&A plugin.
Additionally the plugin kills any shortcodes or Ads being used on the plugin pages. You should be able to use shortcodes on the page outside of the plugins content!

1 Answers
DominicStaff
answered 3 years ago

Hi,
I think you have confused about the plugin. 
Our plugin does not support the feature image options from publishing and the plugin won’t add this option. If you want to have it, I can help you custom the plugin.
About the shortcode, you can use the following code to allow use shortcode in the single question page: 

// Enable shortcode in single question. 
add_filter( 'the_content', 'dwqa_enable_do_shortcode', 10 ); 
function dwqa_enable_do_shortcode( $content ) { 
   global $post; 
   if ( isset( $post ) && ( 'dwqa-question' == $post->post_type || 'dwqa-answer' == $post->post_type ) ) {
      add_filter( 'the_content', 'do_shortcode', 11 ); 
   }
   return $content; 
}    
Powered by DW Question & Answer Pro