Browse Source

desk post modified

windhamdavid 1 year ago
parent
commit
52f800e10a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      page-desk.php

+ 1 - 1
page-desk.php

@@ -34,7 +34,7 @@ get_header(); ?>
 					<?php $stickyposts = get_posts($args); ?>
 					<?php $stickyposts = get_posts($args); ?>
             <li>Recently Edited</li>
             <li>Recently Edited</li>
             <?php foreach ($stickyposts as $post) : setup_postdata($post); ?>
             <?php foreach ($stickyposts as $post) : setup_postdata($post); ?>
-              <li style="color:#777"><?php echo get_the_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'); ?> - <a href="<?php the_permalink() ?>"><?php the_title(); ?></a></li>
 					  <?php endforeach; ?>
 					  <?php endforeach; ?>
           <br>
           <br>
           <?php } ?>
           <?php } ?>