Post Date Labels

Post Date Labels

Details
View on WordPress

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

Details

Plugin code:
post-date-labels
Plugin version:
1.0.2
Outdated:
No
WP version:
5.8 or higher
PHP version:
7.0 or higher
Test up to WP version:
6.7.4
Total installations:
0
Last updated:
2026-01-27
Rating:
Times rated:
0
block-editor
date-labels
date-prefix
gutenberg
post-date