1.現在の表示ページのカテゴリーを取得「functions.php」に設置 最初はカテゴリー取得なんて簡単にできると思っていましたが、記事ページとカテゴリーページでは取得の方法が違うんですね。統一関数作ってくれればいいのに。それ以外のページでは全カテゴリーを表示しています。 今のカテゴリーを取得するプログラムは次のとおりです。これを「functions.php」の中に挿入してください。場所がわからない場合はWordPress管理画面の「外観」→「テーマ編集」で「functions.php」をクリックしてください。 なお「functions.php」ファイルはWordPressで最も重要なファイルの1つなので、修正を加える前には必ずバックアップをとってくださいね。そして問題が起こったらすぐに元に戻してください。修正は自己責任でお願いします。 追記(2013.9.3):カテゴリー情報を取得して