Document Home | All Tag List
>>Material Top >> Wordpress Document >> Author Tags >> get_year_link()
年間アーカイブページへのリンクURLをPHPで使用出来るように返します。 ブラウザに表示されません。 引数に''が渡されると、現在表示中のページの年を使用します。
<?php get_year_link('year'); ?>
<a href="<?php echo get_year_link(''); ?>">Posts from this year</a>