前言介紹
- 這款 WordPress 外掛「Current Date for Posts, Pages, or Template」是 2019-12-11 上架。 目前已經下架不再更新,不建議安裝使用。
- 目前有 20 個安裝啟用數。
- 上一次更新是 2019-12-12,距離現在已有 1970 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 3.1 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 5.6 以上。
- 有 1 人給過評分。
- 論壇上目前有 1 個提問,問題解答率 0%
外掛協作開發者
外掛標籤
current date | current time | date shortcode |
內容簡介
顯示當前時間和日期
您是否曾經想在您的網站上顯示今天的日期並保持其自動更新以供搜索引擎和訪客使用?
這個外掛程式最大程度地提供了彈性,讓您選擇當前時間戳記的格式和時區。
對SEO友好且代碼輕量
這個外掛程式包含輕量代碼,讓頁面載入非常快速,對SEO友好,並且它是開發的,以保持完全與WordPress 3.1(2011)到WordPress 5 +(2019),從PHP 5.6到PHP 7.3的兼容性。
特點:
從數十個選項中選擇您的時區。
選擇您喜歡的日期格式
輕量代碼,快速加載頁面,保持良好的頁面速度分數
此外掛程式不會向訪問者設置cookie
與所有解析度兼容:桌面,平板電腦和智能手機
使用方法:
要使用此外掛程式在內容中顯示當前時間戳記,您擁有2個簡單的選擇,以實現最大的彈性。
選項1:使用短碼
為了在特定文章或頁面中顯示輸出,使用此代碼:
[Current_Date title="custom-title"]
或者
[Current_Date]
為了在WordPress模板中顯示輸出,使用此代碼:
選項2:使用小工具
前往「外觀」>「小工具」,並添加「Current_Date」小工具以展示在您想要的位置。
原文外掛簡介
SHOW CURRENT TIME AND DATE
Have you ever wanted to show the date of today in your website and keep it automatically updated for Search Engines and visitors?
This plugin gives you maximum flexibility to choose the format and timezone for current timestamp.
SEO-friendly and lightweight code
This plugin contains lightweight code to be very fast to load, SEO-friendly, and it is developed to have full compatibility with WordPress 3.1 (2011) up to WordPress 5+ (2019), from PHP 5.6 up to PHP 7.3.
FEATURES:
Select your timezone from a list of dozens of options.
Choose your favourite format to show the date
Lightweight code to quickly load the page and keep a good pagespeed score
No cookies are set by this plugin to visitors
Compatible with all resolutions: desktop, tablet, and smartphones
HOW TO USE:
In order to display current timestamp in your content using this plugin, you have 2 easy options to have maximum flexibility.
OPTION 1: Use a shortcode
In order to display the output in your specific posts or pages use this code:
[Current_Date title="custom-title"]
or
[Current_Date]
In order to display the output in your WordPress template use this code:
OPTION 2: Use a widget
Go to Appearance > Widgets and add Current_Date widget where you want to show it.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Current Date for Posts, Pages, or Template」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
Current Year Date Shortcode 》總結:Curent Year Date 是一個 WordPress 外掛,讓您透過簡單的短碼在 WordPress 網站的任何地方插入當前的年份、月份和日期。, , 1. 如何在 WordPress 網站...。