<? 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 ('שלום', נכון, "שמאל');?> -
1 |
//1 - строчка |
<? Php bloginfo ("');?> stylesheet_directory - הדרך אל התבנית.
1 |
<?php bloginfo('stylesheet_directory'); ?> |
<? Php bloginfo ("html_type');?> - סוג קובץ HTML.
<? Php bloginfo ("charset');?> - קידוד.
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 get_option הד ('');?> בבית - קישור לדף הבית.
1 |
<a href="/<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a> |
is_single () - משמש כדי לקבוע עמדות.
post_class () - קבל הודעה בכיתה.
<? Php the_ID ();?> - קבל id בהודעה הדף.
1 |
<div <?php post_class(); ?> id="post-<?php the_ID(); ?>"> |
1 |
<?php if (have_posts()) : ?> |
<? Php the_permalink ()?> - קישור
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 "," קובריק'))?> - זמן הכתיבה.
1 |
<small><?php the_time(__('F jS, Y', 'kubrick')) ?> <!-- by <?php the_author() ?> --></small> |
<? Php the_content('Прочитать остальную часть записи »'); ?> - הצגת תוכן.
וורדפרס (FAQ)




