<? Php language_attributes ();?> - Vali keel kest.
1 |
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> |
<? Php bloginfo (stylesheet_url');?> - Tee faili style.css
1 |
<link rel="stylesheet" href="/<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" /> |
<? Php bloginfo (nimi');?> - Nimi blogis.
<? Php wp_title ("tere", tõsi, "vasakule');?> - kuvab lehekülje pealkiri, kategooria.
1 |
//1 - строчка |
<? Php bloginfo (stylesheet_directory');?> - Malli tee.
1 |
<?php bloginfo('stylesheet_directory'); ?> |
<? Php bloginfo (html_type');?> - Tüüpi HTML faili.
<? Php bloginfo ("charset');?> - Kodeerimine.
1 |
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> |
<? Php bloginfo (kirjeldus');?> - Kirjeldus blogis.
1 |
<div class="description"><?php bloginfo('description'); ?> |
<? Php echo get_option (kodu');?> - Link kodulehekülg.
1 |
<a href="/<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a> |
is_single () - Kasutatud määrata positsioone.
post_class () - Pöörduda klassi postiga.
<? Php the_ID ();?> - Get id post lehele.
1 |
<div <?php post_class(); ?> id="post-<?php the_ID(); ?>"> |
1 |
<?php if (have_posts()) : ?> |
<? Php the_permalink ()?> - Link
1 |
<?php the_tags( '<p>' . __('Tags:', 'kubrick') . ' ', ', ', '</p>'); ?> - выводим теги под стаьей
|
<? Php the_title ();?> - Materjali nimetus.
1 |
<a href="/<?php the_permalink() ?>"><?php the_title(); ?></a> |
<? Php the_author ()?> - Author materjali.
<? Php the_time (__(' F JS, Y "," Kubrick'))?> - Kirjutamise ajal.
1 |
<small><?php the_time(__('F jS, Y', 'kubrick')) ?> <!-- by <?php the_author() ?> --></small> |
<? Php the_content('Прочитать остальную часть записи »'); ?> - Display sisu.
WordPress (KKK)




