Wordpress Text Widget embed video and images


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. add_filter( 'widget_text', array( $wp_embed, 'run_shortcode' ), 8 );
  2. add_filter( 'widget_text', array( $wp_embed, 'autoembed'), 8 );

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.