add fa
This commit is contained in:
@@ -16,19 +16,23 @@ $posts = get_posts( array(
|
||||
) );
|
||||
|
||||
# вывод поста
|
||||
if( $posts ):
|
||||
if( $posts ):?>
|
||||
|
||||
foreach($posts as $post):
|
||||
setup_postdata( $post );
|
||||
?>
|
||||
<div id="events_left">
|
||||
|
||||
<?foreach($posts as $post):
|
||||
setup_postdata( $post );
|
||||
?>
|
||||
|
||||
<div class="event">
|
||||
<div class="news_date"><?the_time('j F Y');?></div>
|
||||
<a href="<?php the_permalink(); ?>"><?php the_title();?></a>
|
||||
</div>
|
||||
<div class="event">
|
||||
<div class="news_date"><?the_time('j F Y');?></div>
|
||||
<a href="<?php the_permalink(); ?>"><?php the_title();?></a>
|
||||
</div>
|
||||
|
||||
<?php endforeach;
|
||||
<?php endforeach;?>
|
||||
|
||||
wp_reset_postdata();
|
||||
</div>
|
||||
|
||||
<?wp_reset_postdata();
|
||||
|
||||
endif;
|
||||
Reference in New Issue
Block a user