Skip to content

Instantly share code, notes, and snippets.

@mono96
Created June 30, 2019 14:40
Show Gist options
  • Save mono96/84efc49c624114dfa5b5c2e6f36a2338 to your computer and use it in GitHub Desktop.
Save mono96/84efc49c624114dfa5b5c2e6f36a2338 to your computer and use it in GitHub Desktop.
function my_embed_styles() {
wp_enqueue_style( 'wp-oembed-embed', '/wp-content/themes/css/wp-oembed-embed.css' );
}
add_action( 'embed_head', 'my_embed_styles' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment