$slug = 'video'; ?>
$this_category = get_the_category($post->ID); ?>
foreach($this_category as $val) : ?>
if($val->slug === 'photo') : ?>
$slug = 'photo'; ?>
endif; ?>
endforeach; ?>
-
global $wp_locale;
$numMonth = substr(get_the_date(), 3, 2);
$ruMonth = $wp_locale->get_month($numMonth);
?>
9 января 2013
-
-
if(!is_last_post()) :?>
endif; ?>