Skip to content
WordPress.org
  • Showcase
  • Plugins
  • Themes
  • Hosting
  • News
    • Learn WordPress
    • Documentation
    • Education
    • Forums
    • Developers
    • Blocks
    • Patterns
    • Photos
    • Openverse ↗︎
    • WordPress.tv ↗︎
    • About WordPress
    • Make WordPress
    • Events
    • Five for the Future
    • Enterprise
    • Gutenberg ↗︎
    • Job Board ↗︎
    • Swag Store ↗︎
  • Get WordPress
Get WordPress
WordPress.org

Plugin Directory

Better Datelines

  • Submit a plugin
  • My favorites
  • Log in
  • Submit a plugin
  • My favorites
  • Log in

This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Better Datelines

By Rinat
Download
  • Details
  • Reviews
  • Installation
  • Development
Support

Description

A dateline is a brief piece of text included in news articles that describes where and when the story occurred, or was written or filed, though the date is often omitted. This plugin gives you ability to store datelines as a meta field so you don’t have to include them in your post body.

You can use either [better-dateline] shortcode to insert dateline manually or automatically prepend post content with a dateline. (See Frequently Asked Questions)

If you’d like to check out the code and contribute, join us on GitHub. Pull requests, issues, and plugin recommendations are more than welcome!

Screenshots

  • Screenshot of edit post screen with a dateline
  • Screenshot of a post with a dateline

Installation

  1. Upload the better-datelines folder to your plugins directory (e.g. /wp-content/plugins/).
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. You’ll see a dateline textarea on post edit screen.

FAQ

How do I enable automatic prepending of dateline to the post content?

Put add_filter( ‘better_datelines_prepend_the_content’, ‘__return_true’ ); to your theme’s functions.php

How do I change the format of automatically prepended dateline?

There’s another filter for that: ‘better_datelines_formatted_content’, filter accepts 3 arguments, so to add a filter add_filter( ‘better_datelines_formatted_content’, ‘my_better_datelines_formatted_content’, 10, 3); function my_better_datelines_formatted_content( $formatted_content, $dateline, $original_content ) { // Do something

    return $formatted_content; } 

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Better Datelines” is open source software. The following people have contributed to this plugin.

Contributors
  • Rinat

Translate “Better Datelines” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

0.1

  • Initial Release

Meta

  • Version 0.1
  • Last updated 12 years ago
  • Active installations Fewer than 10
  • WordPress version 3.6 or higher
  • Tested up to 3.7.41
  • Tags
    contenteditorialexcerptnews
  • Advanced View

Ratings

5 out of 5 stars.
  • 1 5-star review 5 stars 1
  • 0 4-star reviews 4 stars 0
  • 0 3-star reviews 3 stars 0
  • 0 2-star reviews 2 stars 0
  • 0 1-star reviews 1 star 0

Your review

See all reviews

Contributors

  • Rinat

Support

Got something to say? Need help?

View support forum

  • About
  • News
  • Hosting
  • Privacy
  • Showcase
  • Themes
  • Plugins
  • Patterns
  • Learn
  • Documentation
  • Developers
  • WordPress.tv ↗
  • Get Involved
  • Events
  • Donate ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org
  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Visit our Facebook page
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
Code is Poetry
The WordPress® trademark is the intellectual property of the WordPress Foundation.