Translation - Μετάφραση

Resources, Technical Assistance and Technology News => Translator resources => Tips on Using Computers => Topic started by: spiros on 28 Apr, 2022, 20:24:10

Title: Add youtube videos (or other embeds) in Wordpress category description
Post by: spiros on 28 Apr, 2022, 20:24:10
Add youtube videos (or other embeds) in Wordpress category description

In your theme's functions.php add this filter at the end of the file:

Code: [Select]
add_filter( 'term_description', array( $GLOBALS['wp_embed'], 'autoembed' ) );