Commit b8c3375d authored by Kim Meiser's avatar Kim Meiser

the box v 1.4.2.1 without customizations

parents
<?php
/**
* The template for displaying 404 pages (Not Found).
*
* @package WordPress
* @since The Box 1.0
*/
get_header(); ?>
<div id="primary" class="content-area">
<div id="content" class="site-content" role="main">
<article id="post-0" class="post hentry error404 not-found">
<header class="entry-header">
<h1 class="entry-title"><?php _e( 'Oops! That page can&rsquo;t be found.', 'thebox' ); ?></h1>
</header><!-- .entry-header -->
<div class="entry-content">
<p><?php _e( 'It looks like nothing was found at this location. Maybe try one of the links below or a search?', 'thebox' ); ?></p>
<?php get_search_form(); ?>
</div><!-- .entry-content -->
<footer class="entry-footer"></footer>
</article><!-- #post-0 .post .error404 .not-found -->
</div><!-- #content .site-content -->
</div><!-- #primary .content-area -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>
<?php
/**
* The template for displaying Archive pages.
*
* Learn more: http://codex.wordpress.org/Template_Hierarchy
*
* @package WordPress
* @since The Box 1.0
*/
get_header(); ?>
<div id="primary" class="content-area">
<div id="content" class="site-content" role="main">
<?php if ( have_posts() ) : ?>
<header class="page-header">
<h1 class="page-title">
<?php
if ( is_category() ) {
printf( __( 'Category Archives: %s', 'thebox' ), '<span>' . single_cat_title( '', false ) . '</span>' );
} elseif ( is_tag() ) {
printf( __( 'Tag Archives: %s', 'thebox' ), '<span>' . single_tag_title( '', false ) . '</span>' );
} elseif ( is_author() ) {
/* Queue the first post, that way we know
* what author we're dealing with (if that is the case).
*/
the_post();
printf( __( 'Author Archives: %s', 'thebox' ), '<span class="vcard"><a class="url fn n" href="' . esc_url( get_author_posts_url( get_the_author_meta( "ID" ) ) ) . '" title="' . esc_attr( get_the_author() ) . '" rel="me">' . get_the_author() . '</a></span>' );
/* Since we called the_post() above, we need to
* rewind the loop back to the beginning that way
* we can run the loop properly, in full.
*/
rewind_posts();
} elseif ( is_day() ) {
printf( __( 'Daily Archives: %s', 'thebox' ), '<span>' . get_the_date() . '</span>' );
} elseif ( is_month() ) {
printf( __( 'Monthly Archives: %s', 'thebox' ), '<span>' . get_the_date( 'F Y' ) . '</span>' );
} elseif ( is_year() ) {
printf( __( 'Yearly Archives: %s', 'thebox' ), '<span>' . get_the_date( 'Y' ) . '</span>' );
} else {
printf( __( 'Archives: %s', 'thebox' ), '<span>' . $term->name . '</span>' );
}
?>
</h1>
<?php
if ( is_category() ) {
// show an optional category description
$category_description = category_description();
if ( ! empty( $category_description ) )
echo apply_filters( 'category_archive_meta', '<div class="taxonomy-description">' . $category_description . '</div>' );
} elseif ( is_tag() ) {
// show an optional tag description
$tag_description = tag_description();
if ( ! empty( $tag_description ) )
echo apply_filters( 'tag_archive_meta', '<div class="taxonomy-description">' . $tag_description . '</div>' );
}
?>
</header><!-- .page-header -->
<?php /* Start the Loop */ ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php
/* Include the Post-Format-specific template for the content.
* If you want to overload this in a child theme then include a file
* called content-___.php (where ___ is the Post Format name) and that will be used instead.
*/
get_template_part( 'content', get_post_format() );
?>
<?php endwhile; ?>
<?php thebox_pagination(); ?>
<?php else : ?>
<?php get_template_part( 'content', 'none' ); ?>
<?php endif; ?>
</div><!-- #content .site-content -->
</div><!-- #primary .content-area -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>
\ No newline at end of file
<?php
/**
* The template for displaying Comments.
*
* The area of the page that contains both current comments
* and the comment form. The actual display of comments is
* handled by a callback to thebox_comment() which is
* located in the functions.php file.
*
* @package WordPress
* @since The Box 1.0
*/
?>
<?php
/*
* If the current post is protected by a password and
* the visitor has not yet entered the password we will
* return early without loading the comments.
*/
if ( post_password_required() )
return;
?>
<div id="comments" class="comments-area">
<?php // You can start editing here -- including this comment! ?>
<?php if ( have_comments() ) : ?>
<h3 class="comments-title">
<?php
printf( _nx( 'One thought on &ldquo;%2$s&rdquo;', '%1$s thoughts on &ldquo;%2$s&rdquo;', get_comments_number(), 'comments title', 'thebox' ),
number_format_i18n( get_comments_number() ), '<span>' . get_the_title() . '</span>' );
?>
</h3>
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?>
<nav role="navigation" id="comment-nav-above" class="site-navigation comment-navigation">
<h1 class="assistive-text"><?php _e( 'Comment navigation', 'thebox' ); ?></h1>
<div class="nav-previous"><?php previous_comments_link( __( '&larr; Older Comments', 'thebox' ) ); ?></div>
<div class="nav-next"><?php next_comments_link( __( 'Newer Comments &rarr;', 'thebox' ) ); ?></div>
</nav><!-- #comment-nav-before .site-navigation .comment-navigation -->
<?php endif; // check for comment navigation ?>
<ol class="commentlist">
<?php
/* Loop through and list the comments. Tell wp_list_comments()
* to use thebox_comment() to format the comments.
* If you want to overload this in a child theme then you can
* define thebox_comment() and that will be used instead.
* See thebox_comment() in inc/template-tags.php for more.
*/
wp_list_comments( array( 'callback' => 'thebox_comment' ) );
?>
</ol><!-- .commentlist -->
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?>
<nav role="navigation" id="comment-nav-below" class="site-navigation comment-navigation">
<h1 class="assistive-text"><?php _e( 'Comment navigation', 'thebox' ); ?></h1>
<div class="nav-previous"><?php previous_comments_link( __( '&larr; Older Comments', 'thebox' ) ); ?></div>
<div class="nav-next"><?php next_comments_link( __( 'Newer Comments &rarr;', 'thebox' ) ); ?></div>
</nav><!-- #comment-nav-below .site-navigation .comment-navigation -->
<?php endif; // check for comment navigation ?>
<?php endif; // have_comments() ?>
<?php
// If comments are closed and there are comments, let's leave a little note, shall we?
if ( ! comments_open() && '0' != get_comments_number() && post_type_supports( get_post_type(), 'comments' ) ) :
?>
<p class="nocomments"><?php _e( 'Comments are closed.', 'thebox' ); ?></p>
<?php endif; ?>
<?php comment_form(); ?>
</div><!-- #comments .comments-area -->
<?php
/**
* The template for displaying posts in the Aside post format
*
* @package WordPress
* @since The Box 1.0
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php if ( is_single() ) : ?>
<div class="entry-content">
<?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'thebox' ) ); ?>
<?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'thebox' ), 'after' => '</div>' ) ); ?>
</div><!-- .entry-content -->
<?php else : ?>
<div class="entry-summary">
<?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'thebox' ) ); ?>
</div><!-- .entry-summary -->
<?php endif; ?>
</article><!-- #post-<?php the_ID(); ?> -->
\ No newline at end of file
<?php
/**
* The template for displaying a "No posts found" message
*
* @package WordPress
* @since The Box 1.0
*/
?>
<article id="post-0" class="post hentry no-results not-found">
<header class="entry-header">
<h1 class="entry-title"><?php _e( 'Nothing Found', 'thebox' ); ?></h1>
</header><!-- .entry-header -->
<div class="entry-content">
<?php if ( is_home() && current_user_can( 'publish_posts' ) ) : ?>
<p><?php printf( __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'thebox' ), esc_url( admin_url( 'post-new.php' ) ) ); ?></p>
<?php elseif ( is_search() ) : ?>
<p><?php _e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'thebox' ); ?></p>
<?php get_search_form(); ?>
<?php else : ?>
<p><?php _e( 'It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help.', 'thebox' ); ?></p>
<?php get_search_form(); ?>
<?php endif; ?>
</div><!-- .entry-content -->
<footer class="entry-footer"></footer>
</article><!-- #post-0 .post .no-results .not-found -->
\ No newline at end of file
<?php
/**
* The template used for displaying page content in page.php
*
* @package WordPress
* @since The Box 1.0
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<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( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'thebox' ), 'after' => '</div>' ) ); ?>
</div><!-- .entry-content -->
<footer class="entry-footer">
<p>
<?php if ( ! post_password_required() && ( comments_open() || '0' != get_comments_number() ) ) : ?>
<span class="comments-link">
<?php comments_popup_link( __( '<span class="icon-font icon-comment-alt"></span> Leave a comment', 'thebox' ), __( '<span class="icon-font icon-comment"></span> 1 Comment', 'thebox' ), __( '<span class="icon-font icon-comments-alt"></span> % Comments', 'thebox' ) ); ?>
</span>
<?php endif; ?>
<?php edit_post_link( __( 'Edit', 'thebox' ), '<span class="sep"></span><span class="edit-link">', '</span>' ); ?>
</p>
</footer>
</article><!-- #post-<?php the_ID(); ?> -->
<?php
/**
* The template for displaying posts in the Quote post format
*
* @package WordPress
* @since The Box 1.0
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php if ( is_single() ) : ?>
<div class="entry-content">
<?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'thebox' ) ); ?>
<?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'thebox' ), 'after' => '</div>' ) ); ?>
</div><!-- .entry-content -->
<?php else : ?>
<div class="entry-summary">
<?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'thebox' ) ); ?>
</div><!-- .entry-summary -->
<?php endif; ?>
</article><!-- #post-<?php the_ID(); ?> -->
\ No newline at end of file
<?php
/**
*
* @package WordPress
* @since The Box 1.0
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="entry-header">
<?php
if ( is_single() ) :
the_title( '<h1 class="entry-title">', '</h1>' );
else :
the_title( sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' );
endif;
?>
<div class="entry-time">
<span class="entry-time-day"><?php the_time('j') ?></span>
<span class="entry-time-month"><?php the_time('M') ?></span>
<span class="entry-format-icon"></span>
</div>
<?php if ( is_single() ) : ?>
<div class="entry-meta">
<?php the_date(); ?>
</div>
<?php endif; // is_single ?>
</header><!-- .entry-header -->
<?php if ( is_single() ) : ?>
<div class="entry-content">
<?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'thebox' ) ); ?>
<?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'thebox' ), 'after' => '</div>' ) ); ?>
</div><!-- .entry-content -->
<?php else : ?>
<div class="entry-summary">
<?php if ( get_post_format() ) : ?>
<?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'thebox' ) ); ?>
<?php else : ?>
<?php if ( has_post_thumbnail() && ! post_password_required() ) : ?>
<div class="post-thumbnail">
<a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'thebox' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark">
<?php the_post_thumbnail('large'); ?>
</a>
</div>
<?php endif; ?>
<?php thebox_excerpt(40); ?>
<?php endif; // get_post_format() ?>
</div><!-- .entry-summary -->
<?php endif; // is_single() ?>
<footer class="entry-footer">
<p>
<?php if ( is_single() ) : ?>
<span class="author">
<a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>">
<span class="icon-font icon-user"></span>
<?php _e( 'Posted by', 'thebox' ); ?> <?php the_author(); ?>
</a>
<span class="sep"></span>
</span>
<?php endif; // is_single() ?>
<?php if ( 'post' == get_post_type() ) : // Hide category and tag text for pages on Search ?>
<?php
/* translators: used between list items, there is a space after the comma */
$categories_list = get_the_category_list( __( ', ', 'thebox' ) );
if ( $categories_list && thebox_categorized_blog() ) :
?>
<span class="category-meta">
<span class="icon-font icon-category-alt"></span>
<?php printf( __( '%1$s', 'thebox' ), $categories_list ); ?>
</span>
<?php endif; // End if categories ?>
<?php
/* translators: used between list items, there is a space after the comma */
$tags_list = get_the_tag_list( '', __( ', ', 'thebox' ) );
if ( $tags_list ) :
?>
<span class="sep"></span>
<span class="tag-meta">
<span class="icon-font icon-tag-alt"></span>
<?php printf( __( '%1$s', 'thebox' ), $tags_list ); ?>
</span>
<?php endif; // End if $tags_list ?>
<span class="sep"></span>
<?php endif; // End if 'post' == get_post_type() ?>
<?php if ( ! post_password_required() && ( comments_open() || '0' != get_comments_number() ) ) : ?>
<span class="comments-link">
<?php comments_popup_link( __( '<span class="icon-font icon-comment-alt"></span> Leave a comment', 'thebox' ), __( '<span class="icon-font icon-comment"></span> 1 Comment', 'thebox' ), __( '<span class="icon-font icon-comments-alt"></span> % Comments', 'thebox' ) ); ?>
</span>
<?php endif; ?>
<?php edit_post_link( __( 'Edit', 'thebox' ), '<span class="sep"></span><span class="edit-link">', '</span>' ); ?>
</p>
</footer><!-- .entry-meta -->
</article><!-- #post-<?php the_ID(); ?> -->
@charset "UTF-8";
@font-face {
font-family: "icons-font";
src:url("icons-font.eot");
src:url("icons-font.eot?#iefix") format("embedded-opentype"),
url("icons-font.woff") format("woff"),
url("icons-font.ttf") format("truetype"),
url("icons-font.svg#icons-font") format("svg");
font-weight: normal;
font-style: normal;
}
[class^="icon-"]:before,
[class*=" icon-"]:before {
font-family: "icons-font" !important;
font-style: normal !important;
font-weight: normal !important;
font-variant: normal !important;
text-transform: none !important;
text-rendering: auto;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* Icons v. 1.6 */
.icon-quote-right:before {
content: "a";
}
.icon-quote-left:before {
content: "b";
}
.icon-double-arrow-right:before {
content: "d";
}
.icon-double-arrow-left:before {
content: "e";
}
.icon-angle-right:before {
content: "f";
}
.icon-angle-left:before {
content: "g";
}
.icon-angle-down:before {
content: "i";
}
.icon-menu:before {
content: "j";
}
.icon-comment:before {
content: "l";
}
.icon-comments-alt:before {
content: "m";
}
.icon-caret-right:before {
content: "o";
}
.icon-caret-left:before {
content: "p";
}
.icon-mail:before {
content: "q";
}
.icon-pin:before {
content: "s";
}
.icon-image:before {
content: "t";
}
.icon-video:before {
content: "u";
}
.icon-link-external:before {
content: "r";
}
.icon-googleplus:before {
content: "w";
}
.icon-facebook:before {
content: "x";
}
.icon-youtube:before {
content: "y";
}
.icon-pinterest:before {
content: "z";
}
.icon-search:before {
content: "A";
}
.icon-twitter:before {
content: "B";
}
.icon-home:before {
content: "C";
}
.icon-linkedin:before {
content: "D";
}
.icon-coffee:before {
content: "E";
}
.icon-rss:before {
content: "M";
}
.icon-user:before {
content: "v";
}
.icon-instagram:before {
content: "F";
}
.icon-category-alt:before {
content: "H";
}
.icon-tag-alt:before {
content: "I";
}
.icon-comment-alt:before {
content: "J";
}
.icon-comments:before {
content: "K";
}
.icon-music:before {
content: "N";
}
.icon-tag:before {
content: "O";
}
.icon-mail-alt:before {
content: "P";
}
.icon-link:before {
content: "Q";
}
.icon-flag:before {
content: "k";
}
.icon-category:before {
content: "L";
}
.icon-hearth:before {
content: "8";
}
.icon-camera:before {
content: "U";
}
.icon-book:before {
content: "V";
}
.icon-star-alt:before {
content: "G";
}
.icon-date:before {
content: "Z";
}
.icon-heart-alt:before {
content: "0";
}
.icon-doc-alt:before {
content: "1";
}
.icon-star:before {
content: "c";
}
.icon-calendar:before {
content: "2";
}
.icon-dribbble:before {
content: "3";
}
.icon-caret-down:before {
content: "h";
}
.icon-caret-up:before {
content: "n";
}
.icon-download:before {
content: "5";
}
.icon-left-circle:before {
content: "7";
}
.icon-tumblr:before {
content: "9";
}
.icon-github:before {
content: "!";
}
.icon-flickr:before {
content: "Y";
}
.icon-share:before {
content: "6";
}
.icon-stumbleupon:before {
content: "4";
}
.icon-medium:before {
content: "R";
}
.icon-whatsapp:before {
content: "S";
}
\ No newline at end of file
This diff is collapsed.
<?php
/**
* The template for displaying the footer.
*
* Contains the closing of the id=main div and all content after
*
* @package WordPress
* @since The Box 1.0
*/
?>
</div><!-- #main .site-main -->
<footer id="colophon" class="site-footer clearfix" role="contentinfo"