[Plugin][CustomizablePostListings]やめときゃよかtt

何が言いたかったかというと、テンプレートタグとほぼ似てるから覚えやすいですよー
って事と、慣れない解説なんてヤメレって事(´ζ_`)

ワタクシ?分からないで使ってますがなにか?

Display Recent Posts, Recently Commented Posts, Recently Modified Posts, Random Posts, and other post listings using the post information of your choosing in an easily customizable manner. You can narrow post searches by specifying categories and/or authors, among other things.

» Plugin: Customizable Post Listings « « Blog Archive coffee2code.com (2006-09-08)

    %comments_count%  // コメント数のカウント。

    %comments_fancy%  // Fancy reporting of comments: (see get_recent_tagmap())

    %comments_url%   // コメントのURI(コメント記事の)

    %comments_URL%  // コメント元記事のタイトルURL

    %last_comment_date%  // 最後にコメントされた日時データ

    %last_comment_id%  // 最後のポストコメントID

    %last_comment_URL%  // 一番コメントされているURL(記事等)

    %last_commenter%  // 最後にコメントした人のHNなどのデータ

    %last_commenter_URL // 最後にコメントした人の記事URL

    %post_author%  // 記事の著者

    %post_author_count%  // 著者の投稿件数

    %post_author_posts%  // 著者の記事

    %post_author_url%    // 著者の記事URL

    %post_content%  // 投稿された記事全て

    %post_date%    // 記事のデータ

    %post_excerpt%  // 抜粋記事

    %post_excerpt_short% // 抜粋記事(さらに短い)

    %post_id%    // 投稿記事ID

    %post_modified%  // 記事の最終書き換え日

    %post_title%    // 記事タイトル

    %post_url%    // 記事URI

    %post_URL%    // 記事のパームリンク

上記引数を

  • function c2c_get_recent_posts
  • function c2c_get_random_posts
  • function c2c_get_recently_commented
  • function c2c_get_recently_modified

の4つで組み合わせて使う(と思う)

Exp:

<ul>

   Recent Posts

  <?php c2c_get_recent_posts(3); ?>

</ul>

だと過去投稿3件を表示(最新)

 

<ul>Recently Commented

   <?php c2c_get_recently_commented(3); ?>

</ul>

だとコメントのあった3件を表示(最新)

Tag:

人気度: 11%

Post Script

625 published [Plugin][CustomizablePostListings]やめときゃよかtt on 土曜日, 7月 8th, 2006 at 17:44:52. It's been categorized as WordPressand WEB・DesignTipsand Pluginの解説やメモ and tagged with No Tags. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a trackback from your own site.

2 Comments

  1. Tony
    2006/12/13 水曜日

    What I want to do on my blog, is every few hours take the oldest post and move it to the
    front of the queue, all automatically. Anyone know if there is a plugin that can do this or
    a simple way to set up another plugin to do this (use my own feed perhaps)?
    Thanks.

  2. pitching trainer
    2006/12/18 月曜日

    There was no lack of courage in their power to give the charming girl really felt the same proximity producing hostility in whose sterner natures, that my affairs turned out at twelve, I frankly admit a strong appeal to his owners, having an inherent love of gold.

Leave a comment