|
@@ -30,11 +30,11 @@ get_header(); ?>
|
|
|
<ul>
|
|
|
<?php $sticky = get_option('sticky_posts');?>
|
|
|
<?php if( !empty($sticky) ){ ?>
|
|
|
- <?php $args = array('post_type' => 'post','posts_per_page' => 5,'post__in' => $sticky);?>
|
|
|
+ <?php $args = array('post_type' => 'post', 'orderby' => 'modified', 'posts_per_page' => 5,'post__in' => $sticky);?>
|
|
|
<?php $stickyposts = get_posts($args); ?>
|
|
|
- <li>Recently Edited</li>
|
|
|
+ <li>Recently ( Edited )</li>
|
|
|
<?php foreach ($stickyposts as $post) : setup_postdata($post); ?>
|
|
|
- <li style="color:#777"><?php echo get_the_modified_date('y/m/d'); ?> - <a href="<?php the_permalink() ?>"><?php the_title(); ?></a></li>
|
|
|
+ <li style="color:#777"><?php echo get_the_modified_date('y/m/d'); ?> ( <?php echo get_the_date('y/m/d'); ?> ) - <a href="<?php the_permalink() ?>"><?php the_title(); ?></a></li>
|
|
|
<?php endforeach; ?>
|
|
|
<br>
|
|
|
<?php } ?>
|