Title: Texlab Current Year
Author: Texlab IT
Published: <strong>2024 年 4 月 7 日</strong>
Last modified: 2025 年 4 月 19 日

---

搜尋外掛

![](https://s.w.org/plugins/geopattern-icon/texlab-current-year.svg)

# Texlab Current Year

 由 [Texlab IT](https://profiles.wordpress.org/texlab/) 開發

[下載](https://downloads.wordpress.org/plugin/texlab-current-year.1.1.0.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/texlab-current-year/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/texlab-current-year/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/texlab-current-year/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/texlab-current-year/#developers)

 [技術支援](https://wordpress.org/support/plugin/texlab-current-year/)

## 外掛說明

Texlab Current Year is a lightweight WordPress plugin that allows you to display
the current year anywhere on your website using a simple shortcode. This is particularly
useful for copyright notices and other date-sensitive content that needs to be automatically
updated each year.

#### Features

 * Simple shortcode `[texlab_current_year]` to display the current year
 * Supports internationalization (i18n)
 * Lightweight and efficient
 * No configuration needed
 * Works with any theme
 * Perfect for footer copyright notices

#### Usage

Simply insert the shortcode `[texlab_current_year]` anywhere in your posts, pages,
or widgets where you want the current year to appear.

Example usage in a copyright notice:
 © [texlab_current_year] Your Company Name.
All rights reserved.

#### Developers

 * GitHub Repository: [Texlab Current Year on GitHub](https://github.com/texlabit/texlab-current-year)
 * Feel free to contribute to the development of this plugin

### Additional Info

For more information and support, please visit:
 [Texlab IT](https://www.texlabit.com/contact/)

## 安裝方式

 1. Upload the plugin files to the `/wp-content/plugins/texlab-current-year` directory,
    or install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. Use the shortcode `[texlab_current_year]` in your content

## 常見問題集

### How do I use this plugin?

Simply insert the shortcode `[texlab_current_year]` wherever you want the current
year to appear.

### Does this plugin slow down my website?

No, this plugin is very lightweight and only loads the minimal code needed to display
the current year.

### Can I use this in my theme’s template files?

Yes, you can use the shortcode in template files by using the `do_shortcode()` function:

### Does it support different date formats?

Currently, the plugin only displays the year in YYYY format. If you need different
date formats, please contact us for feature requests.

## 使用者評論

![](https://secure.gravatar.com/avatar/c2de97ae2f8a2e488992b8b0f8c08c6af742e1bb89fcdad8e05b8adecadfd78a?
s=60&d=retro&r=g)

### 󠀁[Extremely beneficial plugin](https://wordpress.org/support/topic/extremely-beneficial-plugin/)󠁿

 [awal2645](https://profiles.wordpress.org/awal2645/) 2024 年 4 月 7 日

Extremely beneficial plugin

 [ 閱讀全部 1 則使用者評論 ](https://wordpress.org/support/plugin/texlab-current-year/reviews/)

## 參與者及開發者

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

參與者

 *   [ Texlab IT ](https://profiles.wordpress.org/texlab/)

[將〈Texlab Current Year〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/texlab-current-year)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/texlab-current-year/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/texlab-current-year/)，或透過
[RSS](https://plugins.trac.wordpress.org/log/texlab-current-year/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/texlab-current-year/)。

## 變更記錄

#### 1.1.0

 * Added proper class-based structure
 * Improved code organization and documentation
 * Added internationalization support
 * Added activation and deactivation hooks
 * Enhanced security measures

#### 1.0.0

 * Initial release

## 中繼資料

 *  版本 **1.1.0**
 *  最後更新 **1 年前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 5.2 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.8.5**
 *  PHP 版本需求 ** 7.2 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/texlab-current-year/)
 * 標籤:
 * [current year](https://tw.wordpress.org/plugins/tags/current-year/)[date](https://tw.wordpress.org/plugins/tags/date/)
   [shortcode](https://tw.wordpress.org/plugins/tags/shortcode/)[year](https://tw.wordpress.org/plugins/tags/year/)
 *  [進階檢視](https://tw.wordpress.org/plugins/texlab-current-year/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  1 個 5 星使用者評論     ](https://wordpress.org/support/plugin/texlab-current-year/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/texlab-current-year/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/texlab-current-year/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/texlab-current-year/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/texlab-current-year/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/texlab-current-year/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/texlab-current-year/reviews/)

## 參與者

 *   [ Texlab IT ](https://profiles.wordpress.org/texlab/)

## 技術支援

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

 [檢視技術支援論壇](https://wordpress.org/support/plugin/texlab-current-year/)