SMNTCS Simple Events Widget

外掛說明

SMNTCS Simple Events Widget is a lightweight way to pin calendar dates to individual posts, pages, or WooCommerce products and show them in the sidebar when visitors browse your site.

You pick a start date and, if you want, an end date, right in the editor. Then you drop the Simple Events Widget into a widget area and decide whether to show what is still ahead, what has already passed, or both. You can show only the start date or start and end together, change the sort order, add a line break before the title, and dates respect your site’s language and date format.

  • Event fields (with date picker) on posts, pages, and on products when WooCommerce is active
  • Widget: upcoming events, previous events, or both
  • Display start date only or start and end date
  • Sort order and optional line break between date and title
  • Classic WordPress widget—place it under Customize Widgets or in your theme’s widget regions

螢幕擷圖

  • Create page or post and specify event date.
  • Add Simple Events Widget to the sidebar.
  • See desired events within the sidebar.

安裝方式

  1. Upload smntcs-simple-events-widget to the /wp-content/plugins/ directory.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Go to post or page and provide a start date of the event.
  4. If wanted, also provide an end date of the event.
  5. Go to Customize » Widgets, add the Simple Events Widget to the required sidebar.
  6. Adjust the widget settings according to your needs.

使用者評論

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

參與者及開發者

以下人員參與了開源軟體〈SMNTCS Simple Events Widget〉的開發相關工作。

參與者

〈SMNTCS Simple Events Widget〉外掛目前已有 4 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈SMNTCS Simple Events Widget〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

2.5 (2025.03.25)

  • Tested up to WordPress 6.9
  • Add widget options for event sort order and line break between date and title
  • Use date_i18n for localized date output
  • Include WooCommerce products when querying events
  • Update Composer dev dependencies; replace phpcs.dist.xml with phpcs.xml; refresh GitHub Actions

= 2.4 (2025.03.23)

  • Tested up to WordPress 6.8

2.3 (2024.04.07)

  • Tested up to WordPress 6.5

2.2 (2023.11.12)

  • Fix datepicker issue

2.1 (2023.11.12)

  • Convert to OOP

2.0 (2023.10.28)

  • Fix i18n issue

1.9 (2023.10.21)

  • Tested up to WordPress 6.4

1.8 (2023.05.28)

  • Fix warning when regarding undefined array key

1.7 (2023.05.07)

  • Only execute plugin on posts and pages
  • Remove line break after event list

1.6 (2023.05.07)

  • Show message when no events are available
  • Tested up to WordPress 6.2

1.5 (2022.12.03)

  • Tested up to WordPress 6.1

1.4 (2022.05.29)

  • Tested up to WordPress 6.0

1.3 (2022.01.01)

  • Tested up to WordPress 5.9

1.2 (2019.12.31)

  • Tested up to WordPress 5.8

1.1 (2019.02.19)

  • Tested up to WordPress 5.0

1.0 (2018.04.09)

  • Initial release