こんにちは、ドリル 鈴木です。 まだ作成中の自社サイトですが、カスタマイズして行く過程の事も記事としてアップして行こうと思います。 今回はWordPressでユーザーの一覧を出力したいって思った際の解決方法です。 画面で言う右上の「プロフィール」になります。 これはHTMLを書いているのではなく、WordPressのユーザーを動的に出力しています。通常は「wp_list_authors()」を使用する方が多いと思います。 ただこの関数は出力方法等に制限があり、今回追加したユーザー画像などのmetaデータは思う様に出力出来なかったりもします。 しかし、その他の関数でもこれを実現出来る物はなさそうです。 プラグインも探したのですが、見つかりませんでした。 そこで、今回は直接PHPを記述する事で実現しました。 ちなみに、ユーザー画像は「Simple Local Avatars」と言うプラグインを