{"id":15857170,"date":"2022-07-25T17:15:51","date_gmt":"2022-07-25T17:15:51","guid":{"rendered":"https:\/\/wordpress.org\/support\/?post_type=helphub_article&#038;p=15857170"},"modified":"2026-05-21T02:02:47","modified_gmt":"2026-05-21T02:02:47","slug":"comment-date-block","status":"publish","type":"helphub_article","link":"https:\/\/wordpress.org\/documentation\/article\/comment-date-block\/","title":{"rendered":"Comment Date block"},"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 to the List of Blocks<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The <em>Comment Date<\/em> <em>block<\/em> displays the date on which a comment was posted. This block is located inside a Comment Query Loop block and allows users to edit the appearance of the comment date.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1004\" height=\"787\" src=\"https:\/\/wordpress.org\/documentation\/files\/2022\/07\/comment-date-block.png\" alt=\"Comment Date inside the Comment Template block within the Comment \" class=\"wp-image-16368034\" style=\"width:567px;height:444px\" srcset=\"https:\/\/wordpress.org\/documentation\/files\/2022\/07\/comment-date-block.png 1004w, https:\/\/wordpress.org\/documentation\/files\/2022\/07\/comment-date-block-300x235.png 300w, https:\/\/wordpress.org\/documentation\/files\/2022\/07\/comment-date-block-768x602.png 768w\" sizes=\"auto, (max-width: 1004px) 100vw, 1004px\" \/><\/figure>\n\n\n\n<p class=\"has-background wp-block-paragraph\" style=\"background-color:#e5f5fa\">You can only insert the <em>Comment Date block<\/em> inside a Comment Template block within the Comment Query Loop block.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Click the (+) icon inside the Comment Template block to open the block inserter pop-up window and search for the Comment Date Block. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can also use the keyboard shortcut <code>\/comment-date<\/code> to quickly insert a Comment Date block inside a Comment Template block.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"684\" height=\"630\" src=\"https:\/\/wordpress.org\/documentation\/files\/2022\/07\/Block.gif\" alt=\"How to add a Comment Date block\" class=\"wp-image-16368036\" style=\"width:365px;height:337px\" \/><\/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<h2 class=\"wp-block-heading\">Block toolbar<\/h2>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"192\" height=\"55\" src=\"https:\/\/wordpress.org\/documentation\/files\/2022\/07\/Block-toolbar-in-the-Comment-Date-block.png\" alt=\"Block toolbar in the Comment Date block\" class=\"wp-image-16368038\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The block toolbar contains the tools to customize each block. The Comment Date block\u2019s toolbar consists of the following tools:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Transform to<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can transform a&nbsp;<em>Comment Date block<\/em>&nbsp;into a Columns, or a Group block.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img decoding=\"async\" src=\"https:\/\/wordpress.org\/documentation\/files\/2022\/08\/Screen-Shot-2022-08-02-at-10.50.22-AM-1.png\" alt=\"Transform option in the Comment Date block\" class=\"wp-image-15882095\" style=\"width:313px;height:187px\" \/><\/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 aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"170\" height=\"64\" src=\"https:\/\/wordpress.org\/documentation\/files\/2022\/07\/Move-tools-in-the-Comment-Date-block.png\" alt=\"Move tools in the Comment Date block\" class=\"wp-image-16368039\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Use the block-moving tools to move the block up and down inside the editor. Use the six dots icon to drag and drop the <em>Comment Date Block<\/em> and reposition it anywhere on the editor. Alternatively, click on the up and 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>More options<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The <a href=\"https:\/\/wordpress.org\/documentation\/article\/more-options\">More Options menu<\/a> represented by <strong>three vertical dots on the far right of the toolbar<\/strong> gives you more features such as the ability to duplicate, remove, or edit your block as HTML.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"188\" height=\"67\" src=\"https:\/\/wordpress.org\/documentation\/files\/2022\/07\/More-Options-menu-.png\" alt=\"\" class=\"wp-image-16368040\" \/><\/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\/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\">The block settings panel contains customization options specific to the block. To open it, select the block and click the cog icon next to the Publish button.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here are the options for the <em>Comment Date Block<\/em>:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Settings<\/h3>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"267\" height=\"138\" src=\"https:\/\/wordpress.org\/documentation\/files\/2022\/07\/Block-settings-in-the-Comment-Date-block.png\" alt=\"Block settings in the Comment Date block\" class=\"wp-image-16368041\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">In the Settings tab, you can select the Date format. By turning on the <em>Default format<\/em><strong><em> <\/em><\/strong>option, you can choose to use the default date format. When this setting is turned off, you can select the preferred date format from the drop-down list or enter a custom date or time <a href=\"https:\/\/wordpress.org\/documentation\/article\/formatting-date-and-time\/\">format<\/a>.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><img decoding=\"async\" src=\"https:\/\/wordpress.org\/documentation\/files\/2022\/07\/Screen-Shot-2022-07-25-at-9.47.41-AM-2-524x1024.png\" alt=\"Changing the Default date format in the Comment Date block\" class=\"wp-image-15857269\" style=\"width:262px;height:512px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">You can also turn on\/off the  &#8216;<em>Link to comment&#8217;<\/em> switch. Turning on this button will link the date field to the specific comment.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Color <\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The <em>Comment Date Block<\/em> lets you customize the text, background, and link color. Click on any of the options to change the color. Choose from the default color or click the upper rectangle area to pick a custom color using the color picker.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><img decoding=\"async\" src=\"https:\/\/wordpress.org\/documentation\/files\/2022\/07\/Screen-Shot-2022-07-25-at-9.55.47-AM-1-1024x530.png\" alt=\"Color settings in the Comment Date block\" class=\"wp-image-15857281\" style=\"width:363px;height:188px\" \/><\/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\/colors-settings-overview\/\">See this guide for more information about changing colors.<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Typography <\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">To access all the typography options click on the 3-dot button in the right corner of the Typography tab. You also have the option to Reset all the typography changes you made by clicking on the Reset all option in the dropdown.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"568\" height=\"734\" src=\"https:\/\/wordpress.org\/documentation\/files\/2022\/07\/Screen-Shot-2022-07-25-at-10.04.20-AM.png\" alt=\"Reset all typography settings\" class=\"wp-image-15857314\" style=\"width:284px;height:367px\" srcset=\"https:\/\/wordpress.org\/documentation\/files\/2022\/07\/Screen-Shot-2022-07-25-at-10.04.20-AM.png 568w, https:\/\/wordpress.org\/documentation\/files\/2022\/07\/Screen-Shot-2022-07-25-at-10.04.20-AM-232x300.png 232w\" sizes=\"auto, (max-width: 568px) 100vw, 568px\" \/><\/figure>\n\n\n\n<p class=\"has-background wp-block-paragraph\" style=\"background-color:#e5f5fa\"><a href=\"https:\/\/wordpress.org\/documentation\/article\/typography-settings-overview\/\">Get more details about changing typography settings.<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Advanced<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The \u201cAdvanced\u201d tab lets you add CSS class(es) to your block. This will allow you to write custom CSS and styles to the block.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/HCaeEAd-xkijY3husAGN8FkRfOokz6h-mLa1vQoT11JIf366WEE4Y3jtoy6CTOJGTpBZELgZPdIewg2ug8pURV5XtFciGwLHJiNwleOvlGte5WnWTug0SYe4p-qBR54_8oR1NwHM\" alt=\"Advanced option in the selected Block\" style=\"width:283px;height:151px\" \/><figcaption class=\"wp-element-caption\">Advanced option in the selected Block<\/figcaption><\/figure>\n\n\n\n<div id=\"changelog\" class=\"wp-block-group changelog has-background is-layout-flow wp-block-group-is-layout-flow\" style=\"background-color:#dce5ec\">\n<h2 class=\"wp-block-heading has-medium-font-size\">Changelog<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Updated 2025-12-08\n<ul class=\"wp-block-list\">\n<li>Changed capitalization in title and other instances to Comment Date block<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Created 2022-07-25<\/li>\n<\/ul>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Go to the List of Blocks The Comment Date block displays the date on which a comment was posted. This block is located inside a Comment Query Loop block and allows users to edit the appearance of the comment date.&nbsp; You can only insert the Comment Date block inside a Comment Template block within the [&hellip;]<\/p>\n","protected":false},"author":14322318,"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,91],"class_list":["post-15857170","helphub_article","type-helphub_article","status-publish","hentry","category-customization","category-theme-blocks"],"revision_note":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/articles\/15857170","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"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/users\/14322318"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/comments?post=15857170"}],"version-history":[{"count":9,"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/articles\/15857170\/revisions"}],"predecessor-version":[{"id":16368043,"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/articles\/15857170\/revisions\/16368043"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/media?parent=15857170"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/category?post=15857170"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}