#29 Remove old theme files
Merged 2 years ago by glb. Opened 2 years ago by glb.
glb/fedoramagazine-theme cleanup-repo  into  master

@@ -1,37 +0,0 @@ 

- <?php get_header(); ?>

- 

- <div class="wrapper section medium-padding">

- 

- 	<div class="section-inner">

- 

- 		<div class="content fleft">

- 		

- 			<div class="post">

- 			

- 				<div class="post-header">

- 				        

- 		        	<h2 class="post-title"><?php _e('Error 404', 'baskerville'); ?></h2>

- 		        	

- 		        </div>

- 			                                                	            

- 		        <div class="post-content">

- 		        	            

- 		            <p><?php _e("It seems like you have tried to open a page that doesn't exist. It could have been deleted, moved, or it never existed at all. You are welcome to search for what you are looking for with the form below.", 'baskerville') ?></p>

- 		            

- 		            <?php get_search_form(); ?>

- 		            

- 		        </div> <!-- /post-content -->

- 		        

- 			</div> <!-- /post -->

- 		

- 		</div> <!-- /content -->

- 		

- 		<?php get_sidebar(); ?>

- 		

- 		<div class="clear"></div>

- 		

- 	</div> <!-- /section-inner -->

- 

- </div> <!-- /wrapper -->

- 

- <?php get_footer(); ?>

@@ -1,80 +0,0 @@ 

- <?php get_header(); ?>

- 

- <div class="wrapper section medium-padding">

- 

- 	<div class="page-title section-inner">

- 		

- 		<?php if ( is_day() ) : ?>

- 			<h5><?php _e( 'Date', 'baskerville' ); ?></h5> <h3><?php echo get_the_date(); ?></h3>

- 		<?php elseif ( is_month() ) : ?>

- 			<h5><?php _e( 'Month', 'baskerville' ); ?></h5> <h3><?php echo get_the_date('F Y'); ?></h3>

- 		<?php elseif ( is_year() ) : ?>

- 			<h5><?php _e( 'Year', 'baskerville' ); ?></h5> <h3><?php echo get_the_date('Y'); ?></h3>

- 		<?php elseif ( is_category() ) : ?>

- 			<h5><?php _e( 'Category', 'baskerville' ); ?></h5> <h3><?php echo single_cat_title( '', false ); ?></h3>

- 		<?php elseif ( is_tag() ) : ?>

- 			<h5><?php _e( 'Tag', 'baskerville' ); ?></h5> <h3><?php echo single_tag_title( '', false ); ?></h3>

- 		<?php elseif ( is_author() ) : ?>

- 			<?php $curauth = (isset($_GET['author_name'])) ? get_user_by('slug', $author_name) : get_userdata(intval($author)); ?>

- 			<h5><?php _e( 'Author', 'baskerville' ); ?></h5> <h3><?php echo $curauth->display_name; ?></h3>

- 		<?php else : ?>

- 			<h5><?php _e( 'Archive', 'baskerville' ); ?></h5>

- 		<?php endif; ?>

- 		

- 		<?php

- 			$tag_description = tag_description();

- 			if ( ! empty( $tag_description ) )

- 				echo apply_filters( 'tag_archive_meta', '<div class="tag-archive-meta">' . $tag_description . '</div>' );

- 		?>

- 		

- 	</div> <!-- /page-title -->

- 	

- 	<div class="content section-inner">

- 	

- 		<?php if ( have_posts() ) : ?>

- 	

- 			<div class="posts">

- 			

- 				<?php rewind_posts(); ?>

- 			

- 				<?php while ( have_posts() ) : the_post(); ?>

- 				

- 					<div class="post-container">

- 				

- 						<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>

- 				

- 							<?php get_template_part( 'content', get_post_format() ); ?>

- 							

- 							<div class="clear"></div>

- 							

- 						</div> <!-- /post -->

- 					

- 					</div>

- 					

- 				<?php endwhile; ?>

- 							

- 			</div> <!-- /posts -->

- 						

- 			<?php if ( $wp_query->max_num_pages > 1 ) : ?>

- 			

- 				<div class="archive-nav">

- 				

- 					<?php echo get_next_posts_link( '&laquo; ' . __('Older posts', 'baskerville')); ?>

- 						

- 					<?php echo get_previous_posts_link( __('Newer posts', 'baskerville') . ' &raquo;'); ?>

- 					

- 					<div class="clear"></div>

- 					

- 				</div> <!-- /post-nav archive-nav -->

- 				

- 				<div class="clear"></div>

- 				

- 			<?php endif; ?>

- 					

- 		<?php endif; ?>

- 	

- 	</div> <!-- /content -->

- 

- </div> <!-- /wrapper -->

- 

- <?php get_footer(); ?> 

\ No newline at end of file

@@ -1,144 +0,0 @@ 

- /*---------------------------------------------------------------------------------

- 

- 	Editor styles for Baskerville

- 

- ---------------------------------------------------------------------------------*/

- 

- body#tinymce.wp-editor { 

-     font-family: 'Roboto', Helvetica, sans-serif;

-     font-size: 16px;

- }

- 

- body#tinymce.wp-editor a { color: #13C4A5; }

- body#tinymce.wp-editor a:hover { color: #13C4A5; text-decoration: underline; }

- 

- /* headlines */

- 

- body#tinymce.wp-editor h1, body#tinymce.wp-editor h2, body#tinymce.wp-editor h3, body#tinymce.wp-editor h4, body#tinymce.wp-editor h5, body#tinymce.wp-editor h6 {

- 	color: #444;

- 	line-height: 120%;

- }

- 

- body#tinymce.wp-editor h1,

- body#tinymce.wp-editor h2,

- body#tinymce.wp-editor h3,

- body#tinymce.wp-editor h4,

- body#tinymce.wp-editor h5,

- body#tinymce.wp-editor h6 { font-family: 'Roboto Slab', sans-serif; }

- 

- body#tinymce.wp-editor h1 { font-size: 2em; font-weight: 700; }

- 

- body#tinymce.wp-editor h2 { font-size: 1.75em; font-weight: 700; }

- 

- body#tinymce.wp-editor h3 { font-size: 1.5em; font-weight: 700; }

- 

- body#tinymce.wp-editor h4 { font-size: 1.25em; }

- 

- body#tinymce.wp-editor h5 { font-size: 1.1em; }

- 

- /* blockquote */

- 

- body#tinymce.wp-editor blockquote {

- 	padding: 1.1em;

- 	line-height: 150%;

- 	color: #666;

- }

- 

- body#tinymce.wp-editor blockquote:before,

- body#tinymce.wp-editor blockquote:after {

- 	content: "";

- 	display: block;

- 	width: 128px;

- 	height: 3px;

- 	background: #eee;

- 	margin: 40px auto;

- }

- 

- body#tinymce.wp-editor blockquote p { 

- 	font-size: 1.2em;

- 	line-height: 160%;

- 	font-weight: 300;

- 	text-align: center;

- }

- 

- body#tinymce.wp-editor blockquote p:first-child { margin-top: 0; }

- body#tinymce.wp-editor blockquote p:last-child { margin-bottom: 0; }

- 

- body#tinymce.wp-editor cite {

- 	font-family: 'Roboto Slab', sans-serif;

- 	font-size: 0.9rem;

- 	font-weight: bold;

- 	text-transform: uppercase;

- 	line-height: 140%;

- 	text-align: center;

- 	display: block;

- 	margin-top: 1.1em;

- 	font-style: normal;

- }

- 

- body#tinymce.wp-editor cite:before { content: "— " }

- 

- body#tinymce.wp-editor blockquote cite em { font-style: italic; font-weight: bold; }

- 

- /* media */

- 

- body#tinymce.wp-editor .alignright { margin-left: 20px; }

- 

- body#tinymce.wp-editor .alignleft { margin-right: 20px; }

- 

- body#tinymce.wp-editor .wp-caption {

- 	padding: 0;

- 	border: none;

- 	background: none;

- }

- 

- body#tinymce.wp-editor .wp-caption-dd {

- 	font-size: 0.85em;

- 	padding-top: 0.5em;

- 	color: #888;

- 	text-align: center;

- 	padding: 10px 0;

- }

- 

- /* tables */

- 

- body#tinymce.wp-editor table {

- 	border-collapse: collapse;

-     border-spacing: 0;

-     empty-cells: show;

-     font-size: 0.9em;

-     width: 100%;

-     margin-bottom: 1.1em;

-     border: none;

- }

- 

- body#tinymce.wp-editor th,

- body#tinymce.wp-editor td {

- 	padding: 2%;

- 	margin: 0;

- 	overflow: visible;

- 	line-height: 120%;

- 	border: none;

- 	border-bottom: 1px solid #DDD;

- 	font-size: 1em;

- }

- 

- body#tinymce.wp-editor caption {

- 	color: #444;

- 	text-align: center;

- 	padding: 2%;

- }

- 

- body#tinymce.wp-editor thead {

- 	vertical-align: bottom;

- 	white-space: nowrap;

- }

- 

- body#tinymce.wp-editor th {

- 	font-weight: bold;

- 	color: #444;

- }

- 

- body#tinymce.wp-editor table tbody > tr:nth-child(odd) > td { background: #f9f9f9; }

- 

- 

@@ -1,97 +0,0 @@ 

- *** Baskerville changelog ***

- 

- 

- Version 1.15 (2014-09-26)

- -------------------------

- - Added styling for email input fields in the post content

- - Fixed so that images smaller than the featured media area is centered

- - Fixed the display of Disqus comments

- - Fixed so that other post types (ie the Jetpack portfolio post type) is displayed correctly

- 

- 

- Version 1.14 (2014-08-06)

- -------------------------

- - Optimized style.css

- - Fixed so that the scaling effect on featured images works in non-webkit browsers

- 

- 

- Version 1.13 (2014-08-05)

- -------------------------

- - Fixed an issue which would prevent WordPress Mediaelement.js style from loading

- - Minor CSS tweaks and fixes

- 

- 

- Version 1.12 (2014-08-02)

- -------------------------

- - Fixed a bug which made it so that the author email was always visible in the post meta, even if it had been set as hidden in the settings

- 

- 

- Version 1.11 (2014-07-31)

- -------------------------

- – Added form styling to the post content CSS to better support Contact Form 7 and other form based plugins

- - Added a function to prevent WordPress built-in medieaelement.js styles from kicking in

- - Improved the Masonry function in global.js to be leaner and meaner

- – Replaced the Masonry files included with the theme with the ones packaded with WordPress

- 

- 

- Version 1.10 (2014-07-31)

- -------------------------

- - Fixed so that plugins can add post thumbnail sizes when Baskerville is active

- 

- 

- Version 1.09 (2014-07-19)

- -------------------------

- - Fixed so that the post-image size is the same as the maximum width of the container

- 

- 

- Version 1.08 (2014-06-25)

- -------------------------

- - Removed a stray closing div from footer.php

- - Replaced the search field in the header with get_search_form();

- - Added sanitize_callback to theme customization in functions.php

- 

- 

- Version 1.07 (2014-06-12)

- -------------------------

- - Replaced esc_attr() with the_title_attribute() in link title attributes

- - Fixed a bug where the audio player would overflow in some browsers

- 

- 

- Version 1.06 (2014-06-11)

- -------------------------

- - Escaped the_title() in link title attributes

- - Increased the contrast of the post-excerpt element

- 

- 

- Version 1.05 (2014-06-09)

- -------------------------

- - Fixed a bug where template-archives.php would always display comments

- 

- 

- Version 1.04 (2014-06-08)

- -------------------------

- - Minor fixes and touch-ups to template-contributors.php

- - Realized that the image post format was missing, added it in

- 

- 

- Version 1.03 (2014-06-08)

- -------------------------

- - Fixed a bug in the search form in the header

- - Upped the resolution of home-g.png, author-w.png and the post-nav icons in the /2x/ folder

- - Adjusted font sizes and line heights of elements @ 600px

- 

- 

- Version 1.02 (2014-06-07)

- -------------------------

- - Added yet another missing text domain

- 

- 

- Version 1.01 (2014-06-07)

- -------------------------

- - Added support for custom background

- - Added missing text domains in template-contributors.php

- - Minor adjustments to style.css

- 

- 

- Version 1.00 (2014-06-07)

- ------------------------- 

\ No newline at end of file

@@ -1,107 +0,0 @@ 

- <?php if ( post_password_required() )

- 	return;

- ?>

- 

- 	<?php if ( have_comments() ) : ?>

- 

- 		<div class="comments">

- 

- 			<a name="comments"></a>

- 

- 			<div class="comments-title-container">

- 

- 				<h2 class="comments-title fleft">

- 

- 					<?php echo count($wp_query->comments_by_type['comment']) . ' ';

- 					echo _n( 'Comment' , 'Comments' , count($wp_query->comments_by_type['comment']), 'baskerville' ); ?>

- 

- 				</h2>

- 

- 				<?php if ( comments_open() ) : ?>

- 

- 					<h2 class="add-comment-title fright"><a href="#respond"><?php _e('Add yours', 'baskerville') . ' &rarr;'; ?></a></h2>

- 

- 				<?php endif; ?>

- 

- 				<div class="clear"></div>

- 

- 			</div> <!-- /comments-title-container -->

- 

- 			<ol class="commentlist">

- 			    <?php wp_list_comments( array( 'type' => 'comment', 'callback' => 'baskerville_comment' ) ); ?>

- 			</ol>

- 

- 			<?php if (!empty($comments_by_type['pings'])) : ?>

- 

- 				<div class="pingbacks">

- 

- 					<div class="pingbacks-inner">

- 

- 						<h3 class="pingbacks-title">

- 

- 							<?php echo count($wp_query->comments_by_type['pings']) . ' ';

- 							echo _n( 'Pingback', 'Pingbacks', count($wp_query->comments_by_type['pings']), 'baskerville' ); ?>

- 

- 						</h3>

- 

- 						<ol class="pingbacklist">

- 						    <?php wp_list_comments( array( 'type' => 'pings', 'callback' => 'baskerville_comment' ) ); ?>

- 						</ol>

- 

- 					</div>

- 

- 				</div>

- 

- 			<?php endif; ?>

- 

- 			<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : ?>

- 

- 				<div class="comment-nav-below" role="navigation">

- 

- 					<div class="post-nav-older fleft"><?php previous_comments_link( '&laquo; ' . __( 'Older Comments', 'baskerville' ) ); ?></div>

- 

- 					<div class="post-nav-newer fright"><?php next_comments_link( __( 'Newer Comments', 'baskerville' ) . ' &raquo;' ); ?></div>

- 

- 					<div class="clear"></div>

- 

- 				</div> <!-- /comment-nav-below -->

- 

- 			<?php endif; ?>

- 

- 		</div><!-- /comments -->

- 

- 	<?php endif; ?>

- 

- 	<?php if ( ! comments_open() && !is_page() ) : ?>

- 

- 		<p class="nocomments"><?php _e( 'Comments are closed.', 'baskerville' ); ?></p>

- 

- 	<?php endif; ?>

- 

- 	<?php $comments_args = array(

- 

- 		'comment_notes_before' =>

- 			'<p class="comment-notes">' . __( 'Your email address will not be published.', 'baskerville' ) . '</p>',

- 

- 		'comment_notes_after' =>

- 			'<p class="comment-notes-after">All Comments are moderated. It may take some time for your first post to get through the queue. If your posts seem to never show up, please <a href="https://admin.fedoraproject.org/mailman/listinfo/marketing">contact us directly</a>. Please follow the <a href="https://getfedora.org/code-of-conduct">Fedora Code of Conduct</a> when commenting. Also note that Fedora Magazine is <strong>not a help forum</strong>. If you need help with an issue or want to discuss it, consult <a href="https://fedoraproject.org/wiki/Communicating_and_getting_help">this wiki page</a> for help on where to do that.</p>',

- 

- 		'comment_field' =>

- 			'<p class="comment-form-comment"><textarea id="comment" name="comment" cols="45" rows="6" required>' . '</textarea></p>',

- 

- 		'fields' => apply_filters( 'comment_form_default_fields', array(

- 

- 			'author' =>

- 				'<p class="comment-form-author">' .

- 				'<input id="author" name="author" type="text" placeholder="' . __('Name','baskerville') . '" value="' . esc_attr( $commenter['comment_author'] ) . '" size="30" />' . '<label for="author">Author</label> ' . ( $req ? '<span class="required">*</span>' : '' ) . '</p>',

- 

- 			'email' =>

- 				'<p class="comment-form-email">' . '<input id="email" name="email" type="text" placeholder="' . __('Email','baskerville') . '" value="' . esc_attr(  $commenter['comment_author_email'] ) . '" size="30" /><label for="email">Email</label> ' . ( $req ? '<span class="required">*</span>' : '' ) . '</p>',

- 

- 			'url' =>

- 			'<p class="comment-form-url">' . '<input id="url" name="url" type="text" placeholder="' . __('Website','baskerville') . '" value="' . esc_attr( $commenter['comment_author_url'] ) . '" size="30" /><label for="url">Website</label></p>')

- 		),

- 	);

- 

- 	comment_form($comments_args);

- 	?>

@@ -1,33 +0,0 @@ 

- <?php if($post->post_content != "") : ?>

- 									                                    	    

- 	<div class="post-excerpt">

- 		    		            			            	                                                                                            

- 		<?php the_excerpt('100'); ?>

- 	

- 	</div> <!-- /post-excerpt -->

- 

- <?php endif; ?>

- 

- <?php if( is_sticky() ) { ?> <span class="sticky-post"><?php _e('Sticky post', 'baskerville'); ?></span> <?php } ?>

- 

- <div class="post-meta">

- 

- 	<a class="post-date" href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php the_time( 'Y/m/d' ); ?></a>

- 	

- 	<?php

- 	

- 		if( function_exists('zilla_likes') ) zilla_likes(); 

- 	

- 		if ( comments_open() ) {

- 			comments_popup_link( '0', '1', '%', 'post-comments' );

- 		}

- 		

- 		edit_post_link(); 

- 	

- 	?>

- 

- 	<div class="clear"></div>

- 

- </div>

-             

- <div class="clear"></div> 

\ No newline at end of file

@@ -1,55 +0,0 @@ 

- <?php $audio_url = get_post_meta($post->ID, 'audio_url', true); ?>

- 

- <div class="post-header">

- 	

-     <h2 class="post-title"><a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>

-     

-     <?php if( is_sticky() ) { ?> <span class="sticky-post"><?php _e('Sticky post', 'baskerville'); ?></span> <?php } ?>

-     

- </div> <!-- /post-header -->

- 

- <?php if ( $audio_url != '' ) : ?>

- 	

- 	<div class="post-audio">

- 	

- 		<audio controls="controls" id="audio-player">

- 		

- 			<source src="<?php echo $audio_url; ?>" />

- 			

- 		</audio>

- 	

- 	</div> <!-- /post-audio -->

- 		

- <?php endif; ?>

- 

- <?php if($post->post_content != "") : ?>

- 									                                    	    

- 	<div class="post-excerpt">

- 		    		            			            	                                                                                            

- 		<?php the_excerpt('100'); ?>

- 	

- 	</div> <!-- /post-excerpt -->

- 

- <?php endif; ?>

- 									                                    	    

- <div class="post-meta">

- 

- 	<a class="post-date" href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php the_time( 'Y/m/d' ); ?></a>

- 	

- 	<?php

- 	

- 		if( function_exists('zilla_likes') ) zilla_likes(); 

- 	

- 		if ( comments_open() ) {

- 			comments_popup_link( '0', '1', '%', 'post-comments' );

- 		}

- 		

- 		edit_post_link(); 

- 	

- 	?>

- 		

- 	<div class="clear"></div>

- 

- </div>

-             

- <div class="clear"></div> 

\ No newline at end of file

@@ -1,45 +0,0 @@ 

- <div class="post-header">

- 	

-     <h2 class="post-title"><a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>

-     

-     <?php if( is_sticky() ) { ?> <span class="sticky-post"><?php _e('Sticky post', 'baskerville'); ?></span> <?php } ?>

-     

- </div> <!-- /post-header -->

- 

- <div class="featured-media">

- 

- 	<?php baskerville_flexslider('post-thumbnail'); ?>

- 					

- </div> <!-- /featured-media -->

- 

- <?php if($post->post_content != "") : ?>

- 									                                    	    

- 	<div class="post-excerpt">

- 		    		            			            	                                                                                            

- 		<?php the_excerpt('100'); ?>

- 	

- 	</div> <!-- /post-excerpt -->

- 

- <?php endif; ?>

- 									                                    	    

- <div class="post-meta">

- 

- 	<a class="post-date" href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php the_time( 'Y/m/d' ); ?></a>

- 	

- 	<?php

- 	

- 		if( function_exists('zilla_likes') ) zilla_likes(); 

- 	

- 		if ( comments_open() ) {

- 			comments_popup_link( '0', '1', '%', 'post-comments' );

- 		}

- 		

- 		edit_post_link(); 

- 	

- 	?>

- 

- 	<div class="clear"></div>

- 

- </div>

-             

- <div class="clear"></div> 

\ No newline at end of file

@@ -1,49 +0,0 @@ 

- <?php if( is_sticky() ) { ?> <span class="sticky-post"><?php _e('Sticky post', 'baskerville'); ?></span> <?php } ?>

- 

- <?php if ( has_post_thumbnail() ) : ?>

- 

- 	<div class="featured-media">

- 	

- 		<?php if( is_sticky() ) { ?> <span class="sticky-post"><?php _e('Sticky post', 'baskerville'); ?></span> <?php } ?>

- 	

- 		<a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title_attribute(); ?>">

- 		

- 			<?php the_post_thumbnail('post-thumbnail'); ?>

- 			

- 		</a>

- 				

- 	</div> <!-- /featured-media -->

- 		

- <?php endif; ?>

- 

- <div class="post-excerpt">

- 

- 	<?php if ( !empty(get_post(get_post_thumbnail_id())->post_excerpt) ) : ?>

- 										

- 		<p class="image-caption"><?php echo get_post(get_post_thumbnail_id())->post_excerpt; ?></p>

- 		

- 	<?php else : the_excerpt('100'); endif; ?>

- 		

- </div>

- 									                                    	    

- <div class="post-meta">

- 

- 	<a class="post-date" href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php the_time( 'Y/m/d' ); ?></a>

- 	

- 	<?php

- 	

- 		if( function_exists('zilla_likes') ) zilla_likes(); 

- 	

- 		if ( comments_open() ) {

- 			comments_popup_link( '0', '1', '%', 'post-comments' );

- 		}

- 		

- 		edit_post_link(); 

- 	

- 	?>

- 

- 	<div class="clear"></div>

- 

- </div>

-             

- <div class="clear"></div> 

\ No newline at end of file

@@ -1,50 +0,0 @@ 

- <?php $link_url = get_post_meta($post->ID, 'link_url', true); ?>

- <?php $link_title = get_post_meta($post->ID, 'link_title', true); ?>

- 

- <div class="post-header">

- 	

-     <h2 class="post-title"><a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>

-     

-     <?php if( is_sticky() ) { ?> <span class="sticky-post"><?php _e('Sticky post', 'baskerville'); ?></span> <?php } ?>

-     

- </div> <!-- /post-header -->

- 

- <div class="post-link">

- 

- 	<p><?php echo $link_title; ?></p>

- 	

- 	<a href="<?php echo $link_url; ?>" title="<?php echo $link_title; ?>"><?php echo url_to_domain( $link_url ); ?></a>

- 

- </div> <!-- /post-link -->

- 									                                    	    

- <?php if($post->post_content != "") : ?>

- 									                                    	    

- 	<div class="post-excerpt">

- 		    		            			            	                                                                                            

- 		<?php the_excerpt('100'); ?>

- 	

- 	</div> <!-- /post-excerpt -->

- 

- <?php endif; ?>

- 

- <div class="post-meta">

- 

- 	<a class="post-date" href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php the_time( 'Y/m/d' ); ?></a>

- 	

- 	<?php

- 	

- 		if( function_exists('zilla_likes') ) zilla_likes(); 

- 	

- 		if ( comments_open() ) {

- 			comments_popup_link( '0', '1', '%', 'post-comments' );

- 		}

- 		

- 		edit_post_link(); 

- 	

- 	?>

- 

- 	<div class="clear"></div>

- 

- </div>

-             

- <div class="clear"></div> 

\ No newline at end of file

@@ -1,54 +0,0 @@ 

- <?php $quote_content = get_post_meta($post->ID, 'quote_content', true); ?>

- <?php $quote_attribution = get_post_meta($post->ID, 'quote_attribution', true); ?>

- 

- <div class="post-header">

- 	

-     <h2 class="post-title"><a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>

-     

-     <?php if( is_sticky() ) { ?> <span class="sticky-post"><?php _e('Sticky post', 'baskerville'); ?></span> <?php } ?>

-     

- </div> <!-- /post-header -->

- 

- <div class="post-quote">

- 

- 	<blockquote><?php echo $quote_content; ?></blockquote>

- 	

- 	<?php if ( $quote_attribution != '' ) : ?>

- 	

- 		<cite><?php echo $quote_attribution; ?></cite>

- 	

- 	<?php endif; ?>

- 

- </div> <!-- /post-quote -->

- 						

- <?php if($post->post_content != "") : ?>

- 									                                    	    

- 	<div class="post-excerpt">

- 		    		            			            	                                                                                            

- 		<?php the_excerpt('100'); ?>

- 	

- 	</div> <!-- /post-excerpt -->

- 

- <?php endif; ?>

- 

- <div class="post-meta">

- 

- 	<a class="post-date" href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php the_time( 'Y/m/d' ); ?></a>

- 	

- 	<?php

- 	

- 		if( function_exists('zilla_likes') ) zilla_likes(); 

- 	

- 		if ( comments_open() ) {

- 			comments_popup_link( '0', '1', '%', 'post-comments' );

- 		}

- 		

- 		edit_post_link(); 

- 	

- 	?>

- 

- 	<div class="clear"></div>

- 

- </div>

-             

- <div class="clear"></div> 

\ No newline at end of file

@@ -1,31 +0,0 @@ 

- <?php if($post->post_content != "") : ?>

- 									                                    	    

- 	<div class="post-excerpt">

- 		    		            			            	                                                                                            

- 		<?php the_excerpt('100'); ?>

- 	

- 	</div> <!-- /post-excerpt -->

- 

- <?php endif; ?>

- 

- <div class="post-meta">

- 

- 	<a class="post-date" href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php the_time( 'Y/m/d' ); ?></a>

- 	

- 	<?php

- 	

- 		if( function_exists('zilla_likes') ) zilla_likes(); 

- 	

- 		if ( comments_open() ) {

- 			comments_popup_link( '0', '1', '%', 'post-comments' );

- 		}

- 		

- 		edit_post_link(); 

- 	

- 	?>

- 

- 	<div class="clear"></div>

- 

- </div>

-             

- <div class="clear"></div> 

\ No newline at end of file

@@ -1,65 +0,0 @@ 

- <div class="post-header">

- 	

-     <h2 class="post-title"><a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>

-     

-     <?php if( is_sticky() ) { ?> <span class="sticky-post"><?php _e('Sticky post', 'baskerville'); ?></span> <?php } ?>

-     

- </div> <!-- /post-header -->

- 

- <?php $video_url = get_post_meta($post->ID, 'video_url', true); if ( $video_url != '' ) : ?>

- 

- 	<div class="featured-media">

- 	

- 		<?php if (strpos($video_url,'.mp4') !== false) : ?>

- 			

- 			<video controls>

- 			  <source src="<?php echo $video_url; ?>" type="video/mp4">

- 			</video>

- 																	

- 		<?php else : ?>

- 			

- 			<?php 

- 			

- 				$embed_code = wp_oembed_get($video_url); 

- 				

- 				echo $embed_code;

- 				

- 			?>

- 				

- 		<?php endif; ?>

- 		

- 	</div>

- 

- <?php endif; ?>

- 

- <?php if($post->post_content != "") : ?>

- 									                                    	    

- 	<div class="post-excerpt">

- 		    		            			            	                                                                                            

- 		<?php the_excerpt('100'); ?>

- 	

- 	</div> <!-- /post-excerpt -->

- 

- <?php endif; ?>

- 									                                    	    

- <div class="post-meta">

- 

- 	<a class="post-date" href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php the_time( 'Y/m/d' ); ?></a>

- 	

- 	<?php

- 	

- 		if( function_exists('zilla_likes') ) zilla_likes(); 

- 	

- 		if ( comments_open() ) {

- 			comments_popup_link( '0', '1', '%', 'post-comments' );

- 		}

- 		

- 		edit_post_link(); 

- 	

- 	?>

- 	

- 	<div class="clear"></div>

- 

- </div>

-             

- <div class="clear"></div> 

\ No newline at end of file

@@ -1,59 +0,0 @@ 

- <?php if ( has_post_thumbnail() ) : ?>

- 

- 		<div class="featured-media">

- 

- 			<a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>">

- 

- 				<?php the_post_thumbnail('post-thumbnail'); ?>

- 

- 			</a>

- 

- 		</div> <!-- /featured-media -->

- 

- 	<?php endif; ?>

- 

- 

- 

- <div class="post-header">

- 

-     <h2 class="post-title"><a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>

- 

-     <?php if( is_sticky() ) { ?> <span class="sticky-post"><?php _e('Sticky post', 'baskerville'); ?></span> <?php } ?>

- 

- </div> <!-- /post-header -->

- 

- <div class="post-excerpt">

- 

- 	<?php the_excerpt('100'); ?>

- 

- </div> <!-- /post-excerpt -->

- 

- <div class="post-meta">

- 

- 	<a class="post-date" href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">By

- 	<?php

- 			if ( function_exists( 'coauthors' ) ) {

- 	    coauthors();

- 	} else {

- 	    the_author();

- 	}

- 	?>

-  <?php echo human_time_diff( get_the_time('U'), current_time('timestamp') ) . ' ago'; ?></a>

- 

- 	<?php

- 

- 		if( function_exists('zilla_likes') ) zilla_likes();

- 

- 		if ( comments_open() ) {

- 			comments_popup_link( '0', '1', '%', 'post-comments' );

- 		}

- 

- 		/*edit_post_link();*/

- 

- 	?>

- 

- 	<div class="clear"></div>

- 

- </div>

- 

- <div class="clear"></div>

@@ -1,2337 +0,0 @@ 

- /*!

-  *  Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome

-  *  License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)

-  */

- /* FONT PATH

-  * -------------------------- */

- @font-face {

-   font-family: 'FontAwesome';

-   src: url('../fonts/fontawesome-webfont.eot?v=4.7.0');

-   src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'), url('../fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'), url('../fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'), url('../fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'), url('../fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');

-   font-weight: normal;

-   font-style: normal;

- }

- .fa {

-   display: inline-block;

-   font: normal normal normal 14px/1 FontAwesome;

-   font-size: inherit;

-   text-rendering: auto;

-   -webkit-font-smoothing: antialiased;

-   -moz-osx-font-smoothing: grayscale;

- }

- /* makes the font 33% larger relative to the icon container */

- .fa-lg {

-   font-size: 1.33333333em;

-   line-height: 0.75em;

-   vertical-align: -15%;

- }

- .fa-2x {

-   font-size: 2em;

- }

- .fa-3x {

-   font-size: 3em;

- }

- .fa-4x {

-   font-size: 4em;

- }

- .fa-5x {

-   font-size: 5em;

- }

- .fa-fw {

-   width: 1.28571429em;

-   text-align: center;

- }

- .fa-ul {

-   padding-left: 0;

-   margin-left: 2.14285714em;

-   list-style-type: none;

- }

- .fa-ul > li {

-   position: relative;

- }

- .fa-li {

-   position: absolute;

-   left: -2.14285714em;

-   width: 2.14285714em;

-   top: 0.14285714em;

-   text-align: center;

- }

- .fa-li.fa-lg {

-   left: -1.85714286em;

- }

- .fa-border {

-   padding: .2em .25em .15em;

-   border: solid 0.08em #eeeeee;

-   border-radius: .1em;

- }

- .fa-pull-left {

-   float: left;

- }

- .fa-pull-right {

-   float: right;

- }

- .fa.fa-pull-left {

-   margin-right: .3em;

- }

- .fa.fa-pull-right {

-   margin-left: .3em;

- }

- /* Deprecated as of 4.4.0 */

- .pull-right {

-   float: right;

- }

- .pull-left {

-   float: left;

- }

- .fa.pull-left {

-   margin-right: .3em;

- }

- .fa.pull-right {

-   margin-left: .3em;

- }

- .fa-spin {

-   -webkit-animation: fa-spin 2s infinite linear;

-   animation: fa-spin 2s infinite linear;

- }

- .fa-pulse {

-   -webkit-animation: fa-spin 1s infinite steps(8);

-   animation: fa-spin 1s infinite steps(8);

- }

- @-webkit-keyframes fa-spin {

-   0% {

-     -webkit-transform: rotate(0deg);

-     transform: rotate(0deg);

-   }

-   100% {

-     -webkit-transform: rotate(359deg);

-     transform: rotate(359deg);

-   }

- }

- @keyframes fa-spin {

-   0% {

-     -webkit-transform: rotate(0deg);

-     transform: rotate(0deg);

-   }

-   100% {

-     -webkit-transform: rotate(359deg);

-     transform: rotate(359deg);

-   }

- }

- .fa-rotate-90 {

-   -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";

-   -webkit-transform: rotate(90deg);

-   -ms-transform: rotate(90deg);

-   transform: rotate(90deg);

- }

- .fa-rotate-180 {

-   -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";

-   -webkit-transform: rotate(180deg);

-   -ms-transform: rotate(180deg);

-   transform: rotate(180deg);

- }

- .fa-rotate-270 {

-   -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";

-   -webkit-transform: rotate(270deg);

-   -ms-transform: rotate(270deg);

-   transform: rotate(270deg);

- }

- .fa-flip-horizontal {

-   -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";

-   -webkit-transform: scale(-1, 1);

-   -ms-transform: scale(-1, 1);

-   transform: scale(-1, 1);

- }

- .fa-flip-vertical {

-   -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";

-   -webkit-transform: scale(1, -1);

-   -ms-transform: scale(1, -1);

-   transform: scale(1, -1);

- }

- :root .fa-rotate-90,

- :root .fa-rotate-180,

- :root .fa-rotate-270,

- :root .fa-flip-horizontal,

- :root .fa-flip-vertical {

-   filter: none;

- }

- .fa-stack {

-   position: relative;

-   display: inline-block;

-   width: 2em;

-   height: 2em;

-   line-height: 2em;

-   vertical-align: middle;

- }

- .fa-stack-1x,

- .fa-stack-2x {

-   position: absolute;

-   left: 0;

-   width: 100%;

-   text-align: center;

- }

- .fa-stack-1x {

-   line-height: inherit;

- }

- .fa-stack-2x {

-   font-size: 2em;

- }

- .fa-inverse {

-   color: #ffffff;

- }

- /* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen

-    readers do not read off random characters that represent icons */

- .fa-glass:before {

-   content: "\f000";

- }

- .fa-music:before {

-   content: "\f001";

- }

- .fa-search:before {

-   content: "\f002";

- }

- .fa-envelope-o:before {

-   content: "\f003";

- }

- .fa-heart:before {

-   content: "\f004";

- }

- .fa-star:before {

-   content: "\f005";

- }

- .fa-star-o:before {

-   content: "\f006";

- }

- .fa-user:before {

-   content: "\f007";

- }

- .fa-film:before {

-   content: "\f008";

- }

- .fa-th-large:before {

-   content: "\f009";

- }

- .fa-th:before {

-   content: "\f00a";

- }

- .fa-th-list:before {

-   content: "\f00b";

- }

- .fa-check:before {

-   content: "\f00c";

- }

- .fa-remove:before,

- .fa-close:before,

- .fa-times:before {

-   content: "\f00d";

- }

- .fa-search-plus:before {

-   content: "\f00e";

- }

- .fa-search-minus:before {

-   content: "\f010";

- }

- .fa-power-off:before {

-   content: "\f011";

- }

- .fa-signal:before {

-   content: "\f012";

- }

- .fa-gear:before,

- .fa-cog:before {

-   content: "\f013";

- }

- .fa-trash-o:before {

-   content: "\f014";

- }

- .fa-home:before {

-   content: "\f015";

- }

- .fa-file-o:before {

-   content: "\f016";

- }

- .fa-clock-o:before {

-   content: "\f017";

- }

- .fa-road:before {

-   content: "\f018";

- }

- .fa-download:before {

-   content: "\f019";

- }

- .fa-arrow-circle-o-down:before {

-   content: "\f01a";

- }

- .fa-arrow-circle-o-up:before {

-   content: "\f01b";

- }

- .fa-inbox:before {

-   content: "\f01c";

- }

- .fa-play-circle-o:before {

-   content: "\f01d";

- }

- .fa-rotate-right:before,

- .fa-repeat:before {

-   content: "\f01e";

- }

- .fa-refresh:before {

-   content: "\f021";

- }

- .fa-list-alt:before {

-   content: "\f022";

- }

- .fa-lock:before {

-   content: "\f023";

- }

- .fa-flag:before {

-   content: "\f024";

- }

- .fa-headphones:before {

-   content: "\f025";

- }

- .fa-volume-off:before {

-   content: "\f026";

- }

- .fa-volume-down:before {

-   content: "\f027";

- }

- .fa-volume-up:before {

-   content: "\f028";

- }

- .fa-qrcode:before {

-   content: "\f029";

- }

- .fa-barcode:before {

-   content: "\f02a";

- }

- .fa-tag:before {

-   content: "\f02b";

- }

- .fa-tags:before {

-   content: "\f02c";

- }

- .fa-book:before {

-   content: "\f02d";

- }

- .fa-bookmark:before {

-   content: "\f02e";

- }

- .fa-print:before {

-   content: "\f02f";

- }

- .fa-camera:before {

-   content: "\f030";

- }

- .fa-font:before {

-   content: "\f031";

- }

- .fa-bold:before {

-   content: "\f032";

- }

- .fa-italic:before {

-   content: "\f033";

- }

- .fa-text-height:before {

-   content: "\f034";

- }

- .fa-text-width:before {

-   content: "\f035";

- }

- .fa-align-left:before {

-   content: "\f036";

- }

- .fa-align-center:before {

-   content: "\f037";

- }

- .fa-align-right:before {

-   content: "\f038";

- }

- .fa-align-justify:before {

-   content: "\f039";

- }

- .fa-list:before {

-   content: "\f03a";

- }

- .fa-dedent:before,

- .fa-outdent:before {

-   content: "\f03b";

- }

- .fa-indent:before {

-   content: "\f03c";

- }

- .fa-video-camera:before {

-   content: "\f03d";

- }

- .fa-photo:before,

- .fa-image:before,

- .fa-picture-o:before {

-   content: "\f03e";

- }

- .fa-pencil:before {

-   content: "\f040";

- }

- .fa-map-marker:before {

-   content: "\f041";

- }

- .fa-adjust:before {

-   content: "\f042";

- }

- .fa-tint:before {

-   content: "\f043";

- }

- .fa-edit:before,

- .fa-pencil-square-o:before {

-   content: "\f044";

- }

- .fa-share-square-o:before {

-   content: "\f045";

- }

- .fa-check-square-o:before {

-   content: "\f046";

- }

- .fa-arrows:before {

-   content: "\f047";

- }

- .fa-step-backward:before {

-   content: "\f048";

- }

- .fa-fast-backward:before {

-   content: "\f049";

- }

- .fa-backward:before {

-   content: "\f04a";

- }

- .fa-play:before {

-   content: "\f04b";

- }

- .fa-pause:before {

-   content: "\f04c";

- }

- .fa-stop:before {

-   content: "\f04d";

- }

- .fa-forward:before {

-   content: "\f04e";

- }

- .fa-fast-forward:before {

-   content: "\f050";

- }

- .fa-step-forward:before {

-   content: "\f051";

- }

- .fa-eject:before {

-   content: "\f052";

- }

- .fa-chevron-left:before {

-   content: "\f053";

- }

- .fa-chevron-right:before {

-   content: "\f054";

- }

- .fa-plus-circle:before {

-   content: "\f055";

- }

- .fa-minus-circle:before {

-   content: "\f056";

- }

- .fa-times-circle:before {

-   content: "\f057";

- }

- .fa-check-circle:before {

-   content: "\f058";

- }

- .fa-question-circle:before {

-   content: "\f059";

- }

- .fa-info-circle:before {

-   content: "\f05a";

- }

- .fa-crosshairs:before {

-   content: "\f05b";

- }

- .fa-times-circle-o:before {

-   content: "\f05c";

- }

- .fa-check-circle-o:before {

-   content: "\f05d";

- }

- .fa-ban:before {

-   content: "\f05e";

- }

- .fa-arrow-left:before {

-   content: "\f060";

- }

- .fa-arrow-right:before {

-   content: "\f061";

- }

- .fa-arrow-up:before {

-   content: "\f062";

- }

- .fa-arrow-down:before {

-   content: "\f063";

- }

- .fa-mail-forward:before,

- .fa-share:before {

-   content: "\f064";

- }

- .fa-expand:before {

-   content: "\f065";

- }

- .fa-compress:before {

-   content: "\f066";

- }

- .fa-plus:before {

-   content: "\f067";

- }

- .fa-minus:before {

-   content: "\f068";

- }

- .fa-asterisk:before {

-   content: "\f069";

- }

- .fa-exclamation-circle:before {

-   content: "\f06a";

- }

- .fa-gift:before {

-   content: "\f06b";

- }

- .fa-leaf:before {

-   content: "\f06c";

- }

- .fa-fire:before {

-   content: "\f06d";

- }

- .fa-eye:before {

-   content: "\f06e";

- }

- .fa-eye-slash:before {

-   content: "\f070";

- }

- .fa-warning:before,

- .fa-exclamation-triangle:before {

-   content: "\f071";

- }

- .fa-plane:before {

-   content: "\f072";

- }

- .fa-calendar:before {

-   content: "\f073";

- }

- .fa-random:before {

-   content: "\f074";

- }

- .fa-comment:before {

-   content: "\f075";

- }

- .fa-magnet:before {

-   content: "\f076";

- }

- .fa-chevron-up:before {

-   content: "\f077";

- }

- .fa-chevron-down:before {

-   content: "\f078";

- }

- .fa-retweet:before {

-   content: "\f079";

- }

- .fa-shopping-cart:before {

-   content: "\f07a";

- }

- .fa-folder:before {

-   content: "\f07b";

- }

- .fa-folder-open:before {

-   content: "\f07c";

- }

- .fa-arrows-v:before {

-   content: "\f07d";

- }

- .fa-arrows-h:before {

-   content: "\f07e";

- }

- .fa-bar-chart-o:before,

- .fa-bar-chart:before {

-   content: "\f080";

- }

- .fa-twitter-square:before {

-   content: "\f081";

- }

- .fa-facebook-square:before {

-   content: "\f082";

- }

- .fa-camera-retro:before {

-   content: "\f083";

- }

- .fa-key:before {

-   content: "\f084";

- }

- .fa-gears:before,

- .fa-cogs:before {

-   content: "\f085";

- }

- .fa-comments:before {

-   content: "\f086";

- }