Author: Takayuki Miyoshi

  • Contact Form 7 tag syntax

    This page explains the syntax of Contact Form 7‘s tag. If you are not familiar with basic usage of Contact Form 7, please see the plugin’s homepage. Contact Form 7 uses “tags” for two purposes; one is for form content and the other is for mail (to, from and subject fields and message body). Tags…

  • Sandbox 1.2

    昨年の12月25日に Sandbox テーマのバージョン 1.2 がリリースされています。2006年8月にこのブログで紹介したときには 0.6.1 でしたがあれから大きく変わってきています。 Sandbox 1.0 での大きな変更として、それまで“スキン”と呼ばれていたスタイルシート部分の扱われ方が変わりました。1.0 以前は Sandbox のディレクトリの中にスタイルシートが置かれ、Sandbox の専用管理画面でどのスタイルシートを使用するか選択するようになっていましたが、1.0 以降ではスタイルシートを Sandbox ディレクトリの外に置くようになっています。 例えば Sandbox とそれをベースにした Sandbox Kubrick をインストールする場合、構成は wp-content/ | +- themes/ | +- sandbox/ +- sandbox-kubrick/ のように、Sandbox と Sandbox Kubrick が並列になります。 配置した後、管理画面のテーマ選択ページで Sandbox Kubrick を選択します(Sandbox を選択するのではないことに注意)。このように Sandbox は「置いておくだけ」ですが、Sandbox ベースのテーマを使う場合には必ず Sandbox も配置しておく必要があります。 Sandbox ベースのテーマ (Sandbox Kubrick) の中身はどのようになっているかというと、意味のあるファイルは style.css だけです。PHP のテンプレートなどは含まれていません。これだけでどうして…

  • Contact Form 7 のメッセージを日本語にする (Contact Form 7 tips)

    このページは Contact Form 7 プラグインの使い方について紹介しています。 デフォルト (英語) 設定の WordPress で使った場合、Contact Form 7 はそのメッセージを英語で表示します。 このメッセージを日本語に変えたい場合、Contact Form 7 のソースコードに変更を加える必要はありません。Contact Form 7 には日本語の言語ファイルが同梱されているので、日本語設定の WordPress で使う場合には自動的に日本語でメッセージを表示するように作られています。 WordPress の言語を日本語に設定するには、WordPress のディレクトリにある wp-config.php を以下のように変更します。 define (‘WPLANG’, ”); ↓ define (‘WPLANG’, ‘ja’); WordPress の日本語公式サイトで配布している日本語版 WordPress をインストールされている場合ははじめから上の設定が行われていますので、特に何も手を加えることなく日本語で使用できます。 もし、日本語の表現を自分の好みに合わせて変更したいと思ったなら、Contact Form 7 の日本語言語ファイルは contact-form-7/languages/wpcf7-ja.po にあるので、このファイルを poEdit などのツールを使用して編集して使ってください。

  • Contact Form 7 1.7.4 (select+ and checkbox+ removed)

    I released Contact Form 7 1.7.4. You can download it from WordPress.org’s repository. In this version, I removed two tag types, select+ and checkbox+, because they were confusing. If you have been using those tags and checkbox, you’ll be needed to edit them manually after upgrading. I’m sorry for the inconvenience. If you are using…

  • Custom layout for checkboxes and radio buttons (Contact Form 7 tips)

    This is a tip for Contact Form 7 plugin. In default, a tag of checkbox type (checkbox and checkbox+) and radio button type (radio) are rendered as inline, like You can reverse checkbox-label order by using label-first option with those tags. A replaced HTML source of checkbox in default case looks like below (I added…

  • Contact Form 7 1.7.3

    I released Contact Form 7 1.7.3 last week. I added two options for dropdown menu, checkboxes and radio buttons. default: option allows you to set initially selected or checked items. label-first option is for checkboxes and radio buttons; this makes checkbox-label order reverse. See also: Contact Form 7 1.7 (The introduction of select+, checkbox, checkbox+…

  • Contact Form 7 1.7

    日本語はこちら。(in Japanese) Contact Form 7 1.7 is now available. New types of form tag (select+, checkbox, checkbox+ and radio) are newly added. Update (2007/12/30): select+ and checkbox+ were removed since 1.7.4 release. See the release note.

  • Contact Form 7 1.6.1

    I released Contact Form 7 1.6.1. Now you can place your contact form in sidebar widgets. Norwegian and Turkish translations are included.

  • Contact Form 7 (日本語)

    この投稿は更新されません。Contact Form 7 公式サイトを参照してください。

  • Contact Form 7 1.6

    I released Contact Form 7 1.6. User interface of admin page got improved. New Mail (2) feature allows you to send mail back to sender. Dutch translation newly came in.