add fa
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
$posts = get_posts( array(
|
||||
'numberposts' => 3,
|
||||
'category' => 0, // пока без категории
|
||||
'category' => 22, // пока без категории
|
||||
'orderby' => 'date',
|
||||
'order' => 'DESC',
|
||||
'include' => array(),
|
||||
@@ -17,14 +17,12 @@ $posts = get_posts( array(
|
||||
if( $posts ):?>
|
||||
|
||||
<div id="mosts">
|
||||
<h3 class="most_title">Самое читаемое:</h3>
|
||||
<h3 class="most_title">Самое читаемое</h3>
|
||||
<?php foreach($posts as $post):
|
||||
setup_postdata( $post );
|
||||
?>
|
||||
|
||||
<div class="most">
|
||||
<a href="<?php the_permalink(); ?>"><?php the_title();?></a>
|
||||
</div>
|
||||
<div class="most"><a href="<?php the_permalink(); ?>"><?php the_title();?></a></div>
|
||||
|
||||
<?php endforeach;?>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user