Skip to content


WordPress -My Category Orderプラグイン導入

このエントリーをはてなブックマークに追加
はてなブックマーク - WordPress -My Category Orderプラグイン導入
Share on Facebook
Post to Google Buzz
Bookmark this on Yahoo Bookmark
Bookmark this on Livedoor Clip
Share on FriendFeed
Share on GREE

WordpressにMy Category Orderというプラグインを導入したのだが、どうも上手くカテゴリの順番が変更出来ない。

ってことてグーグル先生に聞いてみたら答えが見つかったのでメモ。

vicunaCMSの場合は有効化するだけじゃ動かないらしく、以下の手順が必要とのこと。

  1. テンプレート(sidebar.php)のカテゴリー表示部分を以下のように書き換え
  2. <?php wp_list_cats・・・

    <?php wp_list_categories('orderby=order&style=list&hide_empty=1&title_li='); ?>

  3. ちなみに、カテゴリのエントリー数を表示させたい場合は以下のようにする。

  4. <?php wp_list_categories('show_count=1&orderby=order&style=list&hide_empty=1&title_li='); ?>

お世話になった記事:WordPressのカテゴリを並べ替えるプラグイン、My Category Order

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



他のブログも読む

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のカテゴリを並び替えるプラグイン - サツぽろ、ニッキ。 linked to this post on 2010年2月27日

    [...] My Category Order 表示、非表示 | さんきゅう堂的_STYLE エントリー数を指定 WordPress -My Category Orderプラグイン導入 – ITめもりーにょ パラメータの説明 [...]



Some HTML is OK

or, reply to this post via trackback.

*