<Php language_attributes? ();?> - Selectaţi limba de coajă.
1 |
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> |
<Php bloginfo ('? Stylesheet_url');?> - Calea către fişierul style.css
1 |
<link rel="stylesheet" href="/<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" /> |
<? Php bloginfo ("');?> nume - Numele blog-ul.
? <Php wp_title ("hello", adevărat, "stânga');?> - afişează titlul paginii, categorie.
1 |
//1 - строчка |
<? Php bloginfo ("');?> stylesheet_directory - Calea către şablon.
1 |
<?php bloginfo('stylesheet_directory'); ?> |
<? Php bloginfo ("html_type');?> - Tip de fişier HTML.
<Php bloginfo ('? Charset');?> - Codificare.
1 |
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> |
<? Php bloginfo ("');?> descriere - Descrierea blog.
1 |
<div class="description"><?php bloginfo('description'); ?> |
<Php get_option? Echo ("home');?> - Link la pagina principală.
1 |
<a href="/<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a> |
is_single () - Utilizate pentru a determina pozitiile.
post_class () - Obţinerea mesaj de clasă.
<? Php the_ID ();?> - Ia id-ul post pagina.
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 ();?> - Denumirea materiei.
1 |
<a href="/<?php the_permalink() ?>"><?php the_title(); ?></a> |
<Php the_author ()??> - Autor al materialului.
<Php the_time (__(' F js, Y ','? Kubrick'))?> - Timp de scris.
1 |
<small><?php the_time(__('F jS, Y', 'kubrick')) ?> <!-- by <?php the_author() ?> --></small> |
<? Php the_content('Прочитать остальную часть записи »'); ?> - Afişează conţinutul.
WordPress (FAQ)




