|
@@ -19,19 +19,17 @@ get_header(); ?>
|
|
<p><b>23/07/17</b> - I made this page because it was 🔥 outside last weekend that I found myself in front of the computer looking at my own website. I also wanted to simplify the navigation to make my markdown files first class citizens on this website because I update them more often.</p>
|
|
<p><b>23/07/17</b> - I made this page because it was 🔥 outside last weekend that I found myself in front of the computer looking at my own website. I also wanted to simplify the navigation to make my markdown files first class citizens on this website because I update them more often.</p>
|
|
</div>
|
|
</div>
|
|
<div class="col-lg-4 offset-md-1">
|
|
<div class="col-lg-4 offset-md-1">
|
|
- <h5 class="fw-bold mt-2">Posts</h5>
|
|
|
|
|
|
+ <h5 class="fw-bold mt-2">Posts <span class="text-muted fw-light"><small>( <sup>*</sup> updated )</small></span></h5>
|
|
<ul style="margin:0">
|
|
<ul style="margin:0">
|
|
<?php $sticky = get_option('sticky_posts');?>
|
|
<?php $sticky = get_option('sticky_posts');?>
|
|
<?php if( !empty($sticky) ){ ?>
|
|
<?php if( !empty($sticky) ){ ?>
|
|
<?php $args = array('post_type' => 'post','posts_per_page' => 5,'post__in' => $sticky);?>
|
|
<?php $args = array('post_type' => 'post','posts_per_page' => 5,'post__in' => $sticky);?>
|
|
<?php $stickyposts = get_posts($args); ?>
|
|
<?php $stickyposts = get_posts($args); ?>
|
|
- <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_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'); ?> - <a href="<?php the_permalink() ?>"><?php the_title(); ?></a> <sup>*</sup></li>
|
|
<?php endforeach; ?>
|
|
<?php endforeach; ?>
|
|
- <br>
|
|
|
|
<?php } ?>
|
|
<?php } ?>
|
|
- <?php $recentposts = get_posts(array( 'numberposts' => 9, 'offset' => 0 ) ); foreach ($recentposts as $post) : setup_postdata($post); ?>
|
|
|
|
|
|
+ <?php $recentposts = get_posts(array( 'numberposts' => 10, 'offset' => 0, 'post__not_in' => get_option( 'sticky_posts' )) ); foreach ($recentposts 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_date('y/m/d'); ?> - <a href="<?php the_permalink() ?>"><?php the_title(); ?></a></li>
|
|
<?php endforeach; ?>
|
|
<?php endforeach; ?>
|
|
</ul>
|
|
</ul>
|
|
@@ -93,7 +91,7 @@ get_header(); ?>
|
|
</ul>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="col-lg-4">
|
|
<div class="col-lg-4">
|
|
- <h5 class="fw-bold mt-2">Listening <span><small>( all @ <a href="https://davidawindham.com/studio/music/">/music )</a></small></span></h5>
|
|
|
|
|
|
+ <h5 class="fw-bold mt-2">Listening <span class="text-muted fw-light"><small>( all @ <a href="https://davidawindham.com/studio/music/">/music )</a></small></span></h5>
|
|
<ul style="margin:0">
|
|
<ul style="margin:0">
|
|
<?php listening(); ?>
|
|
<?php listening(); ?>
|
|
</ul>
|
|
</ul>
|