Home Plugins post date labels
Post Date Labels logo

Post Date Labels

by Small Plugins on WordPress.org

Add contextual labels (prefix/suffix) to post date blocks in the WordPress block editor.

(0)
Post Date block with custom prefix and suffix labels in the editor

Post Date block with custom prefix and suffix labels in the editor

Post Date Labels is a lightweight WordPress plugin that enhances the post date block by allowing you to add contextual labels before and after the date. Perfect for adding context like “Published on”, “Last updated”, or custom labels to make your post dates more meaningful.

Key Features:

  • Add custom prefix and suffix labels to post date blocks
  • Separate labels for published and modified dates
  • Automatic detection of date type (published vs modified)
  • Clean, semantic HTML output with proper CSS classes
  • Works seamlessly with the WordPress block editor
  • Lightweight and performance-optimized
  • No configuration required – works out of the box

Use Cases:

  • Add “Published on” before publication dates
  • Add “Last updated” before modification dates
  • Include timezone information after dates
  • Create custom date formatting with contextual labels
  • Improve content accessibility and user experience

How It Works:

The plugin automatically detects whether a post date block is displaying the published date or modified date and applies the appropriate labels. You can customize the labels directly in the block editor sidebar when editing a post date block.

Developer Friendly:

  • Clean, well-documented code
  • Follows WordPress coding standards
  • Extensible architecture
  • Proper CSS classes for styling customization
Active installations0+
Weekly downloads
10+0.00%
Version1.0.1
Last updated5/28/2025
WordPress version5.8
Tested up to6.7.2
PHP version7.0
Tags
block-editordate labelsdate prefixgutenbergpost date