這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Nordic Name Days

描述

This mini plugin register shortcode [sk-nnd-name-days] to display current name days in Nordic countries. Supported countries are Finland,
Norway, Sweden and Denmark. By default shortcode [sk-nnd-name-days] displays current day of the week, day and name days in Finland. You can use
use shortcode in posts, pages and text widget. This plugin idea is from International Namedays plugin.

Shorcode usage and attributes in other countries

Here is how you use shortcode in other languages.

  1. Norway: [sk-nnd-name-days language=”nb_NO”]
  2. Sweden: [sk-nnd-name-days language=”sv_SE”]
  3. Denmark: [sk-nnd-name-days language=”da_DK”]

Other shortcode attributes are before, after, language, separator (default is |) and dateformat (default is l j.n.Y). You can use these attributes
like this.

[sk-nnd-name-days language="nb_NO" before="Name days: " after="" separator="-" dateformat="j.n.Y"]

If you want to display name days in your theme template file, add this code.

<?php 
// Display name of the day
if ( function_exists( 'sk_nnd_name_days_shortcode' ) ) {

    echo do_shortcode( '[sk-nnd-name-days]' ); 

}
?>

螢幕截圖

  • Name Days in Finland

安裝

  1. Upload nordic-name-days to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.

常見問題

Why was this plugin created?

I needed this feature and someone else might need it too.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Nordic Name Days” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Nordic Name Days 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

0.2.1

  • Add translation files.

0.2

  • Everything’s brand new.