Post Date Labels

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
0

评论0

 
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
显示验证码
没有账号?注册  忘记密码?

社交账号快速登录