Add a CSS class to remove padding when using mattewhite class for figures
[WebKit-https.git] / Websites / webkit.org / wp-content / themes / webkit / single.php
1 <?php get_header(); ?>
2
3         <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
4
5         <article <?php echo post_class(); ?> id="post-<?php the_ID(); ?>">
6                         <h1><a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h1>
7             <div class="byline">
8                 <p class="date"><?php the_time('M j, Y')?></p>
9                 <p class="author">by <span><?php the_author() ?></span></p>
10                 <?php if ( '' !== ( $twitter_handle = get_the_author_meta('twitter') ) ): ?>
11                 <p class="twitter"><a href="https://twitter.com/intent/user?screen_name=<?php echo get_the_author_meta('twitter'); ?>" target="_blank">@<?php echo esc_html($twitter_handle); ?></a></p>
12                 <?php endif; ?>
13             </div>
14             
15                         <div class="bodycopy">
16                                 <?php the_content('<p class="serif">Read the rest of this entry &gt;&gt;</p>'); ?>
17
18                                 <?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?>
19                         </div>
20         </article>
21         
22         <nav class="navigation pagination" aria-label="Next/Last posts">
23             <?php previous_post_link('%link', 'Older Post <span>%title</span>'); ?>
24             <?php next_post_link('%link', 'Newer Post <span>%title</span>'); ?>
25         </nav>
26
27         <?php //comments_template(); // No comments ?>
28
29         <?php endwhile; else:
30         include('444.php');
31         endif; ?>
32
33 <?php get_footer(); ?>