Skip to content


WordPress -最新のエントリーに投稿日付を表示する

このエントリーをはてなブックマークに追加
はてなブックマーク - WordPress -最新のエントリーに投稿日付を表示する
Share on Facebook
Post to Google Buzz
Bookmark this on Yahoo Bookmark
Bookmark this on Livedoor Clip
Share on FriendFeed
Share on GREE

Wordpressで「最新の投稿」に日付を表示したいと思い調べてみた。
ちなみに筆者のテーマはvicunaを利用しているので、違うテーマの場合は変更内容が違うかもしれない。


手順

  1. Scott Reilly’s WordPress Plugins Pluginsから、customizable-post-listingsというプラグインをダウンロード+pluginsディレクトリに展開
  2. 管理画面でcustomizable-post-listingsプラグインを有効にする
  3. サイドバー(sidebar.php)を以下の様に変更
  4. <?php wp_get_archives('type=postbypost&limit=5'); ?>

    <?php c2c_get_recent_posts(5,"<li>%post_URL% (%post_date%)</li>",'','date','DESC',0,'n/j'); ?>

参考にさせて頂いた記事:最新のエントリーに投稿日付を表示する for WordPress

関連するかもしれない記事



他のブログも読む

Posted in WordPress.

Tagged with , , .


One Response

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

Continuing the Discussion

  1. Wordpress -特定カテゴリのみの最新記事をリスト表示する - ITめもりーにょ linked to this post on 2009年10月10日

    [...] 導入済みのプラグインで対処できるとのことだった。 過去の記事、「Wordpress -最新のエントリーに投稿日付を表示する」で紹介した、Customizable Post Listingsを利用する。 以下に記すc2c_get_rec [...]



Some HTML is OK

or, reply to this post via trackback.

*