Convert WordPress.com embed links to normal embeds

I’ve given the task of moving several well established blogs from wordpress.com into an independent hosting using WordPress. WordPress.com uses a special parser for taking stuff like this: [youtube=http://youtu.be/JN3n34dS] and converting this to a YouTube embed (for example, this happens with other links too, such as Google Maps, etc). Is there a systematic way to … Read more

Should I use custom post types for a front page video feature (vimeo)?

I’d like to create a front page video feature that embeds a vimeo video of the users choosing. I’d like the user to only have to input the video code. For instance, for http://vimeo.com/24474320 – I’d like them only to have to input “24474320”. Should I use custom post types for this? If so, how … Read more

use of tag into wordpress

Hi i’m trying to upload a svg map to my wordpress website. I fixed all to be able to upload svg trough the media gallery but then when i try to write the tag into the page it won’t recognize it. I can only use it embedding it into a tag… but i can’t do … Read more

Hiding Comments Icon On oembed

I need to hide the comments icon on oEmbed widgets or disable the comments icon feature completely. I’ve been looking at the following links: https://developer.wordpress.org/reference/files/wp-includes/embed.php/ https://core.trac.wordpress.org/browser/tags/4.5/src/wp-includes/embed.php What I came up with after thinking for a while was this. I feel its a bit hacky, however it works. I copied the code from the_embed_site_title() and added … Read more

Embed WordPress Admin in an iframe

I am trying to embed the admin “new post” WordPress page into an iframe: <iframe height=”500px” frameborder=”0″ width=”740px” src=”https://wordpress.stackexchange.com/questions/33458/my_wordpress_domain/wp-admin/post-new.php”/> For some reason the iframe loads a blank page. The link itself works in a separate tab and so does the wordpress home page. Is this a security issue, if so, how can I circumvent it? … Read more

How do I embed in a text widget?

I’m trying to embed a YouTube video in a Text Widget and WordPress 4.0 is stripping out the embed when rendering. For example, if I put this in the body of the widget: Before After then when I inspect the div in the browser I end up with this: <div class=”textwidget”>Before After</div> How can I … Read more

How to change WordPress embedded player size or show just the play button

Even though I tried to alter the width of the embedded player size The audio embed handler is registered within wp_maybe_load_embeds() and filtered through the wp_embed_handler_audio filter. So within WP_Embed::shortcode() this generates to: so some of the methods mentioned here for the shortcode should work. Since we are using the Output: Play button: Pause button: … Read more