I tried the example in this link https://codex.wordpress.org/Function_Reference/wp_embed_register_handler but it didn’t work. This is my whole code: add_action('init', function() { wp_embed_register_handler( 'forbes', '#http://(?:www|video)\.forbes\.com/(?:video/embed/embed\.html|embedvideo/)\?show=([\d]+)&format=frame&height=([\d]+)&width=([\d]+)&video=(.+?)($|&)#i', 'wp_embed_handler_forbes' ); }); function wp_embed_handler_forbes( $matches,...
  • May 9, 2022
  • 0 Comments
I’m trying to allow “author” users to embed in posts. I (the administrator) can iframe, embed, etc…., but authors can not. Can someone show me to give authors ‘just’...
  • May 6, 2022
  • 0 Comments
hey guys, when posting a youtube video link in the backend (in a post or a page) wordpress is automatically creating the embed code for me. Is it possible...
  • May 6, 2022
  • 0 Comments
I am trying to embed a Ted talk video using the shortcode: [ted id=myid] But it’s not working. It shows the text instead of the video. Is there any...
  • May 4, 2022
  • 0 Comments