| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- <?php
- /*
- Template Name: Desk
- */
- get_header(); ?>
- <?php get_template_part( 'underscore' ); ?>
- <div class="container leader">
- <div class="row">
- <div class="col-md-12">
- <h1 id="desk" class="cm-sans fs-2 animate__animated animate__fadeInLeft">Desk</h1>
- </div>
- </div>
- <div class="row desk pt-5">
- <div class="col-md-5">
- <div class="entry-content">
- <h5 class="georgia spread"><span class="firstcharacter">T</span>he internet is ok if you <a href="<?php echo get_template_directory_uri() . '/img/desk.png'; ?>">look in the right places</a>. It's also awash with nonsense. I'm just hoping not to contribute to the nonsense. I publish little essays, notes, ideas, images, or pretty much anything else I want to share here. This site started with mostly computer related ramblings, but I went elsewhere with it after I quit the social networks. I wrote a <a href="/my-personal-website/">post about this website</a>. The easiest way to quickly scan everything on it is through the <a href="/archive/">archive</a> or <a href="/sitemap/">sitemap</a> pages.
- Feel free to <a href="/contact/">contact me</a> if you have any feedback, questions, or just want to say hello. <br /><br />Thanks for the visit,</h5>
- <img src="<?php echo get_template_directory_uri() . '/img/dw_signature.png'; ?>" alt="David Windham Signature"/>
- <!--<img src="<?php echo get_template_directory_uri() . '/img/desk.png'; ?>" alt="Who Needs a Computer Anyway?" width="90%" style="margin:50px 10px 20px;border:3px solid #cecece"/>-->
- </div>
- <div class="studio-tools d-lg-block">
- <p><u>Today I Learned</u></p>
- <ul>
- <?php pull_til(); ?>
- </ul>
- </div>
- </div>
- <div class="col-md-4 studio-tools">
- <ul>
- <li><u>Recent Posts</u></li>
- <?php $recentposts = get_posts('numberposts=71'); 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>
- <?php endforeach; ?>
- </ul>
- </div>
- <div class="col-lg-3">
- <div class="row"style="padding:20px 0 20px 0;">
- <?php get_search_form(); ?>
- </div>
- <br>
- <div class="row">
- <ul>
- <?php $sticky = get_option('sticky_posts');?>
- <?php if( !empty($sticky) ){ ?>
- <?php $args = array('post_type' => 'post', 'orderby' => 'modified', 'posts_per_page' => 5,'post__in' => $sticky);?>
- <?php $stickyposts = get_posts($args); ?>
- <li><u>Recently ( Edited )</u></li>
- <?php foreach ($stickyposts as $post) : setup_postdata($post); ?>
- <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; ?>
-
- <?php } ?>
- </ul>
- <div class="col-sm-6 studio-tools">
- <ul>
- <li>Year</li>
- <?php wp_get_archives( array( 'type' => 'yearly') ); ?>
- </ul>
- </div>
- <div class="col-sm-6 studio-tools">
- <ul>
- <?php wp_list_categories('orderby=name&exclude=1,7,44&title_li=Topics'); ?>
- </ul>
- </div>
- </div>
- <div class="row">
- <ul class="tags">
- <li><u>Tags</u></li>
- <?php $tags = get_tags(); if ( $tags ) : foreach ( $tags as $tag ) : ?>
- <a href="<?php echo esc_url( get_tag_link( $tag->term_id ) ); ?>" title="<?php echo esc_attr( $tag->name ); ?>"><?php echo esc_html( $tag->name ); ?></a>,
- <?php endforeach; endif; ?>
- </ul>
- </div>
- <div class="row">
- <div class="col-md-12 studio-tools">
- <ul>
- <li><u>Recent Bookmarks</u></li>
- <?php bookmarks_pull(); ?>
- </ul>
- </div>
- </div>
- </div>
- <div class="float-end mt-3">
- <a href="/desk/posts/" type="button" class="btn btn-dark" style="margin-right:.5rem">Feed</a>
- <a href="/archive/" type="button" class="btn btn-dark">👉🏼 The Archive</a>
- </div>
- </div>
- </div>
- <?php get_footer('home'); ?>
|