该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

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 ?>