• 赤色のリンクは、まだ日本語Codexに存在しないページ・画像です。英語版と併せてご覧ください。(詳細

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

「テーマレビュー」の版間の差分

提供: WordPress Codex 日本語版
移動先: 案内検索
(リンク調整、ガイドテンプレ挿入、冒頭翻訳)
(最新に更新、一部和訳 (継続作業予定。文言の調整を一通り終了後に行ないます))
11行目: 11行目:
 
[http://wordpress.org/extend/themes/ WordPressテーマディレクトリ]には、誰でもGPLまたは互換ライセンスのWordPressテーマを登録できます。新しいテーマは、公開する前にWordPressコミュニティのメンバーによって点検されます。このページでは、登録されたテーマの評価の過程と範囲、テーマ審査員向けガイドライン(指針)について説明します。
 
[http://wordpress.org/extend/themes/ WordPressテーマディレクトリ]には、誰でもGPLまたは互換ライセンスのWordPressテーマを登録できます。新しいテーマは、公開する前にWordPressコミュニティのメンバーによって点検されます。このページでは、登録されたテーマの評価の過程と範囲、テーマ審査員向けガイドライン(指針)について説明します。
  
== Version Specific Changes <span id="Version_Specific_Changes"></span>==
+
== 各バージョンの変更点 <span id="Version_Specific_Changes"></span>==
 
+
<!--
 
Upon the release of each new version of WordPress, the Theme review process will be updated. To ensure newly submitted themes support current WordPress features and functionality, all Themes submitted one month after a new WordPress version must support the updated review criteria.
 
Upon the release of each new version of WordPress, the Theme review process will be updated. To ensure newly submitted themes support current WordPress features and functionality, all Themes submitted one month after a new WordPress version must support the updated review criteria.
 +
-->
 +
WordPressの各新バージョンの公開により、[[Theme Review|テーマ審査]]<!-- 点検、検査 -->工程が更新されます。新たに登録されたテーマの最新WordPress特性・機能対応を確実にするには、WordPress新バージョンの一箇月以降に登録されるテーマは全て、更新後の審査基準に対応していなければなりません。
  
 +
<!--
 
See the list of [[Theme Review/Version Specific Changes|WordPress version-specific theme review criteria changes]].
 
See the list of [[Theme Review/Version Specific Changes|WordPress version-specific theme review criteria changes]].
 +
-->
 +
[[Theme Review/Version Specific Changes|WordPressバージョン別テーマ審査基準変更点]]の一覧を参照してください。
  
== The Theme Review Process and Scope <span id="The_Theme_Review_Process_and_Scope"></span>==
+
== テーマ審査工程と範囲 <span id="The_Theme_Review_Process_and_Scope"></span>==
  
 
* The Theme directory is a repository of GPL (or compatible) licensed WordPress Themes. The review process, by community members, ensures Themes conform to modern web standards, WordPress standards, and are, in general, of high quality.
 
* The Theme directory is a repository of GPL (or compatible) licensed WordPress Themes. The review process, by community members, ensures Themes conform to modern web standards, WordPress standards, and are, in general, of high quality.
33行目: 38行目:
 
If you have any questions or suggestions about the process, don't hesitate to [http://wordpress.org/extend/themes/contact/ contact us]. Thank you for your contributions!
 
If you have any questions or suggestions about the process, don't hesitate to [http://wordpress.org/extend/themes/contact/ contact us]. Thank you for your contributions!
  
== Responding to a Review <span id="Responding_to_a_Review"></span>==
+
=== Responding to a Review <span id="Responding_to_a_Review"></span>===
 
<small>'''Note: this section is currently being drafted. Consider it as such until this notice is removed.'''</small>
 
<small>'''Note: this section is currently being drafted. Consider it as such until this notice is removed.'''</small>
  
A theme will be held for approval until items listed as '''Required''' are addressed. Once these issues have been resolved, please re-submit your Theme using the uploader tool, a '''new''' Trac ticket will be generated. Also note, re-submitted Themes are given priority over newly submitted Themes to help speed up the process and insure timely updates are available to end-users.
+
A theme will be held for approval until items listed as '''Required''' are addressed. Once these issues have been resolved, please re-submit your Theme using the uploader tool, a '''new''' Trac ticket will be generated. Also note, re-submitted Themes are given priority over newly submitted Themes to help speed up the process and to ensure timely updates are available to end-users.
  
 
Theme developer questions, comments, and feedback are always welcome ... and encouraged!
 
Theme developer questions, comments, and feedback are always welcome ... and encouraged!
 
<br />Please use one of the following methods:
 
<br />Please use one of the following methods:
  
* Leave a comment on the appropriate Trac ticket(s) related to the theme;
+
* Leave a comment on the appropriate Trac ticket(s) related to the Theme;
 
* Email the theme-reviewers email list (you may need to join first); or,
 
* Email the theme-reviewers email list (you may need to join first); or,
 
* Use the #wp-themes channel on irc.freenode.net where you can find the Theme Review team.
 
* Use the #wp-themes channel on irc.freenode.net where you can find the Theme Review team.
  
== Guidelines ==
+
== ガイドライン(指針) <span id="Guidelines"></span>==
 
* Themes must meet guidelines current as of the time of Theme submission
 
* Themes must meet guidelines current as of the time of Theme submission
 
* Guidelines are updated following a major WordPress version release  
 
* Guidelines are updated following a major WordPress version release  
  
=== Code Quality <span id="Code_Quality"></span>===
+
=== コード品質 <span id="Code_Quality"></span>===
  
 +
<!--
 
Review [[Theme Development]], [[WordPress Coding Standards]], [[CSS Coding Standards]]/[[:en:CSS Coding Standards|en]], and [[Site Design and Layout]] for WordPress Theme code standards and best practices. Try to test your Theme [[CSS Fixing Browser Bugs|across browsers]]/[[:en:CSS Fixing Browser Bugs|en]] to catch at least a few of the [[CSS Troubleshooting|problems]]/[[:en:CSS Troubleshooting|en]] the users of the Theme may find later.
 
Review [[Theme Development]], [[WordPress Coding Standards]], [[CSS Coding Standards]]/[[:en:CSS Coding Standards|en]], and [[Site Design and Layout]] for WordPress Theme code standards and best practices. Try to test your Theme [[CSS Fixing Browser Bugs|across browsers]]/[[:en:CSS Fixing Browser Bugs|en]] to catch at least a few of the [[CSS Troubleshooting|problems]]/[[:en:CSS Troubleshooting|en]] the users of the Theme may find later.
 +
-->
 +
WordPressテーマの標準的な書き方や最良の方法については、[[Theme Development|テーマ開発]]および[[WordPress Coding Standards|WordPressコーディング基準]]、[[CSS Coding Standards|CSSコーディング基準]]/[[:en:CSS Coding Standards|en]]、[[Site Design and Layout|サイトのデザインとレイアウト]]を見直してください。
  
* Themes are '''required''' not to have any notices, warnings, errors; or use of deprecated functions. Test using one of the following methods:
+
* テーマは、通知・警告・エラーがないこと、非推奨(廃止予定の)関数が使われていないことが'''必須'''です。以下の手法の一つを用いてテストしてください。<!-- Themes are '''required''' not to have any notices, warnings, errors; or use of deprecated functions. Test using one of the following methods: -->
** Via wp-config.php: <tt>define(WP_DEBUG, true);</tt>
+
** wp-config.php にて<!-- Via wp-config.php-->: <tt>define(WP_DEBUG, true);</tt>
** Via Plugin: [http://www.wordpress.org/extend/plugins/log-deprecated-notices/ Log Deprecated Notices] and/or [http://www.wordpress.org/extend/plugins/debogger/ Debogger]
+
** プラグインにて<!-- Via Plugin -->: [http://www.wordpress.org/extend/plugins/log-deprecated-notices/ Log Deprecated Notices] および/または [http://www.wordpress.org/extend/plugins/debogger/ Debogger]
* Themes are '''required'''  to utilize current recognized version(s) of (X)HTML and CSS. Test using one of the following methods:
+
* 広く認められている最新(現行?)バージョンの(X)HTMLおよびCSSを利用することが'''必須'''です。('''訳注''': 翻訳が間違っているかもしれません。原文 "current recognized version(s) of (X)HTML and CSS")<!-- Themes are '''required'''  to utilize current recognized version(s) of (X)HTML and CSS. Test using one of the following methods: -->
** [http://validator.w3.org/ W3C XHTML Validator] + [http://jigsaw.w3.org/css-validator/ W3C CSS Validator]
+
** [http://validator.w3.org/ W3C XHTML Validator] + [http://jigsaw.w3.org/css-validator/ W3C CSS Validator](バリデータ: 検証プログラム)
 
** [http://validator.w3.org/unicorn/ W3C XHTML+CSS Validator (Unicorn)]
 
** [http://validator.w3.org/unicorn/ W3C XHTML+CSS Validator (Unicorn)]
* Themes are '''required''' to generate no JavaScript errors
+
* JavaScriptエラーが発生しないことが'''必須'''です。<!-- Themes are '''required''' to generate no JavaScript errors -->
* Themes are '''required''' to have a valid HTML document HEAD:
+
* 有効なHTMLドキュメント HEAD が'''必須'''です。<!-- Themes are '''required''' to have a valid HTML document HEAD: -->
** Valid DOCTYPE declaration
+
** 有効なDOCTYPE宣言<!-- Valid DOCTYPE declaration -->
** <nowiki><html></nowiki> tag includes language_attributes()
+
** <nowiki><html></nowiki> タグに [[関数リファレンス/language_attributes|language_attributes()]]/[[:en:Function Reference/language_attributes|en]] が入っていること<!-- <nowiki><html></nowiki> tag includes language_attributes() -->
** Correct XFN profile link in <nowiki><head></nowiki> tag: <nowiki><head profile="http://gmpg.org/xfn/11"></nowiki>
+
** <nowiki><head></nowiki> タグ内の正しいXFNプロファイルリンク<!-- Correct XFN profile link in <nowiki><head></nowiki> tag -->: <code><nowiki><head profile="http://gmpg.org/xfn/11"></nowiki></code>
** Correct content-type meta declaration: <nowiki><meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> OR <meta charset=<?php bloginfo('charset'); ?></nowiki> declared before <nowiki><title></nowiki>
+
** 正しい content-type メタ宣言: <nowiki><title></nowiki> タグの前で <code><nowiki><meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /></nowiki><code> または <code><nowiki><meta charset=<?php bloginfo('charset'); ?></nowiki></code> 宣言<!-- Correct content-type meta declaration: <nowiki><meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> OR <meta charset=<?php bloginfo('charset'); ?></nowiki> declared before <nowiki><title></nowiki> -->
** <nowiki><title></nowiki> includes <tt>bloginfo()</tt> for title and description, as appropriate
+
** 題名と説明用に <nowiki><title></nowiki> 内に <tt>bloginfo()</tt> が入っていること(必要に応じて)<!-- <nowiki><title></nowiki> includes <tt>bloginfo()</tt> for title and description, as appropriate -->
  
=== Functionality <span id="Functionality"></span>===
+
=== 機能 <span id="Functionality"></span>===
  
Theme is '''required''' to incorporate the following WordPress core functionality:
+
テーマに以下の本体機能を組み込むことが'''必須'''です。<!-- Theme is '''required''' to incorporate the following WordPress core functionality: -->
* Automatic Feed Links:
+
* 自動フィードリンク<!-- Automatic Feed Links: -->
 
** <tt>[[関数リファレンス/add_theme_support#Feed_Links|add_theme_support('automatic-feed-links’)]]</tt>/[[:en:Function Reference/add_theme_support#Feed_Links|en]]
 
** <tt>[[関数リファレンス/add_theme_support#Feed_Links|add_theme_support('automatic-feed-links’)]]</tt>/[[:en:Function Reference/add_theme_support#Feed_Links|en]]
* Widgets:
+
* ウィジェット:
 
** <tt>[[関数リファレンス/dynamic_sidebar|dynamic_sidebar()]]</tt>
 
** <tt>[[関数リファレンス/dynamic_sidebar|dynamic_sidebar()]]</tt>
 
** <tt>[[関数リファレンス/register_sidebar|register_sidebar()]]</tt>
 
** <tt>[[関数リファレンス/register_sidebar|register_sidebar()]]</tt>
** <tt>add_action(widgets_init)</tt>, <tt>register_widget()</tt> (see [[Widgets API]]) – (if Theme uses custom widgets)
+
** <tt>add_action(widgets_init)</tt>, <tt>register_widget()</tt> [[Widgets API|ウィジェットAPI]]を参照) – (テーマでカスタムウィジェットを利用する場合)
* Comments:
+
* コメント:
 +
** <tt>[[Function_Reference/comments_template|comments_template()]]</tt><br /><small>'''(This criterion is a draft for review. Consider it as such until this notice is removed)'''</small>
 
** <tt>[[テンプレートタグ/wp_list_comments|wp_list_comments()]]</tt>  
 
** <tt>[[テンプレートタグ/wp_list_comments|wp_list_comments()]]</tt>  
** <tt>[[テンプレートタグ/comment_class|comment_class()]]</tt>/[[:en:Template Tags/comment_class|en]] – (if using callback for [[テンプレートタグ/wp_list_comments|wp_list_comments()]])
+
** <tt>[[テンプレートタグ/comment_class|comment_class()]]</tt>/[[:en:Template Tags/comment_class|en]] – [[テンプレートタグ/wp_list_comments|wp_list_comments()]] のコールバックをを利用する場合)
 
** <tt>[[テンプレートタグ/comment_form|comment_form()]]</tt>
 
** <tt>[[テンプレートタグ/comment_form|comment_form()]]</tt>
** <tt>[[Migrating_Plugins_and_Themes_to_2.7/Enhanced_Comment_Display#Javascript_Comment_Functionality|wp_enqueue_script( 'comment-reply' )]]</tt> in HTML document head <br /><small>'''(This criterion is a draft for review. Consider it as such until this notice is removed)'''</small>
+
** <tt>[[Migrating Plugins and Themes to 2.7/Enhanced Comment Display#Javascript Comment Functionality|wp_enqueue_script( 'comment-reply' )]]</tt> in HTML document head <br /><small>'''(This criterion is a draft for review. Consider it as such until this notice is removed)'''</small><!-- <tt>[[Migrating Plugins and Themes to 2.7/Enhanced Comment Display#Javascript Comment Functionality|wp_enqueue_script( 'comment-reply' )]]</tt> in HTML document head <br /><small>'''(This criterion is a draft for review. Consider it as such until this notice is removed)'''</small> -->
  
Theme is '''recommended''' to incorporate the following WordPress core functionality, but is ''not required'' to do so. However, if incorporated, functionality must support the core WordPress implementation:
+
テーマに以下の本体機能を組み込むことが'''推奨'''されますが、''必須ではありません''。しかしながら、組み込む場合にはWordPress本体の実装に対応しなければなりません。<!-- Theme is '''recommended''' to incorporate the following WordPress core functionality, but is ''not required'' to do so. However, if incorporated, functionality must support the core WordPress implementation: -->
* Navigation Menus:
+
* ナビゲーションメニュー:
 
** <tt>[[テンプレートタグ/wp_nav_menu|wp_nav_menu()]]</tt>
 
** <tt>[[テンプレートタグ/wp_nav_menu|wp_nav_menu()]]</tt>
** <tt>[[関数リファレンス/register_nav_menu|register_nav_menu()]]</tt>/[[:en:Function_Reference/register_nav_menu|en]] or <tt>[[関数リファレンス/register_nav_menus|register_nav_menus()]]</tt>/[[:en:Function_Reference/register_nav_menus|en]] in ''functions.php''
+
** ''functions.php'' 内に <tt>[[関数リファレンス/register_nav_menu|register_nav_menu()]]</tt>/[[:en:Function_Reference/register_nav_menu|en]] または <tt>[[関数リファレンス/register_nav_menus|register_nav_menus()]]</tt>/[[:en:Function_Reference/register_nav_menus|en]]
** The following functions may only be used for navigation menus as a callback to <tt>wp_nav_menu()</tt>, as part of a <tt>has_nav_menu()</tt> conditional, or similar: <tt>[[テンプレートタグ/wp_list_pages|wp_list_pages]]</tt>, <tt>[[テンプレートタグ/wp_list_categories|wp_list_categories]]</tt>, <tt>[[テンプレートタグ/wp_page_menu|wp_page_menu]]</tt>, etc.
+
** The following functions may only be used for navigation menus as a callback to <tt>wp_nav_menu()</tt>, as part of a <tt>has_nav_menu()</tt> conditional, or similar: <tt>[[テンプレートタグ/wp_list_pages|wp_list_pages]]</tt>, <tt>[[テンプレートタグ/wp_list_categories|wp_list_categories]]</tt>, <tt>[[テンプレートタグ/wp_page_menu|wp_page_menu]]</tt>, etc.
* Post Thumbnails:
+
* 投稿サムネイル:
 
** <tt>[[テンプレートタグ/the_post_thumbnail|the_post_thumbnail()]]</tt>
 
** <tt>[[テンプレートタグ/the_post_thumbnail|the_post_thumbnail()]]</tt>
** <tt>[[Function_Reference/add_theme_support#Post_Thumbnails|add_theme_support('post-thumbnails’)]]</tt>/[[:en:Function_Reference/add_theme_support#Post_Thumbnails|en]] in ''functions.php''
+
** ''functions.php'' 内に <tt>[[関数リファレンス/add_theme_support#Post_Thumbnails|add_theme_support('post-thumbnails’)]]</tt>/[[:en:Function_Reference/add_theme_support#Post_Thumbnails|en]]
* Custom Header:
+
* カスタムヘッダ:
** <tt>[[Function_Reference/add_custom_image_header|add_custom_image_header()]]</tt>/[[:en:Function_Reference/add_custom_image_header|en]]
+
** <tt>[[関数リファレンス/add_custom_image_header|add_custom_image_header()]]</tt>/[[:en:Function_Reference/add_custom_image_header|en]]
* Custom Background:
+
* カスタム背景:
** <tt>[[Function_Reference/add_custom_background|add_custom_background()]]</tt>/[[:en:Function_Reference/add_custom_background|en]]
+
** <tt>[[関数リファレンス/add_custom_background|add_custom_background()]]</tt>/[[:en:Function_Reference/add_custom_background|en]]
* Visual Editor CSS:
+
* ビジュアルエディタCSS:
** <tt>[[Function_Reference/add_editor_style|add_editor_style())]]</tt>/[[:en:Function_Reference/add_editor_style|en]]
+
** <tt>[[関数リファレンス/add_editor_style|add_editor_style())]]</tt>/[[:en:Function_Reference/add_editor_style|en]]
** ''editor-style.css'' file
+
** ''editor-style.css'' ファイル
  
=== Template Tags and Hooks <span id="Template_Tags_and_Hooks"></span>===
+
=== テンプレートタグおよびフック <span id="Template_Tags_and_Hooks"></span>===
  
All template tags and hooks used in a Theme are '''required''' to be implemented properly.
+
テーマで使うテンプレートタグおよびフックを適切に実装することが'''必須'''です。<!-- All template tags and hooks used in a Theme are '''required''' to be implemented properly. -->
  
The following template tags and hooks are '''required''' to be included where appropriate:
+
次のテンプレートタグおよびフックは、適切な位置に入れることが'''必須'''です。<!-- The following template tags and hooks are '''required''' to be included where appropriate: -->
* <tt>[[関数リファレンス/wp_head|wp_head()]]</tt>/[[:en:Function_Reference/wp_head|en]] – (immediately before <nowiki></head></nowiki>)
+
* <tt>[[関数リファレンス/wp_head|wp_head()]]</tt>/[[:en:Function_Reference/wp_head|en]] – <nowiki></head></nowiki> タグの直前)
* <tt>[[テンプレートタグ/body_class|body_class()]]</tt> – (inside <nowiki><body></nowiki> tag)
+
* <tt>[[テンプレートタグ/body_class|body_class()]]</tt> – <nowiki><body></nowiki> タグの内側)
 
* <tt>$content_width</tt>
 
* <tt>$content_width</tt>
 
* <tt>[[テンプレートタグ/post_class|post_class()]]</tt>/[[:en:Template_Tags/post_class|en]]
 
* <tt>[[テンプレートタグ/post_class|post_class()]]</tt>/[[:en:Template_Tags/post_class|en]]
 
* <tt>[[テンプレートタグ/wp_link_pages|wp_link_pages()]]</tt>
 
* <tt>[[テンプレートタグ/wp_link_pages|wp_link_pages()]]</tt>
* <tt>[[テンプレートタグ/paginate_comments_links|paginate_comments_links()]]</tt>/[[:en:Function_Reference/paginate_comments_links|en]], or <tt>[[テンプレートタグ/previous_comments_link|previous_comments_link()]]</tt>/[[:en:Function_Reference/previous_comments_link|en]]/<tt>[[テンプレートタグ/next_comments_link|next_comments_link()]]</tt>/[[:en:Function_Reference/next_comments_link|en]]
+
* <tt>[[テンプレートタグ/paginate_comments_links|paginate_comments_links()]]</tt>/[[:en:Function_Reference/paginate_comments_links|en]] または <tt>[[テンプレートタグ/previous_comments_link|previous_comments_link()]]</tt>/[[:en:Function_Reference/previous_comments_link|en]]/<tt>[[テンプレートタグ/next_comments_link|next_comments_link()]]</tt>/[[:en:Function_Reference/next_comments_link|en]]
* <tt>[[関数リファレンス/wp_footer|wp_footer()]]</tt>/[[:en:Function_Reference/wp_footer|en]] – (immediately before <nowiki></body></nowiki>)
+
* <tt>[[関数リファレンス/wp_footer|wp_footer()]]</tt>/[[:en:Function_Reference/wp_footer|en]] – <nowiki></body></nowiki> タグの直前)
  
Standard template files, if incorporated into the Theme, are '''required''' to be called using the correct template tag:
+
標準テンプレートファイルをテーマに組み込む場合、正しいテンプレートタグで呼び出すことが'''必須'''です。<!-- Standard template files, if incorporated into the Theme, are '''required''' to be called using the correct template tag: -->
* Header: <tt>[[関数リファレンス/get_header|get_header()]]</tt>/[[:en:Function_Reference/get_header|en]]
+
* ヘッダ: <tt>[[関数リファレンス/get_header|get_header()]]</tt>/[[:en:Function_Reference/get_header|en]]
* Sidebar: <tt>[[関数リファレンス/get_sidebar|get_sidebar()]]</tt>/[[:en:Function_Reference/get_sidebar|en]]
+
** Note: if a Theme uses <tt>get_header()</tt>, it is '''required''' to have a corresponding ''header.php'' file.
* Footer: <tt>[[関数リファレンス/get_footer|get_footer()]]</tt>/[[:en:Function_Reference/get_footer|en]]
+
* サイドバー: <tt>[[関数リファレンス/get_sidebar|get_sidebar()]]</tt>/[[:en:Function_Reference/get_sidebar|en]]
* Comments: <tt>[[関数リファレンス/comments_template|comments_template()]]</tt>/[[:en:Function_Reference/comments_template|en]]
+
** Note: if a Theme uses <tt>get_sidebar()</tt>, it is '''required''' to have a corresponding ''sidebar.php'' file.
* Search Form: <tt>[[関数リファレンス/get_search_form|get_search_form()]]</tt>/[[:en:Function_Reference/get_search_form|en]]
+
* フッタ: <tt>[[関数リファレンス/get_footer|get_footer()]]</tt>/[[:en:Function_Reference/get_footer|en]]
* Login Form: <tt>[[テンプレートタグ/wp_login_form|wp_login_form()]]</tt>
+
** Note: if a Theme uses <tt>get_footer()</tt>, it is '''required''' to have a corresponding ''footer.php'' file.
* Custom Theme template files: <tt>[[関数リファレンス/get_template_part|get_template_part()]]</tt>
+
* コメント: <tt>[[関数リファレンス/comments_template|comments_template()]]</tt>/[[:en:Function_Reference/comments_template|en]]
* ''Note: <code>include( TEMPLATEPATH . '/file.php' )</code> should not be used to call Theme template part files, unless absolutely necessary.''
+
** Note: if a Theme uses <tt>comments_template()</tt>, it is '''required''' to have a corresponding ''comments.php'' file.
 +
* 検索フォーム: <tt>[[関数リファレンス/get_search_form|get_search_form()]]</tt>/[[:en:Function_Reference/get_search_form|en]]
 +
* ログインフォーム: <tt>[[テンプレートタグ/wp_login_form|wp_login_form()]]</tt>
 +
* カスタムテーマテンプレートファイル: <tt>[[関数リファレンス/get_template_part|get_template_part()]]</tt>
 +
** ''Note: <code>include( TEMPLATEPATH . '/file.php' )</code> should not be used to call Theme template part files, unless absolutely necessary.''
  
Site information, if incorporated into the Theme, is '''required''' to be called using the correct template tag:<br />
+
サイト情報をテーマに組み込む場合、正しいテンプレートタグで呼び出すことが'''必須'''です。<br />
 +
<small>(この一覧は不完全です。全リストは <tt>[[テンプレートタグ/bloginfo|bloginfo()]]</tt> を参照のこと)</small><br />
 +
<small>'''(注) この節は草稿中です。 Consider it as such until this notice is removed.'''</small><!-- Site information, if incorporated into the Theme, is '''required''' to be called using the correct template tag:<br />
 
<small>(This list is not exhaustive. Refer to <tt>[[テンプレートタグ/bloginfo|bloginfo()]]</tt> for the full list)</small><br />
 
<small>(This list is not exhaustive. Refer to <tt>[[テンプレートタグ/bloginfo|bloginfo()]]</tt> for the full list)</small><br />
<small>'''Note: this section is currently being drafted. Consider it as such until this notice is removed.'''</small>
+
<small>'''Note: this section is currently being drafted. Consider it as such until this notice is removed.'''</small> -->
* Home URL: <tt>[[テンプレートタグ/bloginfo|bloginfo( 'url' )]]</tt><br /><small>''Note: Themes are '''recommended''' to use</small> <tt>[[テンプレートタグ/home_url|home_url()]]</tt>''
+
* ホームURL <tt>[[テンプレートタグ/bloginfo|bloginfo( 'url' )]]</tt><br /><small>''Note: Themes are '''recommended''' to use</small> <tt>[[テンプレートタグ/home_url|home_url()]]</tt>''
* WordPress URL: <tt>[[テンプレートタグ/bloginfo|bloginfo( 'wpurl' )]]</tt><br /><small>''Note: Themes are '''recommended''' to use</small> <tt>[[テンプレートタグ/site_url|site_url()]]</tt>''
+
* WordPress URL: <tt>[[テンプレートタグ/bloginfo|bloginfo( 'wpurl' )]]</tt><br /><small>''Note: Themes are '''recommended''' to use</small> <tt>[[テンプレートタグ/site_url|site_url()]]</tt>''
* Site Title: <tt>[[テンプレートタグ/bloginfo|bloginfo( 'name' )]]</tt>
+
* サイト名: <tt>[[テンプレートタグ/bloginfo|bloginfo( 'name' )]]</tt>
* Site Description: <tt>[[テンプレートタグ/bloginfo|bloginfo( 'description' )]]</tt>
+
* サイト説明文: <tt>[[テンプレートタグ/bloginfo|bloginfo( 'description' )]]</tt>
* Style Sheet Directory URL: <tt>[[テンプレートタグ/bloginfo|bloginfo( 'stylesheet_directory' )]]</tt><br /><small>''Note: Themes are '''recommended''' to use</small> <tt>[[Function_Reference/get_stylesheet_directory|get_stylesheet_directory()]]</tt>''/[[:en:Function_Reference/get_stylesheet_directory|en]]
+
* スタイルシートディレクトリURL: <tt>[[テンプレートタグ/bloginfo|bloginfo( 'stylesheet_directory' )]]</tt><br /><small>''Note: Themes are '''recommended''' to use</small> <tt>[[Function_Reference/get_stylesheet_directory|get_stylesheet_directory()]]</tt>''/[[:en:Function_Reference/get_stylesheet_directory|en]]
* Style Sheet URL: <tt>[[テンプレートタグ/bloginfo|bloginfo( 'stylesheet_url' )]]</tt><br /><small>''Note: Themes are '''recommended''' to use</small> <tt>[[Function_Reference/get_stylesheet_uri|get_stylesheet_uri()]]</tt>''/[[:en:Function_Reference/get_stylesheet_uri|en]]
+
* スタイルシートURL: <tt>[[テンプレートタグ/bloginfo|bloginfo( 'stylesheet_url' )]]</tt><br /><small>''Note: Themes are '''recommended''' to use</small> <tt>[[Function_Reference/get_stylesheet_uri|get_stylesheet_uri()]]</tt>''/[[:en:Function_Reference/get_stylesheet_uri|en]]
* Parent Theme Directory URL: <tt>[[テンプレートタグ/bloginfo|bloginfo( 'template_directory' )]]</tt> or <tt>[[テンプレートタグ/bloginfo|bloginfo( 'template_url' )]]</tt><br /><small>''Note: Themes are '''recommended''' to use</small> <tt>[[Function_Reference/get_template_directory|get_template_directory()]]</tt>''/[[:en:Function_Reference/get_template_directory|en]]
+
* 親テーマディレクトリURL: <tt>[[テンプレートタグ/bloginfo|bloginfo( 'template_directory' )]]</tt> or <tt>[[テンプレートタグ/bloginfo|bloginfo( 'template_url' )]]</tt><br /><small>''Note: Themes are '''recommended''' to use</small> <tt>[[Function_Reference/get_template_directory|get_template_directory()]]</tt>''/[[:en:Function_Reference/get_template_directory|en]]
* Parent Theme Name: <tt>[[Function_Reference/get_template|get_template()]]</tt>/[[:en:Function_Reference/get_template|en]]
+
* 親テーマ名: <tt>[[Function_Reference/get_template|get_template()]]</tt>/[[:en:Function_Reference/get_template|en]]
* Character Set: <tt>[[テンプレートタグ/bloginfo|bloginfo( 'charset' )]]</tt>
+
* キャラクタセット(文字コードセット)<!-- Character Set -->: <tt>[[テンプレートタグ/bloginfo|bloginfo( 'charset' )]]</tt>
* HTML type: <tt>[[テンプレートタグ/bloginfo|bloginfo( 'html_type' )]]</tt>
+
* HTML種別: <tt>[[テンプレートタグ/bloginfo|bloginfo( 'html_type' )]]</tt>
* Language: <tt>[[テンプレートタグ/bloginfo|bloginfo( 'language' )]]</tt> (en-US) or <tt>[[Function_Reference/get_locale|get_locale()]]</tt>/[[:en:Function_Reference/get_locale|en]] (en_US)
+
* 言語: <tt>[[テンプレートタグ/bloginfo|bloginfo( 'language' )]]</tt> (en-US) or <tt>[[Function_Reference/get_locale|get_locale()]]</tt>/[[:en:Function_Reference/get_locale|en]] (en_US)
* Text Direction: <tt>[[テンプレートタグ/bloginfo|bloginfo( 'text_direction' )]]</tt><br /><small>''Note: Themes are '''recommended''' to use</small> <tt>[[Function_Reference/is_rtl|is_rtl()]]</tt>/[[:en:Function_Reference/is_rtl|en]] <small>for conditional statements</small>''
+
* 書字方向<!-- Text Direction -->: <tt>[[テンプレートタグ/bloginfo|bloginfo( 'text_direction' )]]</tt><br /><small>''Note: Themes are '''recommended''' to use</small> <tt>[[Function_Reference/is_rtl|is_rtl()]]</tt>/[[:en:Function_Reference/is_rtl|en]] <small>for conditional statements</small>''
* WordPress Version: <tt>[[テンプレートタグ/bloginfo|bloginfo( 'version' )]]</tt>
+
* WordPressバージョン: <tt>[[テンプレートタグ/bloginfo|bloginfo( 'version' )]]</tt>
* Feed Links: <tt>[[テンプレートタグ/bloginfo|bloginfo( 'feed_url' )]]</tt> (where <tt>feed_url</tt> is <tt>rss_url</tt>, <tt>rss2_url</tt>, <tt>atom_url</tt>)<br /><small>''Note: Themes are '''recommended''' to use</small> <tt>[[テンプレートタグ/get_feed_link|get_feed_link( 'feed' )]]/[[:en:Function_Reference/get_feed_link|en]] (where <tt>feed</tt> is <tt>rss</tt>, <tt>rss2</tt>, <tt>atom</tt>)''
+
* フィードリンク: <tt>[[テンプレートタグ/bloginfo|bloginfo( 'feed_url' )]]</tt> (where <tt>feed_url</tt> is <tt>rss_url</tt>, <tt>rss2_url</tt>, <tt>atom_url</tt>)<br /><small>''Note: Themes are '''recommended''' to use</small> <tt>[[テンプレートタグ/get_feed_link|get_feed_link( 'feed' )]]/[[:en:Function_Reference/get_feed_link|en]] (where <tt>feed</tt> is <tt>rss</tt>, <tt>rss2</tt>, <tt>atom</tt>)''
  
=== WordPress-Defined CSS Classes <span id="WordPress-Defined_CSS_Classes"></span>===
+
=== WordPress定義CSSクラス <span id="WordPress-Defined_CSS_Classes"></span>===
  
<small>'''Note: this section is currently being drafted. Consider it as such until this notice is removed.'''</small><br />Themes are '''required''' to support the following [[CSS#WordPress_Generated_Classes|WordPress-defined CSS classes]]/[[:en:CSS#WordPress_Generated_Classes|en]], or similar elements:
+
<small>'''注: この節は草稿中です。 Consider it as such until this notice is removed.'''</small><br />以下の[[CSS#WordPress_Generated_Classes|WordPress定義CSSクラス]]([[:en:CSS#WordPress_Generated_Classes|最新]])または同様の要素への対応が'''必須'''です。<!-- <small>'''Note: this section is currently being drafted. Consider it as such until this notice is removed.'''</small><br />Themes are '''required''' to support the following [[CSS#WordPress_Generated_Classes|WordPress-defined CSS classes]]/[[:en:CSS#WordPress_Generated_Classes|en]], or similar elements: -->
* Alignment Classes:
+
* 配置クラス:<!-- Alignment Classes: -->
** <tt>.aligncenter, div.aligncenter</tt>
+
** <tt>.aligncenter</tt>
 
** <tt>.alignleft</tt>
 
** <tt>.alignleft</tt>
 
** <tt>.alignright</tt>
 
** <tt>.alignright</tt>
* Caption Related Classes:
+
* キャプション関連クラス:<!-- Caption Related Classes:--><br />(画像などの説明文)
 +
** <tt>.wp-caption</tt>
 
** <tt>.wp-caption</tt>
 
** <tt>.wp-caption</tt>
** <tt>.wp-caption img</tt>
+
** <tt>.wp-caption-text</tt>
** <tt>p.wp-caption-text</tt>
+
** <tt>.gallery-caption</tt>
  
Themes should also support these common classes:
+
共通クラスにも対応すべきです。<!-- Themes should also support these common classes: -->
* Post Classes:
+
* 投稿クラス:
 
** <tt>.sticky</tt>
 
** <tt>.sticky</tt>
* Comment Classes:
+
* コメントクラス
 
** <tt>.bypostauthor</tt>
 
** <tt>.bypostauthor</tt>
  
=== Theme Template Files <span id="Theme_Template_Files"></span>===
+
=== テーマテンプレートファイル <span id="Theme_Template_Files"></span>===
  
Theme is '''required''' to include, at a minimum:
+
最低限、入れることが'''必須'''のもの:<!-- Theme is '''required''' to include, at a minimum: -->
 
* index.php
 
* index.php
 +
* comments.php
 
* screenshot.png (this should be a "reasonable facsimile" of the Theme after it is initially activated with default options)
 
* screenshot.png (this should be a "reasonable facsimile" of the Theme after it is initially activated with default options)
 
* style.css
 
* style.css
  
Theme is '''recommended''' to include:
+
入れることが'''推奨'''されるもの:<!-- Theme is '''recommended''' to include: -->
 
* 404.php
 
* 404.php
* archive.php
+
* archive.php
* comments.php  
+
 
* footer.php
 
* footer.php
 
* header.php
 
* header.php
175行目: 191行目:
 
* single.php
 
* single.php
  
Theme may '''optionally''' include:
+
任意のもの:<!-- Theme may '''optionally''' include: -->
 
* attachment.php
 
* attachment.php
 
* author.php
 
* author.php
184行目: 200行目:
 
* tag.php
 
* tag.php
  
Submitted theme are '''required''' not to include files named like the following:
+
登録するテーマには次のような名前のファイルを入れないことが'''必須'''です。<!-- Submitted theme are '''required''' not to include files named like the following: -->
  
 
* page-foobar.php
 
* page-foobar.php
193行目: 209行目:
 
<small>Note: The reason to avoid this template naming convention for publicly released Themes is to avoid surprising users that create a page with the "-foobar" slug and expect the default template. See [[Template_Hierarchy#Page_display]].</small>
 
<small>Note: The reason to avoid this template naming convention for publicly released Themes is to avoid surprising users that create a page with the "-foobar" slug and expect the default template. See [[Template_Hierarchy#Page_display]].</small>
  
=== Licensing <span id="Licensing"></span>===
+
=== ライセンシング(使用許諾) <span id="Licensing"></span>===
  
* License:
+
* 利用許諾条件
** Themes, including all PHP, HTML, CSS, images, fonts, and icons, are '''required''' to be 100% GPL-licensed, or use a [http://www.gnu.org/philosophy/license-list.html#GPLCompatibleLicenses/ GPL-compatible license].
+
** テーマ(PHP・HTML・CSS・画像・フォント・アイコンを含む)は100% GPLライセンスまたは[http://www.gnu.org/philosophy/license-list.html#GPLCompatibleLicenses/ GPL互換ライセンス]であることが'''必須'''です。<!-- Themes, including all PHP, HTML, CSS, images, fonts, and icons, are '''required''' to be 100% GPL-licensed, or use a [http://www.gnu.org/philosophy/license-list.html#GPLCompatibleLicenses/ GPL-compatible license]. -->
 
** Themes are '''required''' to declare their license explicitly, using one of the following methods:
 
** Themes are '''required''' to declare their license explicitly, using one of the following methods:
 
*** Adding ''License'' and ''License URI'' header slugs to style.css
 
*** Adding ''License'' and ''License URI'' header slugs to style.css
246行目: 262行目:
 
** [http://www.iconfinder.com/search/?q=iconset:oxygen Oxygen] (GPL)
 
** [http://www.iconfinder.com/search/?q=iconset:oxygen Oxygen] (GPL)
  
=== Theme Documentation <span id="Theme_Documentation"></span>===
+
=== テーマ名 <span id="Theme_Name"></span>===
 +
<small>'''Note: this section is currently being drafted. Consider it as such until this notice is removed.'''</small><br />Theme Name Guidelines are '''required''' for new Themes, and '''recommended''' for existing Themes.
 +
* Themes are '''not''' to use ''WordPress'' in their name. For example ''My WordPress Theme'', ''WordPress AwesomeSauce'', and ''AwesomeSauce for WordPress'' would not be accepted. After all, this ''is'' the ''WordPress'' Theme repository.
 +
** Themes are '''not''' to use the term ''Theme'' in their name, such as: ''AwesomeSauce Theme''. Same reason as above ... it's a ''Theme'' repository.
 +
** Themes may use the ''WP'' acronym in the Theme name, such as ''WP AwesomeSauce''.
 +
* Themes are '''not''' to use version-specific, markup-related terms (e.g. ''HTML5'', ''CSS3'', etc.) in their name.
 +
* Themes are '''not''' to use Theme author/developer credit text in their name. For example ''AwesomeSauce by John Q. Developer'' (makes for a much better credit link); or, SEO/spam-seeded text, such as: ''AwesomeSauce by Awesome Free WP Themes'' (this is just not going to pass).
  
Please be clear about the following in your Theme documentation (a README file included with your Theme helps many users over any potential stumbling blocks):
+
=== クレジットリンク <span id="Credit_links"></span>===
 
+
# Indicate precisely what your Theme and template files will achieve.
+
# Adhere to the naming conventions of the standard Theme hierarchy.
+
# Indicate deficiencies in your Themes, if any.
+
# Clearly reference any special modifications in [[Commenting Code|comments]]/[[:en:Commenting_Code|en]] within the template and stylesheet files. Add comments to modifications, template sections, and CSS styles, especially those which cross template files.
+
# If you have any special requirements, which may include custom Rewrite Rules, or the use of some additional, special templates, images or files, please explicitly state the steps of action a user should take to get your Theme working.
+
# Provide contact information (website or email), if possible, for support information and questions.
+
 
+
=== Credit links <span id="Credit_links"></span>===
+
 
* Themes may '''optionally''' designate Author URI and Theme URI in style.css.  
 
* Themes may '''optionally''' designate Author URI and Theme URI in style.css.  
 
** Theme URI, if used, is '''required''' to link to a page specifically related to the Theme.  
 
** Theme URI, if used, is '''required''' to link to a page specifically related to the Theme.  
269行目: 282行目:
 
* Since Themes are GPL (or compatible), Theme authors are prohibited from requiring that these links be kept by Theme users. An appropriate way to ask for Theme users to keep a link to the author's website is as follows: "It is completely optional, but if you like the Theme I would appreciate it if you keep the credit link at the bottom."
 
* Since Themes are GPL (or compatible), Theme authors are prohibited from requiring that these links be kept by Theme users. An appropriate way to ask for Theme users to keep a link to the author's website is as follows: "It is completely optional, but if you like the Theme I would appreciate it if you keep the credit link at the bottom."
  
=== Theme Unit Tests <span id="Theme_Unit_Tests"></span>===
+
=== テーマ説明書<!-- 付属文書 --> <span id="Theme_Documentation"></span>===
 +
 
 +
Please be clear about the following in your Theme documentation (a README file included with your Theme helps many users over any potential stumbling blocks):
 +
 
 +
# Indicate precisely what your Theme and template files will achieve.
 +
# Adhere to the naming conventions of the standard Theme hierarchy.
 +
# Indicate deficiencies in your Themes, if any.
 +
# Clearly reference any special modifications in [[Commenting Code|comments]]/[[:en:Commenting_Code|en]] within the template and stylesheet files. Add comments to modifications, template sections, and CSS styles, especially those which cross template files.
 +
# If you have any special requirements, which may include custom Rewrite Rules, or the use of some additional, special templates, images or files, please explicitly state the steps of action a user should take to get your Theme working.
 +
# Provide contact information (website or email), if possible, for support information and questions.
 +
 
 +
=== テーマ単体テスト <span id="Theme_Unit_Tests"></span>===
  
 
The Theme must meet all the requirements of the [[Theme Unit Test]].
 
The Theme must meet all the requirements of the [[Theme Unit Test]].
  
== Theme Obsolescence <span id="Theme_Obsolescence"></span>==
+
== テーマの旧式化 <span id="Theme_Obsolescence"></span>==
  
* Themes must be kept current once submitted.
+
* 一旦登録したら最新に保たなければいけません。<!-- Themes must be kept current once submitted. -->
 
* Any Theme not updated to the current theme review process as of the most recent release of WordPress may be subject to temporary suspension.
 
* Any Theme not updated to the current theme review process as of the most recent release of WordPress may be subject to temporary suspension.
  
== How To Become a Theme Reviewer <span id="How_To_Become_a_Theme_Reviewer"></span>==
+
== テーマ審査員になるには <span id="How_To_Become_a_Theme_Reviewer"></span>==
  
 
Are you interested in joining the Theme Reviewers team? Great! The team is open to anyone who wants to help out, and the process is simple:
 
Are you interested in joining the Theme Reviewers team? Great! The team is open to anyone who wants to help out, and the process is simple:
291行目: 315行目:
 
# Set the “resolve as” option to “suggest-approval” for inclusion in the Theme directory; or, “not-accepted” if the Theme does not meet the necessary review criteria and standards.
 
# Set the “resolve as” option to “suggest-approval” for inclusion in the Theme directory; or, “not-accepted” if the Theme does not meet the necessary review criteria and standards.
  
== Resources <span id="Resources"></span>==
+
== 資料 <span id="Resources"></span>==
  
=== Helpful Codex Links <span id="Helpful_Codex_Links"></span>===
+
=== 役立つCodexリンク集 <span id="Helpful_Codex_Links"></span>===
  
* [[Theme Development]]
+
* [[Theme Development|テーマ開発]]
* [[Template Hierarchy]]
+
* [[Template Hierarchy|テンプレート階層]]
* [[Theme Unit Test]]
+
* [[Theme Unit Test|テーマ単体テスト]]
* [[WordPress Coding Standards]]
+
* [[WordPress Coding Standards|WordPressコーディング基準]]
* [[CSS Coding Standards]] /[[:en:CSS Coding Standards|en]]
+
* [[CSS Coding Standards|CSSコーディング基準]] /[[:en:CSS Coding Standards|en]]
* [[Site Design and Layout]]
+
* [[Site Design and Layout|サイトデザインとレイアウト]]
* [[CSS Fixing Browser_Bugs]] /[[:en:CSS Fixing Browser_Bugs|en]]
+
* [[CSS Fixing Browser Bugs|CSSブラウザバグ対応]] /[[:en:CSS Fixing Browser_Bugs|en]]
* [[CSS Troubleshooting]] /[[:en:CSS Troubleshooting|en]]
+
* [[CSS Troubleshooting|CSSトラブルシューティング]] /[[:en:CSS Troubleshooting|en]]
  
=== Code Validation Links <span id="Code_Validation_Links"></span>===
+
=== コード検証リンク集 <span id="Code_Validation_Links"></span>===
  
 
* [http://validator.w3.org/unicorn/ W3C XHTML+CSS Validator (Unicorn)]
 
* [http://validator.w3.org/unicorn/ W3C XHTML+CSS Validator (Unicorn)]
310行目: 334行目:
 
* [http://jigsaw.w3.org/css-validator/ W3C CSS Validator]
 
* [http://jigsaw.w3.org/css-validator/ W3C CSS Validator]
  
=== PHP/WordPress Validation Tools <span id="PHP.2FWordPress_Validation_Tools"></span>===
+
=== PHP/WordPress検証ツール <span id="PHP.2FWordPress_Validation_Tools"></span>===
  
* [http://www.wordpress.org/extend/plugins/log-deprecated-notices/ Log Deprecated Notices plugin] (Logs notices of deprecated WordPress functions found in Themes/Plugins)
+
* [http://www.wordpress.org/extend/plugins/log-deprecated-notices/ Log Deprecated Notices プラグイン] (テーマ/プラグインに含まれる非推奨WordPress関数の通知を記録)<!-- (Logs notices of deprecated WordPress functions found in Themes/Plugins) -->
* [http://www.wordpress.org/extend/plugins/debogger/ Debogger plugin] (Reports PHP errors and XHTML validation status)
+
* [http://www.wordpress.org/extend/plugins/debogger/ Debogger プラグイン] (PHPエラーおよびXHTMLバリデーションステータスを報告)<!--  (Reports PHP errors and XHTML validation status) -->
  
{{原文|Theme Review|92614}}<!-- 16:54, 29 August 2010 Bono 版 -->
+
{{原文|Theme Review|92654}}<!-- 15:16, 31 August 2010 Chipbennett 版 -->
  
 
<!-- {{DEFAULTSORT:}} -->
 
<!-- {{DEFAULTSORT:}} -->

2010年9月1日 (水) 06:23時点における版

このページ「テーマレビュー」は未翻訳です。和訳や日本語情報を加筆してくださる協力者を求めています

ページ名検討中: このページ名「テーマレビュー」について改名が提案されています。ご意見をお寄せください。

Theme Review

(Last Edited: 2010-09-1)

WordPressテーマディレクトリには、誰でもGPLまたは互換ライセンスのWordPressテーマを登録できます。新しいテーマは、公開する前にWordPressコミュニティのメンバーによって点検されます。このページでは、登録されたテーマの評価の過程と範囲、テーマ審査員向けガイドライン(指針)について説明します。

各バージョンの変更点

WordPressの各新バージョンの公開により、テーマ審査工程が更新されます。新たに登録されたテーマの最新WordPress特性・機能対応を確実にするには、WordPress新バージョンの一箇月以降に登録されるテーマは全て、更新後の審査基準に対応していなければなりません。

WordPressバージョン別テーマ審査基準変更点の一覧を参照してください。

テーマ審査工程と範囲

  • The Theme directory is a repository of GPL (or compatible) licensed WordPress Themes. The review process, by community members, ensures Themes conform to modern web standards, WordPress standards, and are, in general, of high quality.
  • Once a Theme author is ready to release a Theme to the public, they can upload it to the directory system. Be sure your Theme meets the Guidelines below, and test your theme with the Theme Unit Test before you upload your Theme.
  • Submitted Themes are automatically checked to make sure they meet a few basic requirements.
  • Theme authors receive an automated e-mail message, indicating that their Theme files have been received.
  • Submitted Themes are assigned a ticket in the Theme Review Trac system, and entered into a review queue.
  • Theme reviewers test Themes, using the method described below.
  • While the goal of the design review is to ensure that Themes are functional and meet standards much of the review will surround technical issues. Themes will be checked for other factors, such as ensuring that all standards are met to a satisfactory standard, and that designs are logical, and user-friendly.
  • Theme reviewers will provide feedback to Theme authors in a timely manner; and, Theme authors will have the opportunity to revise their Themes at any time.
  • Theme reviewers will either approve Themes or contact Theme authors with feedback and/or questions.
  • Theme authors can submit any changes via the upload page they used when they initially uploaded the Theme, either before or after a Theme has been approved.
  • If a Theme is not initially approved, Theme authors can rework the Theme and resubmit it.

If you have any questions or suggestions about the process, don't hesitate to contact us. Thank you for your contributions!

Responding to a Review

Note: this section is currently being drafted. Consider it as such until this notice is removed.

A theme will be held for approval until items listed as Required are addressed. Once these issues have been resolved, please re-submit your Theme using the uploader tool, a new Trac ticket will be generated. Also note, re-submitted Themes are given priority over newly submitted Themes to help speed up the process and to ensure timely updates are available to end-users.

Theme developer questions, comments, and feedback are always welcome ... and encouraged!
Please use one of the following methods:

  • Leave a comment on the appropriate Trac ticket(s) related to the Theme;
  • Email the theme-reviewers email list (you may need to join first); or,
  • Use the #wp-themes channel on irc.freenode.net where you can find the Theme Review team.

ガイドライン(指針)

  • Themes must meet guidelines current as of the time of Theme submission
  • Guidelines are updated following a major WordPress version release

コード品質

WordPressテーマの標準的な書き方や最良の方法については、テーマ開発およびWordPressコーディング基準CSSコーディング基準/enサイトのデザインとレイアウトを見直してください。

  • テーマは、通知・警告・エラーがないこと、非推奨(廃止予定の)関数が使われていないことが必須です。以下の手法の一つを用いてテストしてください。
  • 広く認められている最新(現行?)バージョンの(X)HTMLおよびCSSを利用することが必須です。(訳注: 翻訳が間違っているかもしれません。原文 "current recognized version(s) of (X)HTML and CSS")
  • JavaScriptエラーが発生しないことが必須です。
  • 有効なHTMLドキュメント HEAD が必須です。
    • 有効なDOCTYPE宣言
    • <html> タグに language_attributes()/en が入っていること
    • <head> タグ内の正しいXFNプロファイルリンク: <head profile="http://gmpg.org/xfn/11">
    • 正しい content-type メタ宣言: <title> タグの前で <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /><code> または <code><meta charset=<?php bloginfo('charset'); ?> 宣言
    • 題名と説明用に <title> 内に bloginfo() が入っていること(必要に応じて)

機能

テーマに以下の本体機能を組み込むことが必須です。

テーマに以下の本体機能を組み込むことが推奨されますが、必須ではありません。しかしながら、組み込む場合にはWordPress本体の実装に対応しなければなりません。

テンプレートタグおよびフック

テーマで使うテンプレートタグおよびフックを適切に実装することが必須です。

次のテンプレートタグおよびフックは、適切な位置に入れることが必須です。

標準テンプレートファイルをテーマに組み込む場合、正しいテンプレートタグで呼び出すことが必須です。

  • ヘッダ: get_header()/en
    • Note: if a Theme uses get_header(), it is required to have a corresponding header.php file.
  • サイドバー: get_sidebar()/en
    • Note: if a Theme uses get_sidebar(), it is required to have a corresponding sidebar.php file.
  • フッタ: get_footer()/en
    • Note: if a Theme uses get_footer(), it is required to have a corresponding footer.php file.
  • コメント: comments_template()/en
    • Note: if a Theme uses comments_template(), it is required to have a corresponding comments.php file.
  • 検索フォーム: get_search_form()/en
  • ログインフォーム: wp_login_form()
  • カスタムテーマテンプレートファイル: get_template_part()
    • Note: include( TEMPLATEPATH . '/file.php' ) should not be used to call Theme template part files, unless absolutely necessary.

サイト情報をテーマに組み込む場合、正しいテンプレートタグで呼び出すことが必須です。
(この一覧は不完全です。全リストは bloginfo() を参照のこと)
(注) この節は草稿中です。 Consider it as such until this notice is removed.

WordPress定義CSSクラス

注: この節は草稿中です。 Consider it as such until this notice is removed.
以下のWordPress定義CSSクラス最新)または同様の要素への対応が必須です。

  • 配置クラス:
    • .aligncenter
    • .alignleft
    • .alignright
  • キャプション関連クラス:
    (画像などの説明文)
    • .wp-caption
    • .wp-caption
    • .wp-caption-text
    • .gallery-caption

共通クラスにも対応すべきです。

  • 投稿クラス:
    • .sticky
  • コメントクラス
    • .bypostauthor

テーマテンプレートファイル

最低限、入れることが必須のもの:

  • index.php
  • comments.php
  • screenshot.png (this should be a "reasonable facsimile" of the Theme after it is initially activated with default options)
  • style.css

入れることが推奨されるもの:

  • 404.php
  • archive.php
  • footer.php
  • header.php
  • page.php
  • search.php
  • sidebar.php (or appropriate variations such as: sidebar-left.php; sidebar-right.php; sidebar-footer.php; etc.)
  • single.php

任意のもの:

  • attachment.php
  • author.php
  • category.php
  • date.php
  • editor-style.css
  • image.php
  • tag.php

登録するテーマには次のような名前のファイルを入れないことが必須です。

  • page-foobar.php
  • category-foobar.php
  • tag-foobar.php
  • taxonomy-foobar.php

Note: The reason to avoid this template naming convention for publicly released Themes is to avoid surprising users that create a page with the "-foobar" slug and expect the default template. See Template_Hierarchy#Page_display.

ライセンシング(使用許諾)

  • 利用許諾条件
    • テーマ(PHP・HTML・CSS・画像・フォント・アイコンを含む)は100% GPLライセンスまたはGPL互換ライセンスであることが必須です。
    • Themes are required to declare their license explicitly, using one of the following methods:
      • Adding License and License URI header slugs to style.css
      • Including a license.txt file with the Theme
    • Use this formatting for license information as in this example:
License: GNU General Public License v2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html

テーマ名

Note: this section is currently being drafted. Consider it as such until this notice is removed.
Theme Name Guidelines are required for new Themes, and recommended for existing Themes.

  • Themes are not to use WordPress in their name. For example My WordPress Theme, WordPress AwesomeSauce, and AwesomeSauce for WordPress would not be accepted. After all, this is the WordPress Theme repository.
    • Themes are not to use the term Theme in their name, such as: AwesomeSauce Theme. Same reason as above ... it's a Theme repository.
    • Themes may use the WP acronym in the Theme name, such as WP AwesomeSauce.
  • Themes are not to use version-specific, markup-related terms (e.g. HTML5, CSS3, etc.) in their name.
  • Themes are not to use Theme author/developer credit text in their name. For example AwesomeSauce by John Q. Developer (makes for a much better credit link); or, SEO/spam-seeded text, such as: AwesomeSauce by Awesome Free WP Themes (this is just not going to pass).

クレジットリンク

  • Themes may optionally designate Author URI and Theme URI in style.css.
    • Theme URI, if used, is required to link to a page specifically related to the Theme.
    • Author URI, if used, is required to link to an author's personal web site or project/development website.
    • Themes are recommended to provide at least one of these two links, in order to ensure Theme users have a point of contact for the Theme developer.
  • Themes may optionally include a public-facing credit link in the Theme footer.
    • If used, Themes are required to include no more than one such footer credit link.
    • Footer credit link, if used, is required to use either Theme URI or Author URI.
    • Any exception to these requirements must be approved by the Theme Review team.
  • In all cases, credit link anchor text and title are required to be accurate, appropriate with respect to the linked site. SEO-seeded anchor text and titles will subject Themes to automatic rejection.
  • Since Themes are GPL (or compatible), Theme authors are prohibited from requiring that these links be kept by Theme users. An appropriate way to ask for Theme users to keep a link to the author's website is as follows: "It is completely optional, but if you like the Theme I would appreciate it if you keep the credit link at the bottom."

テーマ説明書

Please be clear about the following in your Theme documentation (a README file included with your Theme helps many users over any potential stumbling blocks):

  1. Indicate precisely what your Theme and template files will achieve.
  2. Adhere to the naming conventions of the standard Theme hierarchy.
  3. Indicate deficiencies in your Themes, if any.
  4. Clearly reference any special modifications in comments/en within the template and stylesheet files. Add comments to modifications, template sections, and CSS styles, especially those which cross template files.
  5. If you have any special requirements, which may include custom Rewrite Rules, or the use of some additional, special templates, images or files, please explicitly state the steps of action a user should take to get your Theme working.
  6. Provide contact information (website or email), if possible, for support information and questions.

テーマ単体テスト

The Theme must meet all the requirements of the Theme Unit Test.

テーマの旧式化

  • 一旦登録したら最新に保たなければいけません。
  • Any Theme not updated to the current theme review process as of the most recent release of WordPress may be subject to temporary suspension.

テーマ審査員になるには

Are you interested in joining the Theme Reviewers team? Great! The team is open to anyone who wants to help out, and the process is simple:

  1. Join the Theme Reviewers mail list.
  2. Setup a WordPress test environment, and import the Theme Unit Test data. Be sure to set WP_DEBUG to 'true' in wp-config.
  3. Install the Log Deprecated Notices plugin on your WordPress test environment.
  4. Pick the oldest unclaimed Theme from the Theme Review Trac Queue; and, "reassign to" your Trac username
  5. Using the SVN link in the Trac ticket, download the Theme files, and install/activate the Theme on your WordPress test environment.
  6. Review the Theme per the process, ensuring the Theme meets the criteria as well as the Theme Development standards.
  7. Attach your Theme review notes as a comment on the ticket.
  8. Set the “resolve as” option to “suggest-approval” for inclusion in the Theme directory; or, “not-accepted” if the Theme does not meet the necessary review criteria and standards.

資料

役立つCodexリンク集

コード検証リンク集

PHP/WordPress検証ツール

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