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…

Dicembre 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

PHP expert. Wordpress plugin and theme developer. Father, Maker, Arduino and ESP8266 enthusiast.

Recommended

WP Gutenberg notes

Collection of notes and thoughts on Wordpress Gutenberg blocks development.

Gennaio 9, 2023

Come realizzare in PHP un bot per il controllo di accesso ad un gruppo Telegram

Ho raccolto in questo post una serie di appunti per la realizzazione di un bot di controllo di un gruppo Telegram, non è un vero e proprio tutorial, ma è sicuramente utile per ripercorrere il progetto.

Dicembre 9, 2022

Test page for Bright Links plugin

To test the plugin hover your mouse to a link, or tap the link on mobile device.

Dicembre 4, 2022

Updating a metabox after Gutenberg updates

When press on "Update" refresh a custom metabox under gutenberg editor.

WP doesn’t send email? try this

Snippets for sending emails with Wordpress

Febbraio 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…

Novembre 14, 2019