1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- <?php
- /*
- Template Name: Desk
- */
- get_header(); ?>
- <?php get_template_part( 'underscore' ); ?>
- <div class="container leader">
- <div class="row">
- <div class="col-sm-12">
- <h1 id="desk" class="cm-sans wow fadeInLeft">Desk</h1>
- </div>
- </div>
- <div class="row desk">
- <div class="col-sm-5">
- <div class="entry-content">
- <h4 class="georgia spread"><em><span class="firstcharacter">T</span>he internet is ok if you look in the right places. It's also awash with nonsense</em>. 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 once I quit the social networks. I wrote a <a href="/my-personal-website/">post about this site</a> in 2020. Feel free to <a href="/contact/">contact me</a> if you have any feedback, questions, or just want to say hello. <br />Thanks for the visit,</h4>
- <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:100px 10px;border:3px solid #cecece"/>
- </div>
- </div>
- <div class="col-sm-4 studio-tools">
- <ul>
- <li>Recent Posts</li>
- <?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>
- <?php endforeach; ?>
- <li class="pull-right"><a href="<?php echo site_url(); ?>/archive/"><b>All Posts -></b></a></li>
- </ul>
- </div>
- <div class="col-sm-3">
- <div class="row"style="padding:20px 0 0 0;">
- <?php get_search_form(); ?>
- </div>
- <div class="row">
- <div class="col-xs-6 studio-tools">
- <ul>
- <?php wp_list_categories('orderby=name&exclude=1,7,44&title_li=Topics'); ?>
- </ul>
- </div>
- <div class="col-xs-6 studio-tools">
- <ul>
- <li>Year</li>
- <?php wp_get_archives( array( 'type' => 'yearly') ); ?>
- </ul>
- </div>
- </div>
- <div class="row">
- <div class="col-xs-12 studio-tools">
- <ul>
- <li>Tags</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>
- <div class="row">
- <div class="col-xs-12 studio-tools">
- <h5>Today I Learned</h5>
- <ul>
- <?php pull_til(); ?>
- <li class="pull-right"><a href="https://davidawindham.com/til/til.html"><b>All TIL -></b></a></li>
- </ul>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="container">
- <div id="content" role="main">
- <main id="main" class="site-main" role="main">
- <?php query_posts('showposts=10'); ?>
- <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
- <article id="content" class="single" role="main">
- <div itemscope="" itemtype="http://schema.org/BlogPosting" id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
- <div class="entry-content">
- <div class="date">
- <time class="updated" datetime="<?php the_time('c');?>" itemprop="datePublished"><?php the_date('n/j/Y'); ?></time>
- </div>
- <span class="author vcard"><span class="fn">David A. Windham</span></span>
- <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( '%s', 'daw' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
- <?php the_content(); ?>
- <div class="clear"> </div>
- </div>
- </div>
- </article>
- <?php endwhile; ?>
- </main>
- </div>
- </div>
- <?php get_footer('home'); ?>
|