{"id":13355125,"date":"2020-09-04T03:14:24","date_gmt":"2020-09-04T03:14:24","guid":{"rendered":"https:\/\/wordpress.org\/support\/?post_type=helphub_article&#038;p=13355125"},"modified":"2024-06-08T18:33:17","modified_gmt":"2024-06-08T18:33:17","slug":"reddit-embed","status":"publish","type":"helphub_article","link":"https:\/\/wordpress.org\/documentation\/article\/reddit-embed\/","title":{"rendered":"Reddit embed"},"content":{"rendered":"\n<p class=\"has-text-align-right has-small-font-size wp-block-paragraph\"><a href=\"https:\/\/wordpress.org\/documentation\/article\/blocks\/\">Go back to the list of <strong>Blocks<\/strong><\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Reddit is one of the most popular websites. It hosts a considerable number of communities that share content on an astonishing number of topics. The Reddit block allows you to embed content from Reddit to your post. You do not need to have an account to be able to share the Reddit post. However, you can only embed publicly shared posts.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The screenshot below is an example of what an embed with the Reddit block may look like (in the Twenty Twenty-Three theme):&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-5.52.38-PM-1-1024x840.png\" alt=\"Reddit Embed Block with image\" class=\"wp-image-16164369\" width=\"364\" height=\"299\" srcset=\"https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-5.52.38-PM-1-1024x840.png 1024w, https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-5.52.38-PM-1-300x246.png 300w, https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-5.52.38-PM-1-768x630.png 768w, https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-5.52.38-PM-1.png 1272w\" sizes=\"auto, (max-width: 364px) 100vw, 364px\" \/><figcaption class=\"wp-element-caption\">Reddit embed (with image) within the Twenty Twenty-Three theme<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The example above is from an URL that contains an image. However, you can also embed posts that contain only text. In that case, your embed may look like this:&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-5.59.46-PM-1-1024x350.png\" alt=\"Reddit Embed Block without image\" class=\"wp-image-16164372\" width=\"368\" height=\"126\" srcset=\"https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-5.59.46-PM-1-1024x350.png 1024w, https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-5.59.46-PM-1-300x102.png 300w, https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-5.59.46-PM-1-768x262.png 768w, https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-5.59.46-PM-1.png 1282w\" sizes=\"auto, (max-width: 368px) 100vw, 368px\" \/><figcaption class=\"wp-element-caption\">Preview of Reddit embed within the Twenty Twenty-Three theme<\/figcaption><\/figure>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Steps to embed a Reddit post<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The Reddit block makes it quite simple to embed a Reddit post. These are the required steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\" start=\"1\">\n<li><strong>Go to the Reddit post you want to embed.<\/strong> Please make sure it&#8217;s a public post.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"572\" src=\"https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.06.02-PM-1024x572.png\" alt=\"Reddit site\" class=\"wp-image-16164381\" srcset=\"https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.06.02-PM-1024x572.png 1024w, https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.06.02-PM-300x167.png 300w, https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.06.02-PM-768x429.png 768w, https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.06.02-PM-1536x857.png 1536w, https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.06.02-PM-2048x1143.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"2\">\n<li><strong>Copy the URL.<\/strong><br>You can find the URL at the top of the screen (marked in red in the image below)&nbsp;<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"198\" src=\"https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.06.53-PM-1024x198.png\" alt=\"Screenshot of Reddit and the correct URL to copy to use the embed block.\" class=\"wp-image-16164384\" srcset=\"https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.06.53-PM-1024x198.png 1024w, https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.06.53-PM-300x58.png 300w, https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.06.53-PM-768x148.png 768w, https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.06.53-PM-1536x297.png 1536w, https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.06.53-PM-2048x396.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\">\n<li><strong>Go back to your editing screen and add a Reddit block to your post.<\/strong><br>The fastest way to add a block is to use the slash command. In the empty field in the block editor type \u201c<strong>\/reddit<\/strong>\u201d. The Reddit block will appear, and you can click to select it and add it to the post. Alternatively, <a href=\"https:\/\/wordpress.org\/documentation\/article\/wordpress-editor\/#adding-a-block\">see the detailed instructions on how to add a block<\/a>.&nbsp;<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.11.32-PM.png\" alt=\"Adding a Reddit embed to a post or page \" class=\"wp-image-16164407\" width=\"389\" height=\"213\" srcset=\"https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.11.32-PM.png 778w, https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.11.32-PM-300x164.png 300w, https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.11.32-PM-768x421.png 768w\" sizes=\"auto, (max-width: 389px) 100vw, 389px\" \/><\/figure>\n\n\n\n<p class=\"has-text-align-left has-background wp-block-paragraph\" style=\"background-color:#e5f5fa\"><a href=\"https:\/\/wordpress.org\/documentation\/article\/adding-a-new-block\/\">Detailed instructions on adding blocks<\/a><\/p>\n\n\n\n<ol class=\"wp-block-list\" start=\"4\">\n<li><strong>Paste the Reddit URL you copied into the block\u2019s input field.<\/strong>&nbsp;<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"445\" src=\"https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.12.57-PM-1024x445.png\" alt=\"Reddit URL embed\" class=\"wp-image-16164421\" srcset=\"https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.12.57-PM-1024x445.png 1024w, https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.12.57-PM-300x130.png 300w, https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.12.57-PM-768x334.png 768w, https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.12.57-PM.png 1422w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"5\">\n<li><strong>Click the Embed button to embed the post.<\/strong><br>You will see a preview of the embedded post in your editor.&nbsp;<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-5.52.38-PM-2-1024x840.png\" alt=\"Preview of the embedded Reddit video within the WordPress editor.\" class=\"wp-image-16164423\" width=\"367\" height=\"301\" srcset=\"https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-5.52.38-PM-2-1024x840.png 1024w, https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-5.52.38-PM-2-300x246.png 300w, https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-5.52.38-PM-2-768x630.png 768w, https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-5.52.38-PM-2.png 1272w\" sizes=\"auto, (max-width: 367px) 100vw, 367px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Note<\/strong>: In most cases, you should get this result. However, if the URL cannot be embedded, you will be notified with the message, \u201cSorry, this content could not be embedded.\u201d In that case, you can try to embed an alternative URL or simply add the URL as a link instead of an embed.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Block Toolbar<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The toolbar of the Reddit block contains several useful buttons. Besides the Mover and Drag &amp; Drop Handle, the Block Toolbar for the Reddit embed also features the buttons:<\/p>\n\n\n\n<figure class=\"wp-block-image alignright size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.16.25-PM.png\" alt=\"Block Toolbar with options available for the Reddit Block.\" class=\"wp-image-16164443\" width=\"348\" height=\"112\" srcset=\"https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.16.25-PM.png 696w, https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.16.25-PM-300x97.png 300w\" sizes=\"auto, (max-width: 348px) 100vw, 348px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Transform<\/li>\n\n\n\n<li>Block moving tools (Drag, move up, move down)<\/li>\n\n\n\n<li>Align<\/li>\n\n\n\n<li>Edit URL<\/li>\n\n\n\n<li>More options&nbsp;<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Transform<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can transform a Reddit embed into a Paragraph, Group, or Columns block.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.22.31-PM-1.png\" alt=\"Transform options for the Reddit embed\" class=\"wp-image-16164478\" width=\"337\" height=\"273\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Transforming it into a <strong>Paragraph<\/strong> will turn the embed into a simple link.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.23.18-PM-1024x250.png\" alt=\"Reddit embed transform into a Paragraph block\" class=\"wp-image-16164483\" width=\"372\" height=\"91\" srcset=\"https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.23.18-PM-1024x250.png 1024w, https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.23.18-PM-300x73.png 300w, https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.23.18-PM-768x188.png 768w, https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.23.18-PM.png 1382w\" sizes=\"auto, (max-width: 372px) 100vw, 372px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Transforming the Reddit block into a <strong>Group block<\/strong> gives you the ability to change the Reddit embed\u2019s background color.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once you transform the embed into a Group block, you will get the Color settings in the sidebar (as seen in the image below, on the right)&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"471\" src=\"https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.24.33-PM-1024x471.png\" alt=\"Example of transforming Reddit block to group and updating the background to gradient.\" class=\"wp-image-16164497\" srcset=\"https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.24.33-PM-1024x471.png 1024w, https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.24.33-PM-300x138.png 300w, https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.24.33-PM-768x353.png 768w, https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.24.33-PM-1536x706.png 1536w, https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.24.33-PM-2048x941.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Choose a color in the Background color settings, and the background will be added to the block.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.25.16-PM-1024x521.png\" alt=\"Reddit embed with an orange background inside the Group block  \" class=\"wp-image-16164500\" width=\"697\" height=\"355\" srcset=\"https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.25.16-PM-1024x521.png 1024w, https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.25.16-PM-300x153.png 300w, https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.25.16-PM-768x391.png 768w, https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.25.16-PM-1536x781.png 1536w, https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.25.16-PM-2048x1042.png 2048w\" sizes=\"auto, (max-width: 697px) 100vw, 697px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Transforming the Reddit block into a <strong>Columns block<\/strong> will give you added customization options if you&#8217;d like to group or organize your content into columns.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.26.45-PM-1024x542.png\" alt=\"Reddit embed inside the column block\" class=\"wp-image-16164509\" width=\"696\" height=\"369\" srcset=\"https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.26.45-PM-1024x542.png 1024w, https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.26.45-PM-300x159.png 300w, https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.26.45-PM-768x406.png 768w, https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.26.45-PM-1536x813.png 1536w, https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.26.45-PM-2048x1084.png 2048w\" sizes=\"auto, (max-width: 696px) 100vw, 696px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Block-moving tools<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"698\" height=\"168\" src=\"https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.29.53-PM.png\" alt=\"Block moving options\" class=\"wp-image-16164521\" srcset=\"https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.29.53-PM.png 698w, https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.29.53-PM-300x72.png 300w\" sizes=\"auto, (max-width: 698px) 100vw, 698px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Use the block-moving tools to move the Reddit block up and down the editor. Use the six dots icon to drag and drop the Reddit Embed block and reposition it anywhere on the editor. Alternatively, click on the move up and move down arrows to move the block up or down the editor.<\/p>\n\n\n\n<p class=\"has-text-align-left has-background wp-block-paragraph\" style=\"background-color:#e5f5fa\"><a rel=\"noreferrer noopener\" href=\"https:\/\/wordpress.org\/documentation\/article\/moving-blocks\/\" target=\"_blank\">Get more information about moving a block within the editor.<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Change Alignment&nbsp;<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image alignright size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.32.08-PM.png\" alt=\"Alignment options for the block: wide width, full width, align left, align center, and align right.\" class=\"wp-image-16164534\" width=\"385\" height=\"367\" srcset=\"https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.32.08-PM.png 824w, https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.32.08-PM-300x286.png 300w, https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.32.08-PM-768x733.png 768w\" sizes=\"auto, (max-width: 385px) 100vw, 385px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The change alignment button allows you to:&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>None<\/strong> &#8211; No Alignment<\/li>\n\n\n\n<li><strong>Wide width<\/strong> &#8211; Increase the width of the post beyond the content size.<\/li>\n\n\n\n<li><strong>Full width<\/strong> &#8211; extend the Reddit post to cover the full width of the screen.<\/li>\n\n\n\n<li><strong>Align left<\/strong> &#8211; Make the Reddit post left-aligned.<\/li>\n\n\n\n<li><strong>Align center<\/strong> &#8211; Make the Reddit post alignment centered.<\/li>\n\n\n\n<li><strong>Align right <\/strong>&#8211; Make the Reddit post align right.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Note: \u201cWide width\u201d and \u201cFull width\u201d alignment need to be enabled by your site\u2019s Theme.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Edit URL<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">With the Edit URL, you can change the Reddit URL in the Reddit block. Once you click on &#8217;embed&#8217;, it will change the embed automatically. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"277\" src=\"https:\/\/wordpress.org\/documentation\/files\/2022\/12\/reddit-embed-1024x277.png\" alt=\"Editing the Reddit block URL via the &quot;edit&quot; option.\" class=\"wp-image-16252835\" srcset=\"https:\/\/wordpress.org\/documentation\/files\/2022\/12\/reddit-embed-1024x277.png 1024w, https:\/\/wordpress.org\/documentation\/files\/2022\/12\/reddit-embed-300x81.png 300w, https:\/\/wordpress.org\/documentation\/files\/2022\/12\/reddit-embed-768x207.png 768w, https:\/\/wordpress.org\/documentation\/files\/2022\/12\/reddit-embed-1536x415.png 1536w, https:\/\/wordpress.org\/documentation\/files\/2022\/12\/reddit-embed.png 1718w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>More options<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">These controls give you the option to copy, duplicate, and edit your block as HTML.<\/p>\n\n\n\n<p class=\"has-text-align-left has-background wp-block-paragraph\" style=\"background-color:#e5f5fa\"><a href=\"https:\/\/wordpress.org\/documentation\/article\/more-options\/\">Read about these and other settings.<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Block settings<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">With the Reddit block selected, there are additional settings in the &#8216;Block&#8217; option of the block editor sidebar.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-medium-font-size\">Media Settings<\/h3>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"554\" height=\"276\" data-id=\"16164623\" src=\"https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.52.27-PM.png\" alt=\"Media settings for the Reddit embed block with the toggle OFF for resizing on smaller devices.\" class=\"wp-image-16164623\" srcset=\"https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.52.27-PM.png 554w, https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.52.27-PM-300x149.png 300w\" sizes=\"auto, (max-width: 554px) 100vw, 554px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"554\" height=\"276\" data-id=\"16164622\" src=\"https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.52.31-PM.png\" alt=\"Media settings for the Reddit embed block with the toggle ON for resizing on smaller devices.\" class=\"wp-image-16164622\" srcset=\"https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.52.31-PM.png 554w, https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.52.31-PM-300x149.png 300w\" sizes=\"auto, (max-width: 554px) 100vw, 554px\" \/><\/figure>\n<\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">With the <em>Media settings<\/em>, you can control the behavior of your Reddit embed when viewed from a smaller device, like on a smartphone screen. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The Toggle switch turns on or off the resize functionality for smaller devices. The default setting is &#8220;on&#8221; or blue. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>&#8220;On:&#8221;<\/strong> This embed will preserve its aspect ratio when the browser is resized. The toggle switch turns blue in the &#8220;On&#8221; position.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>&#8220;Off:&#8221;<\/strong> This embed may not preserve its aspect ratio when the browser is resized. In the off position, the toggle switch is gray. <\/p>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Advanced<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The <em>Advanced<\/em> section lets you add a CSS class to your block, allowing you to write custom CSS and style the block as you see fit.<br><\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><a href=\"https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.53.46-PM-1.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/wordpress.org\/documentation\/files\/2022\/11\/Screenshot-2022-11-04-at-6.53.46-PM-1.png\" alt=\"Additional CSS Class(es) option for the Reddit Embed block.\" class=\"wp-image-16164628\" width=\"277\" height=\"138\" \/><\/a><\/figure>\n\n\n\n<div class=\"wp-block-group changelog has-background is-layout-flow wp-block-group-is-layout-flow\" style=\"background-color:#e0e0e0\">\n<h2 class=\"wp-block-heading has-medium-font-size\" id=\"changelog\">Changelog <\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Updated 2022-11-25\n<ul class=\"wp-block-list\">\n<li>Removed redundant content<\/li>\n\n\n\n<li>Aligned images for mobile view<\/li>\n\n\n\n<li>Expanded the alt text for images<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Screenshots and information updated for WordPress 6.1 (2022-11-04)<\/li>\n\n\n\n<li>Updated 2022-08-01\n<ul class=\"wp-block-list\">\n<li>Added ALT Tags for the images<\/li>\n\n\n\n<li>Added drag and move tool info<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Screenshots updated for 6.0 version 2022-07-26<\/li>\n\n\n\n<li>Created 2020-09-04<\/li>\n<\/ul>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Go back to the list of Blocks Reddit is one of the most popular websites. It hosts a considerable number of communities that share content on an astonishing number of topics. The Reddit block allows you to embed content from Reddit to your post. You do not need to have an account to be able [&hellip;]<\/p>\n","protected":false},"author":17559996,"featured_media":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false},"category":[80,89],"class_list":["post-13355125","helphub_article","type-helphub_article","status-publish","hentry","category-customization","category-embed-blocks"],"revision_note":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/articles\/13355125","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/articles"}],"about":[{"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/types\/helphub_article"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/comments?post=13355125"}],"version-history":[{"count":3,"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/articles\/13355125\/revisions"}],"predecessor-version":[{"id":16360383,"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/articles\/13355125\/revisions\/16360383"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wporg\/v1\/users\/muzhdekad"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/media?parent=13355125"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/category?post=13355125"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}