テンプレートタグ
is_category() – WordPress*リファレンス
カテゴリーアーカイブページを表示している時。
When any Category archive page is being displayed.
is_category() – WordPress*リファレンス
is_archive() – WordPress*リファレンス
どんなタイプのアーカイブページも表示している時。 カテゴリ、著名者、および日時ベースのページはすべてアーカイブタイプです。
When any type of Archive page is being displayed. Category, Author and Date based pages are all types of Archives.
is_author() – WordPress*リファレンス
著者ページが表示されている場合。
When any Author page is being displayed.
is_author() – WordPress*リファレンス
is_admin() – WordPress*リファレンス
ダッシュボードか管理パネルを表示しているとき。
When the Dashboard or the administration panels are being displayed.
WordPressの最初のステップ
is_404() – WordPress*リファレンス
ページが「HTTP 404の後に表示する場合:見つけなかった」エラーが生じます。
When a page displays after an “HTTP 404: Not Found” error occurs.
初心者のためのWordPressインストール方法 – WordPress*リファレンス
WordPress初心者のためのWordPressをインストールする方法を、
ページ画像を追って詳しく解説します。
初心者のためのWordPressインストール方法 – WordPress*リファレンス
is_trackback() – WordPress*リファレンス
要求されたサイトがWordPressのそのTrackbackエンジンの中へのホックである場合。このタグは、ユーザによって典型的に使用されません;それは、WordPressによって内部に使用され、Plugin開発者に利用可能です。
is_trackback() – WordPress*リファレンス
pings_open() – WordPress*リファレンス
pingsがWordPress Loopで処理される現在のポストのために許容されているとき。
When pings are allowed for the current Post being processed in the WordPress Loop.
get_header – WordPress*リファレンス
別のテンプレートファイル(例えば、header.php)の中でHTMLを実行する1個のTemplateファイル(例えば、index.php)とPHPの中で見つけられて、Templateは使用されるタグを含んでいます。 PHPはinclude()声明をこのために建てさせますが、これらのWordPressテンプレートタグで、ある特定のファイルを含んでいるのははるかに簡単になります。
TemplatesとThemesに関する詳しい情報に関してUsing ThemesとTheme Developmentを見てください。
The Template include tags are used within one Template file (for example index.php) to execute the HTML and PHP found in another template file (for example header.php). PHP has a built in include() statement for this purpose, but these WordPress template tags make including certain specific files much easier.
See Using Themes and Theme Development for more information about Templates and Themes.
ヘッダーテンプレート
<?php get_header(); ?>
このタグはあなたの現在のテーマのディレクトリからのファイルheader.phpを含んでいます。 そのファイルが見つけられないと、それは代わりにwp-content/themes/default/header.phpを含むでしょう。
This tag includes the file header.php from your current theme’s directory. If that file is not found, it will instead include wp-content/themes/default/header.php.
Lovelog+*の人気記事 ランキングTOP 10
- Twitter Toolsのプラグイン日本語化を配布 (29)
- cforms II*お問い合わせフォームをカスタマイズ (17)
- TinyMCE Advanced*ビジュアルエディタを強化-日本語版配布 (17)
- events-calendar*日本語版 (16)
- WP Page Numbers – デザイン選べるページナビを表示 (15)
- My Category Orderの日本語版を配布 (14)
- TinyMCE Advanced3.2.7 日本語版配布 (12)
- Lightbox2.0より軽い、jQuery Lightbox (11)
- Twitter Tools2.1.1プラグインの日本語版配布 (10)
- comment_ID – WordPress*リファレンス (10)







