<?PHPのlanguage_attributes ();?> - シェルの言語を選択します。
1 |
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> |
<?PHPのbloginfo('stylesheet_url ');?> - ファイルのstyle.cssへのパス
1 |
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" /> |
<?PHPのbloginfo('名前の');?> - ブログの名前。
<?PHPの wp_title('Привет', true, 'left'); ?> -
1 |
//1 - строчка |
<?PHPのbloginfo('stylesheet_directory ');?> - テンプレートへのパス。
1 |
<?php bloginfo('stylesheet_directory'); ?> |
<?PHPのbloginfo('html_type ');?> - HTMLファイルの種類。
<?PHPのbloginfo('文字セット');?> - エンコーディング。
1 |
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> |
<?PHPのbloginfo('説明');?> - ブログの説明。
1 |
<div class="description"><?php bloginfo('description'); ?> |
<?PHPのエコーget_option('ホーム');?> - ホームページへのリンク。
1 |
<a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a> |
post_class() - クラスのポストを取得します。
<?PHPのthe_ID ();?> - idがページを投稿します。
1 |
<div <?php post_class(); ?> id="post-<?php the_ID(); ?>"> |
1 |
<?php if (have_posts()) : ?> |
1 |
<?php the_tags( '<p>' . __('Tags:', 'kubrick') . ' ', ', ', '</p>'); ?> - выводим теги под стаьей
|
<?PHPのthe_title ();?> - 材料の名前。
1 |
<a href="<?php the_permalink() ?>"><?php the_title(); ?></a> |
<?PHPのthe_author()?> - 材料の著者。
<?PHPのthe_time (__(' F JS、Y'、'キューブリック'))?> - 執筆の時間。
1 |
<small><?php the_time(__('F jS, Y', 'kubrick')) ?> <!-- by <?php the_author() ?> --></small> |
<?PHPの the_content('Прочитать остальную часть записи »'); ?> - コンテンツを表示します。





