Document Home | All Tag List
>>Material Top >> Wordpress Document >> Author Tags >> get_month_link()
月間アーカイブページのURLをPHPで使えるように返します。 ブラウザに表示されません。 yearとmonthパラメータに''が渡されると、現在表示中のページの年月を使用します。
<?php get_month_link('year', 'month'); ?>
<a href="<?php echo get_month_link('', ''); ?>">All posts this month</a>