<? PHP language_attributes ();?> - Seleccione Idioma do shell.
1 |
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> |
<? PHP bloginfo ('stylesheet_url');?> - Camiño ao arquivo style.css
1 |
<link rel="stylesheet" href="/<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" /> |
<? PHP bloginfo ('');?> nome - O nome do blog.
? <Php Wp_title ('Olá', true,'left');?> -
1 |
//1 - строчка |
<? PHP bloginfo ('');?> stylesheet_directory - Camiño para o modelo.
1 |
<?php bloginfo('stylesheet_directory'); ?> |
<? PHP bloginfo ('html_type');?> - O tipo de arquivo HTML.
<? PHP bloginfo ('charset');?> - Codificación.
1 |
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> |
<? PHP bloginfo ('');?> descrición - Descrición do blog.
1 |
<div class="description"><?php bloginfo('description'); ?> |
<? Get_option PHP echo ('');?> casa - Link á páxina principal.
1 |
<a href="/<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a> |
post_class () - Obter post-clase.
<? PHP the_ID ();?> - Obter o ID do post da páxina.
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 ();?> - O nome do material.
1 |
<a href="/<?php the_permalink() ?>"><?php the_title(); ?></a> |
<? PHP the_author ()?> - Autor do material.
<? PHP the_time (__(' F JS, Y ',' Kubrick'))?> - O tempo da escrita.
1 |
<small><?php the_time(__('F jS, Y', 'kubrick')) ?> <!-- by <?php the_author() ?> --></small> |
<? PHP the_content('Прочитать остальную часть записи »'); ?> - Presentar o contido.
WordPress (FAQ)




