2011年7月24日のブックマーク (2件)

  • 特定のカテゴリを指定または除外したサムネイル付きの関連記事を表示するphp

    関連記事は表示したい。プラグインだとページごとに細かい使い分けができない。じゃあphpで書くしかないじゃないか!! ということで色々調べたのでメモします。 今回やりたかったこと 前回の記事が完全に無駄になってしまったような気がしないでもないですが、 わたしが今回やりたかったのは以下の3項目なんです。 複数タグを取得した関連記事の表示 ただしイケm特定のカテゴリに限る サムネイルの表示 一番上に関してはみんな大好きWEBクリエイターボックスさんの この記事に書いてあるphpでバッチリだったので使わせて頂きました。 参考:プラグインを使わずWordPressに9の機能をつける | Webクリエイターボックス こんな感じのphpを書いたら動いた! マナさんのphpを参考に、2つくらい記述を足しただけです。 <?php $original_post = $post; $tags = wp_get_

    特定のカテゴリを指定または除外したサムネイル付きの関連記事を表示するphp
    lotus_tribal
    lotus_tribal 2011/07/24
    【ブログ書いた】
  • yoshikazuasada.biz

    This domain was recently registered at Namecheap.com. Please check back later! yoshikazuasada.biz 2021 著作権. 不許複製 The Sponsored Listings displayed above are served automatically by a third party. Neither the service provider nor the domain owner maintain any relationship with the advertisers. In case of trademark issues please contact the domain owner directly (contact information can be found in w