Current Year Shortcode VICT

描述

A shortcode to display the current year, for example in the footer section.
When using this shortcode you don’t have to manually update the year on your website, when a new year begins.

Just add the shortcode where you need it, within the text. Don’t forget to use the [ ] brackets.

[vict_year] displays the current year

螢幕截圖

  • Example of shortcode in Customizer and front-end view.
  • Example of shortcode in Widget menu and front-end view.

安裝

  1. Upload the plugin files to the \\’/wp-content/plugins/\\’ directory, or install the plugin through the WordPress plugins utility directly.
  2. Activate the plugin from the plug-in menu in WordPress.
  3. Add the shortcode wherever needed.

常見問題

Q: What shortcode do I use?

A: [vict_year] displays the current year wherever you want.

Q: Can I use the code only for my site footer section?

A: No, you can use the shortcode wherever you want. But ofcourse it is a really good idea to use the shortcode in the footer/copyright section.

Q: where can I use the shortcode?

A: anywhere you can use an shortcode in WordPress.

評價

2021年2月8日
Doet wat het moet doen! Het laat het huidige jaartal zien, en je kan de shortcode bewerken in je eigen stijl waardoor het jaartal veranderd met de opmaak.
2019年12月25日
Doet precies wat er staat. Geen extra opties etc. Laat gewoon het huidige jaar zien, waar je de shortcode hebt geplaatst.
閱讀全部3個評價

貢獻者及開發者

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

貢獻者

Current Year Shortcode VICT 外掛目前已有 3 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 Current Year Shortcode VICT 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

1.9

  • Update: updated code for WordPress version 6.0.

1.8

  • Update: updated code for WordPress version 5.9.

1.7

  • Update: checked code with WordPress version 5.8 and updated the FAQ.

1.6

  • Update: checked code with WordPress version 5.7 and updated it.

1.5

  • Update: checked code with WordPress version 5.6 and updated the FAQ.

1.4

  • Update: checked code with WordPress version 5.5 and updated it.

1.3

  • Update: checked code with WordPress version 4.5 and updated the Description.

1.2

  • Update: changed Description, FAQ and screenshots.

1.1

  • Bugfix: changed shortcode because of possible issues due to duplicate shortcodes within WordPress.
  • Update: updated the Description and FAQ section with the new shortcode.

1.0

  • First release of plugin