跳至主要內容
WordPress.org

Taiwan 正體中文

  • 佈景主題目錄
  • 外掛目錄
  • 最新消息
  • 技術支援
  • 關於我們
  • 團隊
  • 取得 WordPress
取得 WordPress
WordPress.org

Plugin Directory

Better Datelines

  • 提交外掛
  • 我的最愛
  • 登入
  • 提交外掛
  • 我的最愛
  • 登入

這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Better Datelines

由 Rinat 開發
下載
  • 詳細資料
  • 使用者評論
  • 安裝方式
  • 開發資訊
技術支援

外掛說明

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!

螢幕擷圖

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

安裝方式

  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.

常見問題集

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; } 

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Better Datelines〉的開發相關工作。

參與者
  • Rinat

將〈Better Datelines〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄。

變更記錄

0.1

  • Initial Release

中繼資料

  • 版本 0.1
  • 最後更新 12 年前
  • 啟用安裝數 少於 10 次
  • WordPress 版本需求 3.6 或更新版本
  • 已測試相容的 WordPress 版本 3.7.41
  • 語言
    English (US)
  • 標籤
    contenteditorialexcerptnews
  • 進階檢視

評分

5 星,滿分為 5 星
  • 1 個 5 星使用者評論 5 星 1
  • 0 個 4 星使用者評論 4 星 0
  • 0 個 3 星使用者評論 3 星 0
  • 0 個 2 星使用者評論 2 星 0
  • 0 個 1 星使用者評論 1 星 0

Your review

查看全部使用者評論

參與者

  • Rinat

技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

檢視技術支援論壇

  • 關於我們
  • 最新消息
  • 主機代管
  • 隱私權
  • 展示網站
  • 佈景主題目錄
  • 外掛目錄
  • 區塊版面配置目錄
  • Learn
  • 技術支援
  • 開發者資源
  • WordPress.tv ↗
  • 共同參與
  • 活動
  • 贊助基金會 ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Taiwan 正體中文

  • 查看我們的 X (之前的 Twitter) 帳號
  • 造訪我們的 Bluesky 帳號
  • 造訪我們的 Mastodon 帳號
  • 造訪我們的 Threads 帳號
  • 造訪我們的 Facebook 粉絲專頁
  • Visit our Instagram account
  • Visit our LinkedIn account
  • 造訪我們的 TikTok 帳號
  • Visit our YouTube channel
  • 造訪我們的 Tumblr 帳號
程式碼,如詩
The WordPress® trademark is the intellectual property of the WordPress Foundation.