second commit
This commit is contained in:
parent
43283ef011
commit
9cc24f7f1f
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,5 @@
|
||||||
|
$(function() {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
});
|
|
@ -0,0 +1,6 @@
|
||||||
|
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
|
||||||
|
<script>window.jQuery || document.write('<script src="<?php bloginfo( 'template_url' ); ?>/js/libs/jquery-1.7.1.min.js"><\/script>')</script>
|
||||||
|
<script src="<?php bloginfo( 'template_url' ); ?>/js/script.js"></script>
|
||||||
|
<?php wp_footer(); ?>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,32 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
/* =Add support for missing cool stuff
|
||||||
|
-------------------------------------------------------------- */
|
||||||
|
|
||||||
|
add_theme_support( 'post-thumbnails' );
|
||||||
|
add_theme_support( 'automatic-feed-links' );
|
||||||
|
|
||||||
|
/* =Remove gunk from <head>
|
||||||
|
-------------------------------------------------------------- */
|
||||||
|
|
||||||
|
remove_action( 'wp_head', 'rsd_link' );
|
||||||
|
remove_action( 'wp_head', 'wlwmanifest_link' );
|
||||||
|
remove_action( 'wp_head', 'wp_generator' );
|
||||||
|
remove_action( 'wp_head', 'start_post_rel_link' );
|
||||||
|
remove_action( 'wp_head', 'index_rel_link' );
|
||||||
|
remove_action( 'wp_head', 'adjacent_posts_rel_link_wp_head' );
|
||||||
|
remove_action( 'wp_head', 'wp_shortlink_wp_head', 10, 0 );
|
||||||
|
|
||||||
|
function remove_comments_rss( $for_comments ) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
add_filter( 'post_comments_feed_link', 'remove_comments_rss' );
|
||||||
|
|
||||||
|
/* =Register a sidebar for the lolz
|
||||||
|
-------------------------------------------------------------- */
|
||||||
|
|
||||||
|
if ( function_exists( 'register_sidebar' ) )
|
||||||
|
register_sidebar();
|
||||||
|
|
||||||
|
?>
|
|
@ -0,0 +1,12 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html <?php language_attributes(); ?>>
|
||||||
|
<head>
|
||||||
|
<meta charset="<?php bloginfo( 'charset' ); ?>" />
|
||||||
|
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0" />
|
||||||
|
<title><?php wp_title( ' – ', true, 'right' ); bloginfo( 'name' ); ?></title>
|
||||||
|
<link rel="stylesheet" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
|
||||||
|
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
|
||||||
|
<?php wp_head(); ?>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body <?php body_class(); ?>>
|
|
@ -0,0 +1,7 @@
|
||||||
|
<?php get_header(); ?>
|
||||||
|
|
||||||
|
<?php while ( have_posts() ) : the_post(); ?>
|
||||||
|
|
||||||
|
<?php endwhile; ?>
|
||||||
|
|
||||||
|
<?php get_footer(); ?>
|
|
@ -0,0 +1,51 @@
|
||||||
|
/*
|
||||||
|
Theme Name: Bare Bones
|
||||||
|
Theme URI: http: //github.com/mikefrancis/barebones
|
||||||
|
Description: A barebones theme for WordPress 3.3+
|
||||||
|
Version: 0.1
|
||||||
|
Author: Mike Francis
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* =Reset
|
||||||
|
-------------------------------------------------------------- */
|
||||||
|
|
||||||
|
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td{
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
table {
|
||||||
|
border-collapse: collapse;
|
||||||
|
border-spacing: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
fieldset, img {
|
||||||
|
border: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
address, caption, cite, dfn, th, var {
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
caption, th {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1, h2, h3, h4, h5, h6 {
|
||||||
|
font-size: 100%;
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
q:before, q:after {
|
||||||
|
content: '';
|
||||||
|
}
|
||||||
|
|
||||||
|
abbr, acronym {
|
||||||
|
border: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
html {
|
||||||
|
color: #000;
|
||||||
|
background: #FFF;
|
||||||
|
}
|
Loading…
Reference in New Issue