Customize your site icon for new WordPress 4.4 embeds

With the new WordPress 4.4 embed feature the posts of your blog becomes embeddable in other WordPress sites, like you do…

December 11, 2015

With the new WordPress 4.4 embed feature the posts of your blog becomes embeddable in other WordPress sites, like you do when you embed Youtube videos or Twitter tweets.

Now to embed a post, simply paste the link in your WordPress editor, this is what comes out:

Egadi. Tre Defibrillatori Automatici nelle Aree Portuali di Favignana, Levanzo e Marettimo

If you want to customize the output you can use the embed_template action hook to rewrite the html of the embed. If you simply want to change the icon in the bottom left corner of the embed. You can go to the Appearence menu and click on the Customize link, where you can select the Site Identity tab and upload an icon:

wordpress-4-4-site-icon-embed

So the icon will be visibile in the bottom left corner and the WordPress icon will be removed.

http://www.dailybest.it/funny/migliori-photobomber-2015/

Remove WordPress 4.4 embed post feature

If you don’t want that your posts are embedded in other sites, you can use a brand new plugin that is already out there and disable the embed feature.

 

 

Author

I'm a software engineer, an everyday web developer and a maker. I usually build sites with PHP, within or without WordPress. I build Internet of Things with Arduino and ESP8266. I'm the founder of Rockit.it and Dailybest.it and I'm actually the Chief Technical Officer of Better Days web agency.

Recommended

WP doesn’t send email? try this

Snippets for sending emails with Wordpress

February 8, 2020

Two post types share the same taxonomy in WordPress

Sharing a WordPress taxonomy between two post types is useful especially if you want to create a relation between different…

November 14, 2019

Modify the language attribute based on category in WordPress

How to modify the language attribute in your Wordpress theme using a specific value

November 7, 2019

WordPress Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0

How I've beat the php mysterious fatal error unknown in Wordpress caused by caching plugin WP Fastest Cache

WordPress Gutenberg doesn’t parse Istagram oembed url

Sometimes Instagram embed doesn't work, why?

November 4, 2019

Stop sending email to new user in WordPress admin registration

A code snippet to prevent WordPress to send notification emails when you manually create new users. It uses a pluggable function.

November 1, 2019