Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ryphotog committed Sep 7, 2013
0 parents commit c56cee8
Show file tree
Hide file tree
Showing 34 changed files with 18,397 additions and 0 deletions.
Empty file added README
Empty file.
30 changes: 30 additions & 0 deletions wp-content/themes/llungen_2013/author-box.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?php
/**
* Author Box
*
* Displays author box with author description and thumbnail on single posts
*
* @package WordPress
* @subpackage llungen_2013
* @since Llungen Lures 2013
*/
?>

<?php if ( get_the_author_meta('description') ) : ?>


<section class="row">
<div class="large-12 columns">

<div class="panel author-box">
<a href="<?php get_the_author_meta('url'); ?>"><?php echo get_avatar( get_the_author_meta('user_email'),'60' ); ?></a>
<h5><?php _e('About', 'foundation' ); ?> <?php the_author_link(); ?></h5>
<p>
<?php echo get_the_author_meta('description'); ?>
</p>
</div>

</div>
</section>

<?php endif; ?>
63 changes: 63 additions & 0 deletions wp-content/themes/llungen_2013/comments.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
<?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 twentytwelve_comment() which is
* located in the functions.php file.
*
* @package WordPress
* @subpackage Twenty_Twelve
* @since Twenty Twelve 1.0
*/

/*
* 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>

<?php if ( have_comments() ) : ?>
<hr>
<h4 class="comments-title">
<?php
printf( _n( '1 reply to &ldquo;%2$s&rdquo;', '%1$s replies to &ldquo;%2$s&rdquo;', get_comments_number(), 'foundation' ),
number_format_i18n( get_comments_number() ), '<span>' . get_the_title() . '</span>' );
?>
</h4>

<ol class="commentlist">
<?php wp_list_comments( array( 'callback' => 'foundation_comment', 'style' => 'ol' ) ); ?>
</ol><!-- .commentlist -->

<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?>
<nav id="comment-nav-below" class="navigation" role="navigation">
<h1 class="assistive-text section-heading"><?php _e( 'Comment navigation', 'twentytwelve' ); ?></h1>
<div class="nav-previous"><?php previous_comments_link( __( '&larr; Older Comments', 'twentytwelve' ) ); ?></div>
<div class="nav-next"><?php next_comments_link( __( 'Newer Comments &rarr;', 'twentytwelve' ) ); ?></div>
</nav>
<?php endif; // check for comment navigation ?>

<?php
/* If there are no comments and comments are closed, let's leave a note.
* But we only want the note on posts and pages that had comments in the first place.
*/
if ( ! comments_open() && get_comments_number() ) : ?>
<p class="nocomments"><?php _e( 'Comments are closed.' , 'twentytwelve' ); ?></p>
<?php endif; ?>

<?php endif; // have_comments() ?>

<?php if ( comments_open() ) : ?>
<div class="panel">
<?php comment_form(); ?>
</div>
<?php endif; ?>

</div><!-- #comments .comments-area -->
31 changes: 31 additions & 0 deletions wp-content/themes/llungen_2013/content-aside.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?php
/**
* Content Aside
*
* Displays 'aside' custom post format
*
* @package WordPress
* @subpackage llungen_2013
* @since Llungen Lures 2013
*/
?>

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

<header>
<hgroup>
<h2><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'foundation' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
<span class="right radius success label"><?php echo get_post_format(); ?></span>
<h6>Written by <?php the_author_link(); ?> on <?php the_time(get_option('date_format')); ?></h6>
</hgroup>
</header>

<?php if ( has_post_thumbnail()) : ?>
<a href="<?php the_permalink(); ?>" class="th" title="<?php the_title_attribute(); ?>" ><?php the_post_thumbnail(); ?></a>
<?php endif; ?>

<?php the_excerpt(); ?>

</article>

<hr />
25 changes: 25 additions & 0 deletions wp-content/themes/llungen_2013/content-page.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?php
/**
* Content Page
*
* Loop content in page template (page.php)
*
* @package WordPress
* @subpackage llungen_2013
* @since Llungen Lures 2013
*/
?>

<article id="page-<?php the_ID(); ?>" <?php post_class(); ?>>

<header>
<h2><?php the_title(); ?></h2>
</header>

<?php if ( has_post_thumbnail()) : ?>
<a href="<?php the_permalink(); ?>" class="th" title="<?php the_title_attribute(); ?>" ><?php the_post_thumbnail(); ?></a>
<?php endif; ?>

<?php the_content(); ?>

</article>
42 changes: 42 additions & 0 deletions wp-content/themes/llungen_2013/content-single.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<?php
/**
* Content Single
*
* Loop content in single post template (single.php)
*
* @package WordPress
* @subpackage llungen_2013
* @since Llungen Lures 2013
*/
?>

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

<header>
<hgroup>
<h2><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'foundation' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
<h6><?php _e('Written by', 'foundation' );?> <?php the_author_link(); ?> on <?php the_time(get_option('date_format')); ?></h6>
</hgroup>
</header>

<?php if ( has_post_thumbnail()) : ?>
<a href="<?php the_permalink(); ?>" class="th" title="<?php the_title_attribute(); ?>" ><?php the_post_thumbnail(); ?></a>
<?php endif; ?>

<?php the_content(); ?>

<footer>

<p><?php wp_link_pages(); ?></p>

<h6><?php _e('Posted Under:', 'foundation' );?> <?php the_category(', '); ?></h6>
<?php the_tags('<span class="radius secondary label">','</span><span class="radius secondary label">','</span>'); ?>

<?php get_template_part('author-box'); ?>
<?php comments_template(); ?>

</footer>

</article>

<hr />
31 changes: 31 additions & 0 deletions wp-content/themes/llungen_2013/content.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?php
/**
* Content
*
* Displays content shown in the 'index.php' loop, default for 'standard' post format
*
* @package WordPress
* @subpackage llungen_2013
* @since Llungen Lures 2013
*/
?>

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

<header>
<hgroup>
<h3><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'foundation' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h3>
<?php if ( is_sticky() ) : ?><span class="right radius secondary label"><?php _e( 'Sticky', 'foundation' ); ?></span><?php endif; ?>
<h6>Written by <?php the_author_link(); ?> on <?php the_time(get_option('date_format')); ?></h6>
</hgroup>
</header>

<?php if ( has_post_thumbnail()) : ?>
<a href="<?php the_permalink(); ?>" class="th" title="<?php the_title_attribute(); ?>" ><?php the_post_thumbnail(); ?></a>
<?php endif; ?>

<?php the_excerpt(); ?>

<hr>

</article>
Loading

0 comments on commit c56cee8

Please sign in to comment.