Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 09a16a4
Showing
25 changed files
with
1,518 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<?php | ||
/** | ||
* @package WordPress | ||
* @subpackage WP-Skeleton | ||
*/ | ||
|
||
get_header(); ?> | ||
|
||
|
||
<div id="primary"> | ||
<div id="content"> | ||
|
||
<article id="post-0" class="post error404 not-found" role="article"> | ||
<header class="entry-header"> | ||
<h1 class="entry-title"><?php _e( 'This is somewhat embarrassing, isn’t it?', 'WP-Skeleton' ); ?></h1> | ||
</header> | ||
|
||
<div class="entry-content"> | ||
<p><?php _e( 'It seems we can’t find what you’re looking for. Perhaps searching, or one of the links below, can help.', 'WP-Skeleton' ); ?></p> | ||
|
||
<?php get_search_form(); ?> | ||
|
||
<?php the_widget( 'WP_Widget_Recent_Posts' ); ?> | ||
|
||
<div class="widget"> | ||
<h2 class="widgettitle"><?php _e( 'Most Used Categories', 'themename' ); ?></h2> | ||
<ul> | ||
<?php wp_list_categories( array( 'orderby' => 'count', 'order' => 'DESC', 'show_count' => 'TRUE', 'title_li' => '', 'number' => '10' ) ); ?> | ||
</ul> | ||
</div> | ||
|
||
<?php | ||
$archive_content = '<p>' . sprintf( __( 'Try looking in the monthly archives. %1$s', 'WP-Skeleton' ), convert_smilies( ':)' ) ) . '</p>'; | ||
the_widget( 'WP_Widget_Archives', 'dropdown=1', "after_title=</h2>$archive_content" ); | ||
?> | ||
|
||
|
||
|
||
</div><!-- .entry-content --> | ||
</article><!-- #post-0 --> | ||
|
||
</div><!-- #content --> | ||
</div><!-- #primary --> | ||
|
||
<?php get_footer(); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
WP-Skeleton - WordPress Theme | ||
--------------- | ||
|
||
This is a very minimal Bare Bones Responsive WordPress theme based on getskeleton.com | ||
|
||
|
||
###Features: | ||
|
||
- Very Easy to customise, it's basically a blank theme. | ||
- Responsive Media Query Layout | ||
- Very small footprint: Entire theme is only 55kb | ||
- Very small load query, only 15-20 WordPress queries made to the DB by default. | ||
- Bundled with full 960 based CSS Responsive Grid | ||
- Icon support for mobile and web | ||
- IE HTML5shim support | ||
|
||
|
||
|
||
- **Default 4 layouts**: | ||
- Base 960 Grid 960px | ||
- Tablet (Portrait) 768px | ||
- Mobile (Portrait) 320px | ||
- Mobile (Landscape) 480px | ||
|
||
###What's is included: | ||
|
||
*WordPress Menu support ( Drag & Drop)* | ||
- The menu floats right on the large sizes, then floats left on mobile. | ||
|
||
*Widget Support* | ||
- By default it has a widgitized sidebar and footer. | ||
|
||
*Comment, Full Width Page, Author, 404* --> Templates | ||
|
||
Some basic template tags for Site Title, Tagline, Post Meta. | ||
|
||
An additional Folder Called "Snippets" you can comment in/out that is pre-filled with ton of default WordPress features. | ||
|
||
This is called in the functions.php and is commented out by default.( in add-stuff.php and remove-stuff.php) ) | ||
|
||
###What it does not have: | ||
|
||
*Search , Archives, Category, Single, Image, Tag* --> templates. | ||
Everything is handled by the main loop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?php | ||
/** | ||
* @package WordPress | ||
* @subpackage WP-Skeleton | ||
*/ | ||
|
||
get_header(); ?> | ||
|
||
<section id="primary" role="region"> | ||
<div id="content"> | ||
|
||
<?php the_post(); ?> | ||
|
||
<header class="page-header"> | ||
<h1 class="page-title author"><?php printf( __( 'Author Archives: <span class="vcard">%s</span>', 'WP-Skeleton' ), "<a class='author' href='" . get_author_posts_url( get_the_author_meta( 'ID' ) ) . "' title='" . esc_attr( get_the_author() ) . "' rel='me'>" . get_the_author() . "</a>" ); ?></h1> | ||
</header> | ||
|
||
<?php rewind_posts(); ?> | ||
|
||
<?php get_template_part( 'loop', 'author' ); ?> | ||
|
||
</div><!-- #content --> | ||
</section><!-- #primary --> | ||
|
||
<?php get_sidebar(); ?> | ||
<?php get_footer(); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
<?php | ||
/** | ||
* @package WordPress | ||
* @subpackage WP-Skeleton | ||
*/ | ||
?> | ||
|
||
<div id="comments"> | ||
<?php if ( post_password_required() ) : ?> | ||
<div class="nopassword"><?php _e( 'This post is password protected. Enter the password to view any comments.', 'WP-Skeleton' ); ?></div> | ||
</div><!-- .comments --> | ||
<?php return; | ||
endif; | ||
?> | ||
|
||
<?php // You can start editing here -- including this comment! ?> | ||
|
||
<?php if ( have_comments() ) : ?> | ||
<h2 id="comments-title"> | ||
<?php | ||
printf( _n( 'One Response to %2$s', '%1$s Responses to %2$s', get_comments_number()), | ||
number_format_i18n( get_comments_number() ), '<em>' . get_the_title() . '</em>' ); | ||
?> | ||
</h2> | ||
|
||
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?> | ||
<nav id="comment-nav-above"> | ||
<h1 class="section-heading"><?php _e( 'Comment navigation'); ?></h1> | ||
<div class="nav-previous"><?php previous_comments_link( __( '← Older Comments') ); ?></div> | ||
<div class="nav-next"><?php next_comments_link( __( 'Newer Comments →') ); ?></div> | ||
</nav> | ||
<?php endif; // check for comment navigation ?> | ||
|
||
<ol class="commentlist"> | ||
<?php wp_list_comments(); ?> | ||
</ol> | ||
|
||
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?> | ||
<nav id="comment-nav-below"> | ||
<h1 class="section-heading"><?php _e( 'Comment navigation'); ?></h1> | ||
<div class="nav-previous"><?php previous_comments_link( __( '← Older Comments' ) ); ?></div> | ||
<div class="nav-next"><?php next_comments_link( __( 'Newer Comments →' ) ); ?></div> | ||
</nav> | ||
<?php endif; // check for comment navigation ?> | ||
|
||
<?php else : // this is displayed if there are no comments so far ?> | ||
|
||
<?php if ( comments_open() ) : // If comments are open, but there are no comments ?> | ||
|
||
<?php else : // or, if we don't have comments: | ||
|
||
/* If there are no comments and comments are closed, | ||
* let's leave a little note, shall we? | ||
* But only on posts! We don't want the note on pages. | ||
*/ | ||
if ( ! comments_open() && ! is_page() ) : | ||
?> | ||
<p class="nocomments"><?php _e( 'Comments are closed.'); ?></p> | ||
<?php endif; // end ! comments_open() && ! is_page() ?> | ||
|
||
|
||
<?php endif; ?> | ||
|
||
<?php endif; ?> | ||
|
||
<?php comment_form(array('comment_notes_after' => '')); ?> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?php | ||
/** | ||
* @package WordPress | ||
* @subpackage WP-Skeleton | ||
*/ | ||
?> | ||
<div class="clear"></div> | ||
<div class="footer"> | ||
<hr /> | ||
<div class="sixteen columns"> | ||
|
||
<?php if ( is_active_sidebar( 'footer-sidebar' ) ) : ?> <?php dynamic_sidebar( 'footer-sidebar' ); ?> | ||
<?php else : ?><p>You need to drag a widget into your sidebar in the WordPress Admin</p> | ||
<?php endif; ?> | ||
|
||
</div> | ||
</div> | ||
|
||
</div> | ||
<?php wp_footer(); ?> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?php | ||
/** | ||
* Template Name: Full-width, no sidebar | ||
* Description: A full-width template with no sidebar | ||
* | ||
* @package WordPress | ||
* @subpackage WP-Skeleton | ||
*/ | ||
|
||
get_header(); ?> | ||
|
||
<div id="primary" class="full-width"> | ||
<div id="content"> | ||
|
||
<?php the_post(); ?> | ||
|
||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?> role="article"> | ||
<header class="entry-header"> | ||
<h1 class="entry-title"><?php the_title(); ?></h1> | ||
</header><!-- .entry-header --> | ||
|
||
<div class="entry-content"> | ||
<?php the_content(); ?> | ||
<?php wp_link_pages( 'before=<div class="page-link">' . __( 'Pages:', 'WP-Skeleton' ) . '&after=</div>' ); ?> | ||
<?php edit_post_link( __( 'Edit', 'themename' ), '<span class="edit-link">', '</span>' ); ?> | ||
</div><!-- .entry-content --> | ||
</article><!-- #post-<?php the_ID(); ?> --> | ||
|
||
<?php comments_template( '', true ); ?> | ||
|
||
</div><!-- #content --> | ||
</div><!-- #primary --> | ||
|
||
<?php get_footer(); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<?php | ||
/** | ||
* @package WordPress | ||
* @subpackage WP-Skeleton | ||
*/ | ||
|
||
// drag and drop menu support | ||
register_nav_menu( 'primary', 'Primary Menu' ); | ||
|
||
|
||
//widget support for a right sidebar | ||
register_sidebar(array( | ||
'name' => 'Right SideBar', | ||
'id' => 'right-sidebar', | ||
'description' => 'Widgets in this area will be shown on the right-hand side.', | ||
'before_title' => '<h3>', | ||
'after_title' => '</h3>' | ||
)); | ||
|
||
//widget support for the footer | ||
register_sidebar(array( | ||
'name' => 'Footer SideBar', | ||
'id' => 'footer-sidebar', | ||
'description' => 'Widgets in this area will be shown in the footer.', | ||
'before_title' => '<h3>', | ||
'after_title' => '</h3>' | ||
)); | ||
|
||
//This theme uses post thumbnails | ||
add_theme_support( 'post-thumbnails' ); | ||
|
||
|
||
//Apply do_shortcode() to widgets so that shortcodes will be executed in widgets | ||
add_filter('widget_text', 'do_shortcode'); | ||
|
||
|
||
/** | ||
* MANAGE REMOVING OR ADDING STUFF (aka Function Snippets) | ||
* comment in or out what you want | ||
*/ | ||
|
||
// remove stuff, uncomment to enable | ||
//require_once( get_template_directory() . '/snippets/remove-stuff.php' ); | ||
|
||
// add stuff | ||
//require_once( get_template_directory() . '/snippets/add-stuff.php' ); | ||
|
||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<?php | ||
/** | ||
* @package WordPress | ||
* @subpackage WP-Skeleton | ||
*/ | ||
?> | ||
|
||
<head> | ||
|
||
<meta charset="<?php bloginfo( 'charset' ); ?>" /> | ||
|
||
<!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]--> | ||
<!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]--> | ||
<!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]--> | ||
<!--[if (gte IE 9)|!(IE)]><!--><html lang="en"> <!--<![endif]--> | ||
|
||
<title><?php wp_title('|',true,'right'); ?><?php bloginfo('name'); ?></title> | ||
|
||
<meta name="description" content="<?php bloginfo('description'); ?>" /> | ||
|
||
<!--[if lt IE 9]> | ||
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> | ||
<![endif]--> | ||
|
||
<!-- Mobile Specific Metas | ||
================================================== --> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> | ||
|
||
<!-- CSS | ||
================================================== --> | ||
<link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/stylesheets/base.css"> | ||
<link rel="stylesheet" href= "<?php echo get_template_directory_uri(); ?>/style.css"> | ||
<link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/stylesheets/layout.css"> | ||
|
||
<!-- Favicons | ||
================================================== --> | ||
<link rel="shortcut icon" href="<?php echo get_template_directory_uri(); ?>/images/favicon.ico"> | ||
<link rel="apple-touch-icon" href="<?php echo get_template_directory_uri(); ?>/images/apple-touch-icon.png"> | ||
<link rel="apple-touch-icon" sizes="72x72" href="<?php echo get_template_directory_uri(); ?>/images/apple-touch-icon-72x72.png"> | ||
<link rel="apple-touch-icon" sizes="114x114" href="<?php echo get_template_directory_uri(); ?>/images/apple-touch-icon-114x114.png"> | ||
|
||
<?php wp_head(); ?> | ||
</head> | ||
|
||
<body <?php body_class(); ?>><!-- the Body --> | ||
|
||
<div class="container"> | ||
|
||
<?php get_template_part( 'menu', 'index' ); // get the blog header( menu + logo/site title) ?> |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
/** | ||
* @package WordPress | ||
* @subpackage WP-Skeleton | ||
*/ | ||
?><!DOCTYPE html> | ||
<html <?php language_attributes(); ?>> | ||
|
||
<?php get_header(); //the Header ?> | ||
|
||
<?php get_template_part( 'loop', 'index' ); //the Loop ?> | ||
|
||
<?php get_template_part( 'sidebar', 'index' ); //the Sidebar ?> | ||
|
||
<?php get_footer(); //the Footer ?> | ||
|
Oops, something went wrong.