|
@@ -22,6 +22,12 @@ get_header(); ?>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-4 studio-tools">
|
|
<div class="col-md-4 studio-tools">
|
|
<ul>
|
|
<ul>
|
|
|
|
+ <li>Recently Edited</li>
|
|
|
|
+ <?php $args = array('post_type' => 'post','posts_per_page' => 5,'post__in' => get_option('sticky_posts'));?>
|
|
|
|
+ <?php $stickyposts = get_posts($args); foreach ($stickyposts as $post) : setup_postdata($post); ?>
|
|
|
|
+ <li style="color:#777"><?php echo get_the_date('m/d/y'); ?> - <a href="<?php the_permalink() ?>"><?php the_title(); ?></a></li>
|
|
|
|
+ <?php endforeach; ?>
|
|
|
|
+ <br>
|
|
<li>Recent Posts</li>
|
|
<li>Recent Posts</li>
|
|
<?php $recentposts = get_posts('numberposts=50'); foreach ($recentposts as $post) : setup_postdata($post); ?>
|
|
<?php $recentposts = get_posts('numberposts=50'); foreach ($recentposts as $post) : setup_postdata($post); ?>
|
|
<li style="color:#777"><?php echo get_the_date('m/d/y'); ?> - <a href="<?php the_permalink() ?>"><?php the_title(); ?></a></li>
|
|
<li style="color:#777"><?php echo get_the_date('m/d/y'); ?> - <a href="<?php the_permalink() ?>"><?php the_title(); ?></a></li>
|