the_weekday – WordPress*リファレンス
この関数は非推奨されています。それは新しい関数に置き換えられていますかは、もはやサポートされており、将来のバージョンから削除されることを意味することがあります。この関数を使用するすべてのコードが存在する場合は、交換を使用するように変換する必要があります。
⇒This function has been deprecated. That means it has been replaced by a new function or is no longer supported, and may be removed from future versions. All code that uses this function should be converted to use its replacement if one exists.
曜日(例えば、金曜日)を表示します。 Loopの中でこのタグを使用しなければなりません。
⇒Displays the day of the week (e.g. Friday). This tag must be used within The Loop.
the_weekdayのテンプレートタグ使用方法
<?php the_weekday() ?>
例
<p>This was posted on a <?php the_weekday() ?>.</p>
the_weekdayのパラメーター
このタグはどんなパラメタも受け入れません。
⇒This tag does not accept any parameters.
Replaced With
このタグを取り替えるには、’l'と共に書式の記号列としてthe_time()を費やしてください:
⇒To replace this tag, use the_time() with ‘l’ as the format string:
<?php the_time('l'); ?>
日時の書式の記号列使用の情報に関してFormatting DateとTimeを見てください。
⇒See Formatting Date and Time for information on date and time format string use.
関連テンプレートタグ
the_date_xml, the_date, the_time, the_modified_date, the_modified_time, get_the_time, single_month_title, get_calendar, the_weekday , the_weekday_date
関連記事







