Más contenido relacionado
La actualidad más candente (20)
Similar a もう一度基礎から!WordPress勉強会 (20)
もう一度基礎から!WordPress勉強会
- 41. ■代表的なテンプレートタグ
• bloginfo()
• the_category()
• the_permalink()
データベースに入力した情報を表示するためのWordPressの関数。データベースに入力した情報を表示するためのWordPressの関数。
()内にはパラメータがはいる。
http://wpdocs.sourceforge.jp/%E3%83%86%E3%83%B3%E3%83%97%E3%83%
AC%E3%83%BC%E3%83%88%E3%82%BF%E3%82%B0
WordPressによるサイト制作において重要な
要素でありテンプレートタグなしには開発できない。
- 47. <?php
if ( have_posts() ) {
while ( have_posts() ) {
the_post();
// // 投稿がここに表示される //
} // end while
} // end if} // end if
?>
- 79. Parse error: syntax error, unexpected 'endif' (T_ENDIF) in
D:¥home¥site¥wwwroot¥wp-content¥themes¥apt-pc¥header.php
on line 58on line 58
- 86. object(WP_Post)#104 (24) { ["ID"]=> int(1) ["post_author"]=> string(1) "1"
["post_date"]=> string(19) "2014-11-10 07:52:42" ["post_date_gmt"]=>
string(19) "2014-11-10 07:52:42" ["post_content"]=> string(126) "WordPress へ
ようこそ。これは最初の投稿です。編集もしくは削除してブログを始めてくださ
い !" ["post_title"]=> string(12) "Hello world!" ["post_excerpt"]=> string(0) ""
["post_status"]=> string(7) "publish" ["comment_status"]=> string(4) "open"
["ping_status"]=> string(4) "open" ["post_password"]=> string(0) ""
["post_name"]=> string(11) "hello-world" ["to_ping"]=> string(0) "" ["pinged"]=>["post_name"]=> string(11) "hello-world" ["to_ping"]=> string(0) "" ["pinged"]=>
string(0) "" ["post_modified"]=> string(19) "2014-11-10 07:52:42"
["post_modified_gmt"]=> string(19) "2014-11-10 07:52:42"
["post_content_filtered"]=> string(0) "" ["post_parent"]=> int(0) ["guid"]=>
string(42) "http://20141111demo.azurewebsites.net/?p=1" ["menu_order"]=>
int(0) ["post_type"]=> string(4) "post" ["post_mime_type"]=> string(0) ""
["comment_count"]=> string(1) "1" ["filter"]=> string(3) "raw" }