WordPress(ワードプレス)に関する話題です。WordPressに関する情報、カスタマイズ、プラグイン、テーマ、などなど。
取りあえず、WordPressを 2.3にアップデートしました。
今回は、データベースに手を加えたり、正常に作動しなくなるプラグインも結構あるようなので、Codexでも推奨されているお行儀の良い(笑)やり方でアップデート。
まず、phpMyAdminを使ってデータベースのバックアップ。次に、FTP経由で全てのファイルをバックアップ。事前に動作するかどうが調べておいたけど、やっぱり念のため今回はプラグインも全てオフに。テーマも、ディフォルトの物に。いつものように、残さなくてはいけないファイル達(config.phpとか)を除いて、全て削除。
新しい、WP2.3のファイルをサーバにアップ。アップグレード画面からアップグレードして2.3に!!
一応問題ないことを確認して、プラグインとテーマのオン・オフを元に戻す。
今までWPのアップデートで特にトラぶったことはないんですが、今回も問題なく終了。やっぱり、新規インストール間もない状態だと、ファイル数も、データベースのサイズも小さくて、アップデートも比較的に楽な感じです。
大分前になるんですが、ごそごそと、今使用しているテーマ wp.vicuna のテンプレート・ファイルやらを眺めてみました。そこで気づいた2点を修正。
header.php に記述されている meta name=”author” ですが、content がブログのタイトルを表示させるようになっていたので、このブログの作者、つまり自分、の名に変更。
サイドバーにカテゴリ一覧を表示させる為に記述されている WordPress のタグ、 wp_list_cats は、wp_list_categories に取って代わり、今後使用できなくなっていく可能性が高い。これを、codex でも推奨されている wp_list_categories の方に変更。
もうちょっと色々と書こうと思ったけど、明日月曜日(米国時間?)にWP2.3がリリースされます。タグ機能が加わったり、変更されたテーブルとかあって、どのみちテーマを少しいじる必要がでてくると思います。なので、残りはその時に・・・。
複数のWordPressや、MySQLを使う他のCMS等を入れていると、どのテーブルがどれだか分からなくなってきます。と言う事で、自分用のメモです。
WordPressをインストールすると作られるデータベースは以下の10個:
ちなみにプラグインのオプション設定などは、wp_options の中に作成される事もあれば、専用のテーブルを作るものもある。例えば、Ultimate Tag Warrior とか。
WordPressテーマの作り方、カスタマイズのポイントやアイデア等を集めたガイド、その名も「WordPressテーマ:作成&カスタマイズ」を公開する事にしました。
Took a while, but I’ve done the rebooting. Switched to the excellent dark theme. I did have a wire-flame for the new design, but didn’t quite had a time to actually making it into a theme. Perhaps for the next time.
Althoughhaving said that it is excellent, I was slightly disappointed that archive.php was not included. I prefer the archive to look like the archives, rather than the index. Also the tag.php doesn’t behave like I thought it does. I can’t quite remember how I did it last time.
Idecided to go back doing a bit of bilingual blogging. I was thinking to separate into two different blogs, and it is probably better so, for SEO wise. But its just that I don’t have time and spirits to maintain two blogs right now.
Themain language is still going to be English, and trying to blog about the Japanese culture. There are going to be some Japanese posts, most often to be on WordPress. These are tagged “日本語[ja]“.
Oh yeah, I have also upgraded to WP2.2. Currently without any problem, except that the SRC Clean Archives plugin doesn’t work.
And the link for downloading the theme “Warped” now works. You can reach it from the Extra page.