• サイトデザイン工事中です。ご意見をお寄せください
  • 赤色のリンクは、まだ日本語Codexに存在しないページ・画像です。英語版と併せてご覧ください。(詳細

このWikiはいつでも誰でも編集できます

Theme Unit Test

提供:WordPress Codex 日本語版
移動: 案内, 検索

この項目「Theme Unit Test」は、翻訳チェック待ちの項目です。加筆、訂正などを通して、Codex ドキュメンテーションにご協力下さい。

(Last Edited: 2011-07-2)

This step in Theme testing correlates to a WordPress export (WXR) file that you can import into a WordPress installation to test your Theme. To be clear, this is only one step in testing your Theme. See Theme testing for a full guide.

  1. テストデータのダウンロード:
  2. ツールメニューのインポートを開いて、テストデータを WordPress にインポートしてください
  3. それぞれのページや投稿のテストについは、以下に説明があります

ブログ ホームページ

複数の投稿を表示する場合(index.php):

複数投稿を表示する時にはフォローしてください. テストデータのタイトルはセクションタイトルの下に関連性を持たせてください

予約投稿

Draft Post

Layout Test

Readability Test

Images Test

This Post Has No Body

(no title)

Many Categories & Many Tags

Protected Test With Secret Password

Archive Pages

Date Archives

日付アーカイブの表示では (archive.php, if applicable):

Category Archives

カテゴリアーカイブの表示では (category.php, if applicable):

Tag Archives

タグアーカイブでは (tag.php, if applicable):

Author Archives

著者アーカイブでは(author.php, if applicable):

Single Post

Test the following posts when viewing a single post (single.php). Each section title matches a post title in the test data.

Layout Test

Page 2

Page 3

address, a, big, cite, code, del, em, ins, kbd, pre, q, s, strong, sub, sup, tt, var.

Readability Test

Images Test

Embedded Media Test

If you say it loud enough, you’ll always sound precocious; Supercalifragilisticexpialidocious!

This Post Has No Body

(no title)

Many Categories / Many Tags

Protected Test With Secret Password

Comment Test

Comments Disabled

Many Trackbacks

Pages

Test the following pages (page.php) by viewing the page that matches the section titles below.

Page With Comments

Page With Comments Disabled

Parent Page / Child Page 1 / Child Page 2

Clearing Floats

Misc Pages

Tests for search.php and 404.php.

Search Results

Not Found

General

Menus

Widgets

Screenshot

Anchor Text and Credit Links

Theme authors should only be using links that point directly to a website specifically for the theme; an appropriate website page for the theme; or a reasonably related URL giving more information about the theme. Using anchor text for search engine gains will not be accepted.

Theme Testing

This Unit Test is just one step in Theme testing. Continue to Theme testing for the full guide.

Related Pages

最新英語版: WordPress Codex » Theme Unit Test最新版との差分

個人用ツール
名前空間
変種
操作
このサイトについて
特集
サーバ別情報
リファレンス
ドキュメント整備
ツールボックス
他の言語