Author: Takayuki Miyoshi

  • Contact Form 7 FAQ

    This post is no longer updated. Move to Contact Form 7 official site. Download | Plugin Homepage | FAQ | Support Forum (日本語の FAQ はこちら) Where is the settings page for Contact Form 7? How can I add a contact form into my post content? How can I add a field to my contact form?…

  • Contact Form 7 1.7.6

    Contact Form 7 / Download Acceptance type of form tag newly added. Got more HTML-valid a bit. New tag type: acceptance A tag with acceptance type generates a checkbox with some JavaScript gimmick. You can use it as a test confirming if the sender has accepted specific terms. Example [acceptance foo] Check this if you…

  • TinyMCE x WordPress Translation Sharing

    TinyMCE x WordPress Translation Sharing (txwts) is a WordPress plugin for translators who are localizing WordPress 2.5 beta right now. It allows you to import TinyMCE 3.x language package into WordPress PO file. WordPress 2.5 newly allows gettext based localization for TinyMCE. TinyMCE has so many texts needed to be translated. With this plugin, you…

  • Contact Form 7 1.7.5

    Contact Form 7 / Download Two fixes and one enhancement. 1) The SEO issue reported by Dexter has been fixed (I believe). 2) For wpautop() haters, hook function adding logic changed. 3) New include_blank option added to form tag of drop-down menus. SEO issue Dexter and some people told me that there seems be a…

  • Learning WP_Query

    # 書きかけ WordPress のいわゆる「ループ」の実体である WP_Query クラスの扱いについてよく知ろう、という趣旨です。 クエリ変数のリストを書き込むと、WP_Query により生成される SQL リクエストとその結果、さらに各種 $is_* 変数の状態を見ることができる学習用プラグイン Learning WP_Query を作りました。 ダウンロード: こちら 使い方: zip を展開してlearning-wp-query フォルダごと wp-content/plugins ディレクトリへコピー、Learning WP_Query プラグインを有効化 [Options] – [Learning WP_Query] に管理ページが追加されているのでそこに移動 いろいろいじってボタンを押したりしていると要領がつかめると思います

  • 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…