Simple Show Date

描述

Add today’s date (or tomorrow, yesterday, or any relative day) anywhere on your website using simple shortcodes. No coding knowledge required.

Just install & activate the plugin, copy a shortcode from the settings page, and paste it where you want the date to appear.

Features

  • Show today’s date
  • Show tomorrow / previous day / any relative day
  • Multiple built-in date formats
  • Custom date format shortcode
  • Fully compatible with all devices
  • Lightweight – no conflicts with other plugins
  • Completely free – no ads or upsells

Shortcodes

Default styles
* [ssdc2tw_date] – Default format
* [ssdc2tw_date style="2"] – d/m/Y
* [ssdc2tw_date style="3"] – Full day name
* [ssdc2tw_date day="1"] – Tomorrow
* [ssdc2tw_date day="-1"] – Yesterday

Custom format
* [ssdc2tw_custom_date format="d/m/Y"]
* [ssdc2tw_custom_date day="2" format="l, F j, Y"]

屏幕截图

安装

  1. Upload the simple-show-date folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Go to Show Date in the admin menu.
  4. Copy the shortcode you need and paste it on any page, post, or widget.

常见问题

How do I show today’s date?

Use the shortcode [ssdc2tw_date].

How do I show tomorrow or yesterday?

Use the day attribute: [ssdc2tw_date day="1"] for tomorrow, [ssdc2tw_date day="-1"] for yesterday.

Can I use a custom date format?

Yes. Use [ssdc2tw_custom_date format="YOUR_FORMAT"].

Where can I get support?

Contact us at support@come2theweb.com or info@come2theweb.com.

评价

此插件暂无评价。

贡献者及开发者

「Simple Show Date」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「Simple Show Date」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志。

更新日志

1.1.1

  • Removed automatic YouTube iframe from admin settings page (Guideline: no external iframes without user action)
  • Replaced embed with a simple external link that requires user click

1.1

  • Fixed all WordPress.org guideline issues
  • Removed activation email that sent site data without consent
  • Fixed Plugin URI (was returning 404)
  • Updated Contributors, Tested up to 7.1, reduced tags to 5
  • Fixed short description length
  • Improved admin script loading (only on plugin page)
  • Code cleanup

1.0

  • Initial version