<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? echo get_option('home'); ?> - लिंक на главную страницу.
1 |
<a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a> |
(post_class)
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', 'kubrick')) ?> - लिखने के समय.
1 |
<small><?php the_time(__('F jS, Y', 'kubrick')) ?> <!-- by <?php the_author() ?> --></small> |
<Php? the_content('Прочитать остальную часть записи »'); ?> - सामग्री प्रदर्शित करें.
WordPress (FAQ)




