<Php language_attributes? ();?> - Pilih bahasa shell.
1 |
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> |
<Php bloginfo ('? Stylesheet_url');?> - Path ke file yang style.css
1 |
<link rel="stylesheet" href="/<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" /> |
<? Php bloginfo ('nama');?> - Nama blog.
? <Php wp_title ('halo', benar, 'kiri');?> - menampilkan judul halaman, kategori.
1 |
//1 - строчка |
<? Php bloginfo ('');?> stylesheet_directory - Jalan ke template.
1 |
<?php bloginfo('stylesheet_directory'); ?> |
<? Php bloginfo ('html_type');?> - Jenis file HTML.
<Php bloginfo ('? Charset');?> - Encoding.
1 |
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> |
<? Php bloginfo ('description');?> - Deskripsi blog.
1 |
<div class="description"><?php bloginfo('description'); ?> |
<Php echo? Get_option ('rumah');?> - Link ke halaman rumah.
1 |
<a href="/<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a> |
is_single () - Digunakan untuk menentukan posisi.
post_class () - Mendapatkan posting kelas.
<? Php the_ID ();?> - Dapatkan id pos halaman.
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 ();?> - Nama material.
1 |
<a href="/<?php the_permalink() ?>"><?php the_title(); ?></a> |
<Php the_author ()??> - Penulis material.
<Php the_time (__(' F js, Y ','? Kubrick'))?> - Waktu penulisan.
1 |
<small><?php the_time(__('F jS, Y', 'kubrick')) ?> <!-- by <?php the_author() ?> --></small> |
<? Php the_content ('Baca sisa entri ini »');?> - Menampilkan konten.
Wordpress (FAQ)




