BuddyPress|テーマの中身を見る

おとといインストールしたのにもうMUアップデート出てる……。これバージョンアップしてもBuddyPressなんともないかなあ。
それはいいとして(?)昨日の続きでBuddyPressテーマの中身を見ていきます。

昨日までのまとめ

  • BuddyPressテーマはwp-content/bp-themes/と、wp-content/themes/の二か所にある。
  • 前者がユーザーページなどで使うテーマ。後者が普通にサイトのトップページなどに使うテーマ。

そして、mixiすらやったことのない情弱な私ですので、mixiがクローズドでBuddyPressはオープンだってこととかも全然理解してなかったでございますよ。これだから情弱は。
でもそれだったらpixivってオープン系のSNSなの?あれは違うの?手書きブログは?よくわかりません……。ああいうのはコミュニケーションサイトなの?
そもそもSNSって何\(^0^)/わかんなくなってきた。ちょ、SNSでググってくるわ……。

今日触ってみるのはユーザーページのテーマ

homeは作りこんでからでもいい気がするので、ユーザーページから触っていきます。


デフォルトテーマのフォルダの中
とりあえずデフォルトの方を見てみる。

/bpmember
   |
   +―/activity
        |
        +―just-me.php
        +―my-friends.php
   +―/blogs
        |
        +―create.php
        +―my-blogs.php
        +―recent-comments.php
        +―recent-posts.php
   +―/css
        |
        +―/custom-components
                   |
                   +―readme.txt
        +―/custom-components
                   |
                   +―ie6.css
                   +―ie7.css
        +―base.css
        +―components.css
        +―custom-sample.css
        +―directories.css
        +―loader.php
        +―settings.css
   +―/directories
        |
        +―/blogs
              |
              +―blogs-loop.php
              +―index.php
        +―/groups
              |
              +―groups-loop.php
              +―index.php
        +―/members
              |
              +―index.php
              +―members-loop.php
   +―/friends
    |
        +―friends-loop.php
        +―index.php
        +―requests.php
   +―/groups
    |
        +―/admin
              |
              +―delete-group.php
              +―edit-details.php
              +―group-avatar.php
              +―group-settings.php
              +―manage-members.php
              +―membership-requests.php
        +―/forum
              |
              +―index.php
              +―topic.php
        +―create.php
        +―group-home.php
        +―group-loop.php
        +―group-menu.php
        +―index.php
        +―leave-group-confirm.php
        +―list-invites.php
        +―list-members.php
        +―request-membership.php
        +―send-invite.php
        +―wire.php
   +―/images
        |
        +―accept_button.gif
        +―activity_bullet.gif
               :
               :
          (など、画像たくさん)
   +―/messages
        |
        +―compose.php
        +―index.php
        +―notices.php
        +―sentbox.php
        +―view.php
   +―/profile
        |
        +―change-avatar.php
        +―edit.php
        +―index.php
        +―profile-header.php
        +―profile-loop.php
   +―/wire
        |
        +―latest.php
        +―post-form.php
        +―post-list.php
   +―404.php
   +―footer.php
   +―functions.php
   +―header.php
   +―index.php
   +―optionsbar.php
   +―plugin-template.php
   +―screenshot.png
   +―style.css
   +―userbar.php

うーん、がんばって書いたけどなんか誰得な感じになった……。
なんとなく、ディレクトリ名やら何やらで何に使うファイルなのかとかはわかる感じがしますね。でもわからないものもある。

よくわからないけど、とりあえずstyle.cssの中を見てみる

WordPressテーマと言えばstyle.css!とりあえずここを見ればいい。

おおー、書いてある。いつものあれが書いてありますよー。
ということは、ここを書き替えてアップロードすれば認識するんじゃね?

というわけでやってみた


認識したー。
長くなったのでここまでです。