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

Date Published Shortcode

描述

The short description really says it all. No bullshit, no complex stuff, just a simple shortcode that you can copy and paste to save a few seconds. I really made this so that I wouldn’t have to glance at the date every time that I posted an article; quite lazy, I know, but automating stuff is cool, and now I at least know how to put up a plugin on the WordPress repository.

螢幕截圖

  • This is what your shortcode should look like. Really simple, just [post_published].
  • This is what it should look like on the front end.

安裝

  1. Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the Settings->Plugin Name screen to configure the plugin

評價

2018年7月29日
I noticed this coding on a blog, but was paranoid about digging into code. I’m gratified to see it in plugin form. Gave me the motsy to open this up in the wp editor, so I could add my preferred date format ( ‘M j, Y’ ) for Jul 29, 2018. Happy camper! Thank you
閱讀全部1個評價

貢獻者及開發者

“Date Published Shortcode” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Date Published Shortcode 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

0.1.0

The first, and probably last, change.

0.1.1

Fully up to date, thanks to a very nice tweet 🙂

<?php code(); // goes in backticks ?>