get_calendar – WordPress*リファレンス

カレンダー(現在の月/年をデフォルトとする)を表示します。 ポストがある何日もそういうものとして流行に合わせられています。 テンプレートの中にどこでもこのタグを使用することができます。

原文(翻訳元): ⇒Displays the calendar (defaults to current month/year). Days with posts are styled as such. This tag can be used anywhere within a template.

タグ使用方法

<?php get_calendar(); ?>

Default Usage

どんな日付のポストによるカレンダーハイライトも表示します。

原文(翻訳元): ⇒Displays calendar highlighting any dates with posts.

<?php get_calendar(); ?>

Displays Weekday Abbrevations

初期で1文字を使用する表示日専用; 1.5、イニシャルがあなたのWordPress Localizationに基礎づけた表示で。

原文(翻訳元): ⇒Display days using one-letter initial only; in 1.5, displays initial based on your WordPress Localization.

<?php get_calendar(true); ?>

Parameters

initial

(boolean) 本当であるなら、初期で1文字を使用することで1日を表示するでしょう; 誤っていると、あなたのローカライズに基づく略語は使用されるでしょう。 例えば:

  • false causes “Sunday” to be displayed as “Sun”
  • true (default) causes it to be “S”

原文(翻訳元): ⇒(boolean) If true, the day will be displayed using a one-letter initial; if false, an abbreviation based on your localization will be used. For example:

  • false causes “Sunday” to be displayed as “Sun”
  • true (default) causes it to be “S”

関連テンプレートタグ

bloginfo, bloginfo_rss, get_bloginfo, get_bloginfo_rss, wp_title, get_archives, wp_get_archives, get_calendar, get_posts, wp_list_pages, wp_dropdown_pages, wp_loginout, wp_register, query_posts, rss_enclosure


HOME » テンプレートタグ » 全体的なタグ » get_calendar – WordPress*リファレンス