Vladimir Lipov
asked 5 years ago

Hello

Can I do something to allow users posting YouTube embed code in the answers?

1 Answers
Allen
answered 5 years ago

Well, at this time, you can try using plugin that provide shortcode for youtube ( like this one: https://wordpress.org/plugins/youtube-embed-plus/ ). Then you can use the short code to embed the video.

And add this code to your theme file : functions.php : add_filter( ‘dwqa_get_content’, ‘do_shortcode’ );

Powered by DW Question & Answer Pro