
內容簡介
簡碼 [wcyear] 可顯示當前年份,您可以將此簡碼放置在 WordPress 網站的任何位置。
重要提示:如果您想將此簡碼放置在文章和頁面標題中,請前往外掛設置中檢查「啟用標題中的簡碼」。
如果您使用 Yoast SEO,可以啟用相關設置以使簡碼與 Yoast SEO 外掛配合使用。對於其他 SEO 外掛,您應使用它們內置的動態標籤來顯示當前年份。
注意: 最好使用 SEO 外掛提供的動態標籤來顯示當前年份在 meta 標題中。
外掛標籤
開發者團隊
② 後台搜尋「Current Year Shortcode (for Post Titles)」→ 直接安裝(推薦)
原文外掛簡介
The shortcode [wcyear] will display the current year. You can place this shortcode anywhere in your WordPress site.
IMPORTANT: If you want to place this shortcode in post and page titles, go the plugin settings to check “Enable Shortcode in titles”.
If you use Yoast SEO, you can enable the relevant setting for the shortcode to work with Yoast SEO plugin. For other SEO plugins, you should use their inbuilt dynamic tags to diplay the current year.
NOTE: It’s best to use the dynamic tags that come with SEO plugins for displaying current year in meta titles.
