WIKI使用導(dǎo)航
站長百科導(dǎo)航
站長專題
- 網(wǎng)站推廣
- 網(wǎng)站程序
- 網(wǎng)站賺錢
- 虛擬主機(jī)
- cPanel
- 網(wǎng)址導(dǎo)航專題
- 云計(jì)算
- 微博營銷
- 虛擬主機(jī)管理系統(tǒng)
- 開放平臺(tái)
- WIKI程序與應(yīng)用
- 美國十大主機(jī)
WordPress:Template Tags/the weekday
來自站長百科
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.
描述[ ]
顯示星期幾(例如,星期五)。必須在The Loop內(nèi)使用這個(gè)標(biāo)簽。
取代[ ]
要取代這個(gè)標(biāo)簽,請使用the_time(),用'l'作為格式字符串:
<?php the_time('l'); ?>
請看看日期和時(shí)間格式關(guān)于日期和時(shí)間字符串的使用的信息。
用法[ ]
%%% <?php the_weekday() ?> %%%
例子[ ]
<p>This was posted on a <?php the_weekday() ?>.</p>
參數(shù)[ ]
這個(gè)標(biāo)簽不接受任何參數(shù)。