{"id":1754,"date":"2021-04-05T18:55:57","date_gmt":"2021-04-06T01:55:57","guid":{"rendered":"https:\/\/felix-arntz.me\/?p=1754"},"modified":"2025-02-11T08:11:08","modified_gmt":"2025-02-11T16:11:08","slug":"sharing-content-from-your-device-directly-into-a-new-wordpress-post","status":"publish","type":"post","link":"https:\/\/felix-arntz.me\/blog\/sharing-content-from-your-device-directly-into-a-new-wordpress-post\/","title":{"rendered":"Sharing content from your device directly into a new WordPress post"},"content":{"rendered":"\n<p>It is tempting to rely on closed platforms and their native apps: They integrate well with your device&#8217;s capabilities and offer easy-to-use features for improved social engagement with your audience &#8211; however at the cost of locking you into their proprietary infrastructure and owning your content.<\/p>\n\n\n\n<p>But the open web has been catching up: A myriad of capabilities has been made available in the past few years through new standardized browser APIs which enable you and your audience to leverage the modern features they expect while remaining decentralized and under your control. To name a few:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Add to Home screen: You and your audience can add your website to their device&#8217;s home screen so that it shows up there with an icon, the same way they can install a native app, but without all the extra implications of that installation. <a href=\"https:\/\/wordpress.org\/plugins\/pwa\/\" target=\"_blank\" rel=\"noreferrer noopener\">Enable Add to Home screen in WordPress<\/a><\/li>\n\n\n\n<li>Offline browsing: No longer will you see your browser&#8217;s ugly &#8220;Offline&#8221; page when losing the network connection, but you remain within the website&#8217;s \/ web app&#8217;s UI and can keep browsing content that was previously downloaded. <a href=\"https:\/\/wordpress.org\/plugins\/pwa\/\" target=\"_blank\" rel=\"noreferrer noopener\">Get offline browsing in WordPress<\/a><\/li>\n\n\n\n<li>Engaging and replying to content from other websites: What closed social networks have been offering for seemingly ages has now finally come to the open web as well &#8211; with the difference that the data remains under your authority. <a href=\"https:\/\/wordpress.org\/plugins\/webmention\/\" target=\"_blank\" rel=\"noreferrer noopener\">Use webmentions in WordPress<\/a><\/li>\n\n\n\n<li>Sharing content from your website: You can share content from your website to any other application, relying on your device&#8217;s integrated sharing UI &#8211; with the extra benefit of not requiring privacy-invasive sharing scripts from other platforms for it. <a href=\"https:\/\/wordpress.org\/plugins\/super-web-share\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Share content in WordPress<\/a><\/li>\n<\/ul>\n\n\n\n<p>Another capability which you are probably used to from native apps is <strong>sharing content from one app to another<\/strong>. While the last bullet point above covers sharing content <em>from<\/em> your website (via the <a href=\"https:\/\/www.w3.org\/TR\/web-share\/\" target=\"_blank\" rel=\"noreferrer noopener\">Web Share API<\/a>), it is now also possible to share content <em>to<\/em> your website (via the <a href=\"https:\/\/w3c.github.io\/web-share-target\/\" target=\"_blank\" rel=\"noreferrer noopener\">Web Share Target API<\/a>) in the same integrated way, which is what we&#8217;re gonna focus on in this post.<\/p>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\">Meet the Share Target plugin<\/h2>\n\n\n\n<p>I recently published the <a href=\"https:\/\/wordpress.org\/plugins\/share-target\/\" target=\"_blank\" rel=\"noreferrer noopener\">&#8220;Share Target&#8221; WordPress plugin<\/a> which allows you to share content to your WordPress site directly from your <a href=\"https:\/\/web.dev\/web-share-target\/#browser-support\" target=\"_blank\" rel=\"noreferrer noopener\">capable device<\/a>, relying on its integrated sharing UI. After installing the plugin and then adding your website to your home screen (e.g. on your Android device), you can then share content to your WordPress site from any app with sharing capabilities. The Share Target plugin then handles the shared data so that, by default, you land in the block editor where your shared content is turned into blocks. For certain scenarios, this can drastically simplify your publishing experience: For example, if you have a photo blog or you want to just share a brief note, it can be as simple as clicking the &#8220;Publish&#8221; button.<\/p>\n\n\n\n<p>One of my personal use-cases and part of the reason why I built this plugin is <a href=\"https:\/\/cocktails.felix-arntz.me\/\" target=\"_blank\" rel=\"noreferrer noopener\">my cocktail blog<\/a> where I occasionally post photos and brief notes about cocktails that I prepare or drink. If you&#8217;re sitting in a bar with friends (hopefully more of that in late 2021!) and just took a photo of your beverage, you probably don&#8217;t want to leave your folks waiting until you&#8217;ve logged in to WordPress, navigated to the block editor to create a new post, uploaded a photo, added some notes and published it. With the Share Target plugin, it becomes a really quick interaction: You share the photo to your site, wait for the upload, and click &#8220;Publish&#8221;.<\/p>\n\n\n\n<div class=\"wp-block-columns alignwide is-layout-flex wp-container-core-columns-is-layout-6c531013 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"512\" height=\"1024\" src=\"https:\/\/felix-arntz.me\/wp-content\/uploads\/2021\/04\/sharing-content-from-google-keep-to-wordpress-site-512x1024.png\" alt=\"Sharing content from Google Keep to my WordPress site\" class=\"wp-image-1766\" srcset=\"https:\/\/felix-arntz.me\/wp-content\/uploads\/2021\/04\/sharing-content-from-google-keep-to-wordpress-site-512x1024.png 512w, https:\/\/felix-arntz.me\/wp-content\/uploads\/2021\/04\/sharing-content-from-google-keep-to-wordpress-site-150x300.png 150w, https:\/\/felix-arntz.me\/wp-content\/uploads\/2021\/04\/sharing-content-from-google-keep-to-wordpress-site-768x1536.png 768w, https:\/\/felix-arntz.me\/wp-content\/uploads\/2021\/04\/sharing-content-from-google-keep-to-wordpress-site-1024x2048.png 1024w, https:\/\/felix-arntz.me\/wp-content\/uploads\/2021\/04\/sharing-content-from-google-keep-to-wordpress-site.png 1080w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><figcaption class=\"wp-element-caption\">Sharing content from Google Keep to my &#8220;Cocktails&#8221; WordPress site<\/figcaption><\/figure>\n\n\n\n<p><\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"512\" height=\"1024\" src=\"https:\/\/felix-arntz.me\/wp-content\/uploads\/2021\/04\/shared-content-in-the-wordpress-block-editor-512x1024.png\" alt=\"The shared content in the WordPress block editor\" class=\"wp-image-1767\" srcset=\"https:\/\/felix-arntz.me\/wp-content\/uploads\/2021\/04\/shared-content-in-the-wordpress-block-editor-512x1024.png 512w, https:\/\/felix-arntz.me\/wp-content\/uploads\/2021\/04\/shared-content-in-the-wordpress-block-editor-150x300.png 150w, https:\/\/felix-arntz.me\/wp-content\/uploads\/2021\/04\/shared-content-in-the-wordpress-block-editor-768x1536.png 768w, https:\/\/felix-arntz.me\/wp-content\/uploads\/2021\/04\/shared-content-in-the-wordpress-block-editor-1024x2048.png 1024w, https:\/\/felix-arntz.me\/wp-content\/uploads\/2021\/04\/shared-content-in-the-wordpress-block-editor.png 1080w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><figcaption class=\"wp-element-caption\">The shared content from Google Keep after landing in the WordPress block editor<\/figcaption><\/figure>\n<\/div>\n<\/div>\n\n\n\n<p>Another benefit to the shortened and simplified flow is that navigating WordPress on a mobile device can be&#8230; well, often clunky. So for a scenario where you just want to get your content out quickly, this saves you more time (and sometimes more nerves).<\/p>\n\n\n\n<p>Technically, the plugin relies on the standardized Web Share Target API &#8211; essentially your site becomes a &#8220;target&#8221; for sharing content to, right next to all the native apps on your device. <a href=\"https:\/\/web.dev\/web-share-target\/\" target=\"_blank\" rel=\"noreferrer noopener\">For a technical introduction to the Web Share Target API, please refer to this web.dev article.<\/a> In addition, to use the Share Target plugin you will need to also install and activate the <a href=\"https:\/\/wordpress.org\/plugins\/pwa\/\" target=\"_blank\" rel=\"noreferrer noopener\">PWA plugin for WordPress<\/a>, which is necessary to bootstrap the service worker infrastructure which this plugin relies on.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Customizing how the shared data is handled<\/h2>\n\n\n\n<p>The <a href=\"https:\/\/wordpress.org\/plugins\/share-target\/\" target=\"_blank\" rel=\"noreferrer noopener\">Share Target plugin<\/a> is lightweight and includes some basic default behavior, which depends on what type of content you share to your WordPress site. The Web Share Target API allows to share four different types of data (each of which the plugin supports too):<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A short title-like string, which in the plugin is called &#8220;title&#8221;.<\/li>\n\n\n\n<li>More or less longer text content, which in the plugin is called &#8220;description&#8221;.<\/li>\n\n\n\n<li>A URL, which in the plugin is called &#8220;link&#8221;.<\/li>\n\n\n\n<li>A media file, which the plugin automatically uploads to the WordPress media library and then refers to as &#8220;attachment&#8221;.<\/li>\n<\/ul>\n\n\n\n<p>By default, the plugin looks for the presence of any of these shared items (every time you&#8217;re sharing content, at least one of the above is shared) and then turns them into block editor content:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A shared &#8220;title&#8221; becomes the post title.<\/li>\n\n\n\n<li>A shared &#8220;description&#8221; becomes a paragraph block.<\/li>\n\n\n\n<li>A shared &#8220;link&#8221; becomes a paragraph block in which it is rendered as a link (with the URL as label).<\/li>\n\n\n\n<li>A shared &#8220;attachment&#8221; becomes an image, audio, or video block, depending on the type of attachment.<\/li>\n<\/ul>\n\n\n\n<p>This default behavior surely doesn&#8217;t represent everything that you could possibly want to do with incoming shared data. Therefore, the Share Target plugin offers a simple JavaScript API function <code>wp.shareTarget.registerShareHandler<\/code> which you can leverage in your own plugin to add your own logic for how to handle shared content. <a href=\"https:\/\/github.com\/felixarntz\/wp-share-target#third-party-developer-api\" target=\"_blank\" rel=\"noreferrer noopener\">You can learn more about how to use this simple API in the plugin documentation.<\/a><\/p>\n\n\n\n<p>To give you an idea of what you can accomplish with the API: Since I&#8217;m a movie geek, I maintain <a href=\"https:\/\/movies.felix-arntz.me\" target=\"_blank\" rel=\"noreferrer noopener\">another microsite where I basically check in any movies that I watch<\/a>. I have written a personal &#8220;Movie Log&#8221; plugin specifically for that site which pulls movie information from IMDB and puts it into the site. When checking in a movie, I want the process to be just as quick &#8211; I don&#8217;t want to deal with 10 clicks, I just want to search for the movie and publish the check-in. Before I had the Share Target plugin, I needed to log in to WordPress, create a new post, go to the block editor sidebar to search for the movie, then publish. Now that I have the Share Target plugin, I have integrated my movie log plugin with it, so I can simply share a movie directly from the IMDB app. My custom plugin&#8217;s registered share handler than extracts the IMDB movie ID and configures my custom movie block so that it&#8217;s ready to go immediately. I just hit &#8220;Publish&#8221;, and the movie check-in is complete. <a href=\"https:\/\/github.com\/felixarntz\/movie-log\/blob\/main\/src\/index.js#L9\" target=\"_blank\" rel=\"noreferrer noopener\">If you&#8217;re interested in this movie log example, you can find the source code here.<\/a> Please keep in mind though that the Movie Log plugin is a personal project that I don&#8217;t offer any support on.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Share your content<\/h2>\n\n\n\n<p>While the two use-cases I have outlined are related to hobbies or personal interest websites, there is a lot more you can do with Share Target. Even if your publishing workflow is more complex and involves more steps (which it likely does), relying on sharing content can give you a headstart. Especially when customizing how incoming shares are handled through the Share Target plugin API, you can really tailor its behavior to your needs and optimize your workflow.<\/p>\n\n\n\n<p>So please share your content! Yes, of course I&#8217;d be happy if you tried the Share Target plugin to share content to your website &#8211; but also I&#8217;m excited to learn more about your use-cases for it, so I&#8217;d appreciate if you shared that with me as well, in the comments below. In addition, if you have a feature request or discover a bug during usage (especially since the plugin is only in beta right now), please <a href=\"https:\/\/github.com\/felixarntz\/wp-share-target\/issues\/new\" target=\"_blank\" rel=\"noreferrer noopener\">file a GitHub issue on the project&#8217;s repository<\/a>.<\/p>\n\n\n\n<div class=\"wp-block-buttons is-horizontal is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-03627597 wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button is-style-fill\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/wordpress.org\/plugins\/share-target\/\" target=\"_blank\" rel=\"noreferrer noopener\">Download the Share Target plugin<\/a><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>It is tempting to rely on closed platforms and their native apps: They integrate well with your device&#8217;s capabilities and offer easy-to-use features for improved social engagement with your audience &#8211; however at the cost of locking you into their proprietary infrastructure and owning your content. But the open web has been catching up: A [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1773,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[70,97],"tags":[],"class_list":["post-1754","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-web-technologies","category-wordpress"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Sharing content from your device directly into a new WordPress post - felix-arntz.me<\/title>\n<meta name=\"description\" content=\"The Share Target plugin for WordPress allows you to share images and other content from any app on your device directly into the block editor.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/felix-arntz.me\/blog\/sharing-content-from-your-device-directly-into-a-new-wordpress-post\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Sharing content from your device directly into a new WordPress post - felix-arntz.me\" \/>\n<meta property=\"og:description\" content=\"The Share Target plugin for WordPress allows you to share images and other content from any app on your device directly into the block editor.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/felix-arntz.me\/blog\/sharing-content-from-your-device-directly-into-a-new-wordpress-post\/\" \/>\n<meta property=\"og:site_name\" content=\"felix-arntz.me\" \/>\n<meta property=\"article:published_time\" content=\"2021-04-06T01:55:57+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-02-11T16:11:08+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/felix-arntz.me\/wp-content\/uploads\/2021\/04\/share-target-wordpress.png\" \/>\n\t<meta property=\"og:image:width\" content=\"842\" \/>\n\t<meta property=\"og:image:height\" content=\"500\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Felix\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@felixarntz\" \/>\n<meta name=\"twitter:site\" content=\"@felixarntz\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Felix\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/felix-arntz.me\/blog\/sharing-content-from-your-device-directly-into-a-new-wordpress-post\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/felix-arntz.me\/blog\/sharing-content-from-your-device-directly-into-a-new-wordpress-post\/\"},\"author\":{\"name\":\"Felix\",\"@id\":\"https:\/\/felix-arntz.me\/#\/schema\/person\/c7c3c658d2e59bbddf3e8684a6846e55\"},\"headline\":\"Sharing content from your device directly into a new WordPress post\",\"datePublished\":\"2021-04-06T01:55:57+00:00\",\"dateModified\":\"2025-02-11T16:11:08+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/felix-arntz.me\/blog\/sharing-content-from-your-device-directly-into-a-new-wordpress-post\/\"},\"wordCount\":1416,\"commentCount\":10,\"publisher\":{\"@id\":\"https:\/\/felix-arntz.me\/#\/schema\/person\/c7c3c658d2e59bbddf3e8684a6846e55\"},\"image\":{\"@id\":\"https:\/\/felix-arntz.me\/blog\/sharing-content-from-your-device-directly-into-a-new-wordpress-post\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/felix-arntz.me\/wp-content\/uploads\/2021\/04\/share-target-wordpress.png\",\"articleSection\":[\"Web Technologies\",\"WordPress\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/felix-arntz.me\/blog\/sharing-content-from-your-device-directly-into-a-new-wordpress-post\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/felix-arntz.me\/blog\/sharing-content-from-your-device-directly-into-a-new-wordpress-post\/\",\"url\":\"https:\/\/felix-arntz.me\/blog\/sharing-content-from-your-device-directly-into-a-new-wordpress-post\/\",\"name\":\"Sharing content from your device directly into a new WordPress post - felix-arntz.me\",\"isPartOf\":{\"@id\":\"https:\/\/felix-arntz.me\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/felix-arntz.me\/blog\/sharing-content-from-your-device-directly-into-a-new-wordpress-post\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/felix-arntz.me\/blog\/sharing-content-from-your-device-directly-into-a-new-wordpress-post\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/felix-arntz.me\/wp-content\/uploads\/2021\/04\/share-target-wordpress.png\",\"datePublished\":\"2021-04-06T01:55:57+00:00\",\"dateModified\":\"2025-02-11T16:11:08+00:00\",\"description\":\"The Share Target plugin for WordPress allows you to share images and other content from any app on your device directly into the block editor.\",\"breadcrumb\":{\"@id\":\"https:\/\/felix-arntz.me\/blog\/sharing-content-from-your-device-directly-into-a-new-wordpress-post\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/felix-arntz.me\/blog\/sharing-content-from-your-device-directly-into-a-new-wordpress-post\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/felix-arntz.me\/blog\/sharing-content-from-your-device-directly-into-a-new-wordpress-post\/#primaryimage\",\"url\":\"https:\/\/felix-arntz.me\/wp-content\/uploads\/2021\/04\/share-target-wordpress.png\",\"contentUrl\":\"https:\/\/felix-arntz.me\/wp-content\/uploads\/2021\/04\/share-target-wordpress.png\",\"width\":842,\"height\":500,\"caption\":\"The Share Target WordPress plugin\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/felix-arntz.me\/blog\/sharing-content-from-your-device-directly-into-a-new-wordpress-post\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/felix-arntz.me\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Web Technologies\",\"item\":\"https:\/\/felix-arntz.me\/blog\/category\/web-technologies\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Sharing content from your device directly into a new WordPress post\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/felix-arntz.me\/#website\",\"url\":\"https:\/\/felix-arntz.me\/\",\"name\":\"felix-arntz.me\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/felix-arntz.me\/#\/schema\/person\/c7c3c658d2e59bbddf3e8684a6846e55\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/felix-arntz.me\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/felix-arntz.me\/#\/schema\/person\/c7c3c658d2e59bbddf3e8684a6846e55\",\"name\":\"Felix\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/felix-arntz.me\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/felix-arntz.me\/wp-content\/uploads\/2018\/09\/felix-arntz-site-icon.png\",\"contentUrl\":\"https:\/\/felix-arntz.me\/wp-content\/uploads\/2018\/09\/felix-arntz-site-icon.png\",\"width\":512,\"height\":512,\"caption\":\"Felix\"},\"logo\":{\"@id\":\"https:\/\/felix-arntz.me\/#\/schema\/person\/image\/\"},\"description\":\"Developer Programs Engineer at Google. WordPress Core Committer. Previously Yoast. Runner, musician, movie geek. Aprendiendo espa\u00f1ol. Fueled by Mountain Dew.\",\"sameAs\":[\"https:\/\/x.com\/felixarntz\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Sharing content from your device directly into a new WordPress post - felix-arntz.me","description":"The Share Target plugin for WordPress allows you to share images and other content from any app on your device directly into the block editor.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/felix-arntz.me\/blog\/sharing-content-from-your-device-directly-into-a-new-wordpress-post\/","og_locale":"en_US","og_type":"article","og_title":"Sharing content from your device directly into a new WordPress post - felix-arntz.me","og_description":"The Share Target plugin for WordPress allows you to share images and other content from any app on your device directly into the block editor.","og_url":"https:\/\/felix-arntz.me\/blog\/sharing-content-from-your-device-directly-into-a-new-wordpress-post\/","og_site_name":"felix-arntz.me","article_published_time":"2021-04-06T01:55:57+00:00","article_modified_time":"2025-02-11T16:11:08+00:00","og_image":[{"width":842,"height":500,"url":"https:\/\/felix-arntz.me\/wp-content\/uploads\/2021\/04\/share-target-wordpress.png","type":"image\/png"}],"author":"Felix","twitter_card":"summary_large_image","twitter_creator":"@felixarntz","twitter_site":"@felixarntz","twitter_misc":{"Written by":"Felix","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/felix-arntz.me\/blog\/sharing-content-from-your-device-directly-into-a-new-wordpress-post\/#article","isPartOf":{"@id":"https:\/\/felix-arntz.me\/blog\/sharing-content-from-your-device-directly-into-a-new-wordpress-post\/"},"author":{"name":"Felix","@id":"https:\/\/felix-arntz.me\/#\/schema\/person\/c7c3c658d2e59bbddf3e8684a6846e55"},"headline":"Sharing content from your device directly into a new WordPress post","datePublished":"2021-04-06T01:55:57+00:00","dateModified":"2025-02-11T16:11:08+00:00","mainEntityOfPage":{"@id":"https:\/\/felix-arntz.me\/blog\/sharing-content-from-your-device-directly-into-a-new-wordpress-post\/"},"wordCount":1416,"commentCount":10,"publisher":{"@id":"https:\/\/felix-arntz.me\/#\/schema\/person\/c7c3c658d2e59bbddf3e8684a6846e55"},"image":{"@id":"https:\/\/felix-arntz.me\/blog\/sharing-content-from-your-device-directly-into-a-new-wordpress-post\/#primaryimage"},"thumbnailUrl":"https:\/\/felix-arntz.me\/wp-content\/uploads\/2021\/04\/share-target-wordpress.png","articleSection":["Web Technologies","WordPress"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/felix-arntz.me\/blog\/sharing-content-from-your-device-directly-into-a-new-wordpress-post\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/felix-arntz.me\/blog\/sharing-content-from-your-device-directly-into-a-new-wordpress-post\/","url":"https:\/\/felix-arntz.me\/blog\/sharing-content-from-your-device-directly-into-a-new-wordpress-post\/","name":"Sharing content from your device directly into a new WordPress post - felix-arntz.me","isPartOf":{"@id":"https:\/\/felix-arntz.me\/#website"},"primaryImageOfPage":{"@id":"https:\/\/felix-arntz.me\/blog\/sharing-content-from-your-device-directly-into-a-new-wordpress-post\/#primaryimage"},"image":{"@id":"https:\/\/felix-arntz.me\/blog\/sharing-content-from-your-device-directly-into-a-new-wordpress-post\/#primaryimage"},"thumbnailUrl":"https:\/\/felix-arntz.me\/wp-content\/uploads\/2021\/04\/share-target-wordpress.png","datePublished":"2021-04-06T01:55:57+00:00","dateModified":"2025-02-11T16:11:08+00:00","description":"The Share Target plugin for WordPress allows you to share images and other content from any app on your device directly into the block editor.","breadcrumb":{"@id":"https:\/\/felix-arntz.me\/blog\/sharing-content-from-your-device-directly-into-a-new-wordpress-post\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/felix-arntz.me\/blog\/sharing-content-from-your-device-directly-into-a-new-wordpress-post\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/felix-arntz.me\/blog\/sharing-content-from-your-device-directly-into-a-new-wordpress-post\/#primaryimage","url":"https:\/\/felix-arntz.me\/wp-content\/uploads\/2021\/04\/share-target-wordpress.png","contentUrl":"https:\/\/felix-arntz.me\/wp-content\/uploads\/2021\/04\/share-target-wordpress.png","width":842,"height":500,"caption":"The Share Target WordPress plugin"},{"@type":"BreadcrumbList","@id":"https:\/\/felix-arntz.me\/blog\/sharing-content-from-your-device-directly-into-a-new-wordpress-post\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/felix-arntz.me\/"},{"@type":"ListItem","position":2,"name":"Web Technologies","item":"https:\/\/felix-arntz.me\/blog\/category\/web-technologies\/"},{"@type":"ListItem","position":3,"name":"Sharing content from your device directly into a new WordPress post"}]},{"@type":"WebSite","@id":"https:\/\/felix-arntz.me\/#website","url":"https:\/\/felix-arntz.me\/","name":"felix-arntz.me","description":"","publisher":{"@id":"https:\/\/felix-arntz.me\/#\/schema\/person\/c7c3c658d2e59bbddf3e8684a6846e55"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/felix-arntz.me\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/felix-arntz.me\/#\/schema\/person\/c7c3c658d2e59bbddf3e8684a6846e55","name":"Felix","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/felix-arntz.me\/#\/schema\/person\/image\/","url":"https:\/\/felix-arntz.me\/wp-content\/uploads\/2018\/09\/felix-arntz-site-icon.png","contentUrl":"https:\/\/felix-arntz.me\/wp-content\/uploads\/2018\/09\/felix-arntz-site-icon.png","width":512,"height":512,"caption":"Felix"},"logo":{"@id":"https:\/\/felix-arntz.me\/#\/schema\/person\/image\/"},"description":"Developer Programs Engineer at Google. WordPress Core Committer. Previously Yoast. Runner, musician, movie geek. Aprendiendo espa\u00f1ol. Fueled by Mountain Dew.","sameAs":["https:\/\/x.com\/felixarntz"]}]}},"jetpack_featured_media_url":"https:\/\/felix-arntz.me\/wp-content\/uploads\/2021\/04\/share-target-wordpress.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/felix-arntz.me\/api\/wp\/v2\/posts\/1754","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/felix-arntz.me\/api\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/felix-arntz.me\/api\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/felix-arntz.me\/api\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/felix-arntz.me\/api\/wp\/v2\/comments?post=1754"}],"version-history":[{"count":3,"href":"https:\/\/felix-arntz.me\/api\/wp\/v2\/posts\/1754\/revisions"}],"predecessor-version":[{"id":2029,"href":"https:\/\/felix-arntz.me\/api\/wp\/v2\/posts\/1754\/revisions\/2029"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/felix-arntz.me\/api\/wp\/v2\/media\/1773"}],"wp:attachment":[{"href":"https:\/\/felix-arntz.me\/api\/wp\/v2\/media?parent=1754"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/felix-arntz.me\/api\/wp\/v2\/categories?post=1754"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/felix-arntz.me\/api\/wp\/v2\/tags?post=1754"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}