-
Notifications
You must be signed in to change notification settings - Fork 1
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 fdcaaf4
Showing
57 changed files
with
6,779 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,41 @@ | ||
<?php get_header(); ?> | ||
|
||
<div id="wrap" class="container clearfix"> | ||
|
||
<section id="content" class="primary" role="main"> | ||
|
||
<div class="type-page"> | ||
|
||
<h2 class="page-title"><?php _e('404 Error: Not found', 'momentous'); ?></h2> | ||
|
||
<div class="entry"> | ||
<p><?php _e('The page you trying to reach does not exist, or has been moved. Please use the menus or the search box to find what you are looking for', 'momentous'); ?></p> | ||
|
||
<h2><?php _e('Search', 'momentous'); ?></h2> | ||
<?php get_search_form(); ?> | ||
|
||
<h2><?php _e('Recent Posts', 'momentous'); ?></h2> | ||
<ul> | ||
<?php | ||
$recent_posts = wp_get_recent_posts(array('numberposts' => '8', 'post_status' => 'publish')); | ||
foreach( $recent_posts as $recent ) { | ||
echo '<li><a href="' . esc_url(get_permalink($recent['ID'])) . '" title="Look '.esc_attr($recent['post_title']).'" >' . $recent['post_title'] . '</a></li>'; | ||
} | ||
?> | ||
</ul> | ||
|
||
<h2><?php _e('Pages', 'momentous'); ?></h2> | ||
<ul> | ||
<?php wp_list_pages('title_li='); ?> | ||
</ul> | ||
</div> | ||
|
||
</div> | ||
|
||
</section> | ||
|
||
<?php get_sidebar(); ?> | ||
|
||
</div> | ||
|
||
<?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,41 @@ | ||
<?php get_header(); ?> | ||
|
||
<?php // Get Theme Options from Database | ||
$theme_options = momentous_theme_options(); | ||
?> | ||
|
||
<div id="wrap" class="container clearfix"> | ||
|
||
<section id="content" class="primary" role="main"> | ||
|
||
<h2 id="date-title" class="archive-title"> | ||
<?php // Display Archive Title | ||
if ( is_date() ) : | ||
printf( __( 'Monthly Archives: %s', 'momentous'), '<span>' . get_the_date( _x( 'F Y', 'date format of monthly archives', 'momentous') ) . '</span>' ); | ||
else : | ||
_e( 'Archives', 'momentous'); | ||
endif; | ||
?> | ||
</h2> | ||
|
||
<div id="post-wrapper" class="clearfix"> | ||
|
||
<?php if (have_posts()) : while (have_posts()) : the_post(); | ||
|
||
get_template_part( 'content' ); | ||
|
||
endwhile; ?> | ||
|
||
</div> | ||
|
||
<?php // Display Pagination | ||
momentous_display_pagination(); | ||
|
||
endif; ?> | ||
|
||
</section> | ||
|
||
<?php get_sidebar(); ?> | ||
</div> | ||
|
||
<?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,39 @@ | ||
<?php get_header(); ?> | ||
|
||
<?php // Get Theme Options from Database | ||
$theme_options = momentous_theme_options(); | ||
?> | ||
|
||
<?php // Retrieve Current Author | ||
$author = (get_query_var('author_name')) ? get_user_by('slug', get_query_var('author_name')) : get_userdata(get_query_var('author')); | ||
?> | ||
|
||
<div id="wrap" class="container clearfix"> | ||
|
||
<section id="content" class="primary" role="main"> | ||
|
||
<h2 id="author-title" class="archive-title"> | ||
<?php printf(__('Author Archives: %s', 'momentous'), '<span>' . esc_attr($author->display_name) . '</span>'); ?> | ||
</h2> | ||
|
||
<div id="post-wrapper" class="clearfix"> | ||
|
||
<?php if (have_posts()) : while (have_posts()) : the_post(); | ||
|
||
get_template_part( 'content' ); | ||
|
||
endwhile; ?> | ||
|
||
</div> | ||
|
||
<?php // Display Pagination | ||
momentous_display_pagination(); | ||
|
||
endif; ?> | ||
|
||
</section> | ||
|
||
<?php get_sidebar(); ?> | ||
</div> | ||
|
||
<?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,35 @@ | ||
<?php get_header(); ?> | ||
|
||
<?php // Get Theme Options from Database | ||
$theme_options = momentous_theme_options(); | ||
?> | ||
|
||
<div id="wrap" class="container clearfix"> | ||
|
||
<section id="content" class="primary" role="main"> | ||
|
||
<h2 id="category-title" class="archive-title"> | ||
<?php printf(__('Category Archives: %s', 'momentous'), '<span>' . single_cat_title( '', false ) . '</span>'); ?> | ||
</h2> | ||
|
||
<div id="post-wrapper" class="clearfix"> | ||
|
||
<?php if (have_posts()) : while (have_posts()) : the_post(); | ||
|
||
get_template_part( 'content' ); | ||
|
||
endwhile; ?> | ||
|
||
</div> | ||
|
||
<?php // Display Pagination | ||
momentous_display_pagination(); | ||
|
||
endif; ?> | ||
|
||
</section> | ||
|
||
<?php get_sidebar(); ?> | ||
</div> | ||
|
||
<?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,7 @@ | ||
=================================== | ||
Momentous Changelog | ||
=================================== | ||
|
||
Version 1.0 | ||
----------------------------------- | ||
Final Version |
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,47 @@ | ||
<?php | ||
/*** | ||
* Comments Template | ||
* | ||
* This template displays the current comments of a post and the comment form | ||
* | ||
*/ | ||
|
||
if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME'])) | ||
die ('Please do not load this page directly. Thanks!'); | ||
|
||
if ( post_password_required()) : ?> | ||
<p><?php _e('Enter password to view comments.', 'momentous'); ?></p> | ||
<?php return; endif; ?> | ||
|
||
|
||
<?php if ( have_comments() or comments_open() ) : ?> | ||
|
||
<div id="comments"> | ||
|
||
<?php if ( have_comments() ) : ?> | ||
|
||
<h3 class="comments-title"><span><?php comments_number( '', __('One comment','momentous'), __('% comments','momentous') );?></span></h3> | ||
|
||
<ul class="commentlist"> | ||
<?php wp_list_comments( array('callback' => 'momentous_list_comments')); ?> | ||
</ul> | ||
|
||
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : ?> | ||
<div class="comment-pagination clearfix"> | ||
<div class="alignleft"><?php previous_comments_link() ?></div> | ||
<div class="alignright"><?php next_comments_link() ?></div> | ||
</div> | ||
<?php endif; ?> | ||
|
||
<?php endif; ?> | ||
|
||
<?php if ( comments_open() ) : ?> | ||
<?php comment_form(array( | ||
'comment_notes_after' => '', | ||
'title_reply' => '<span>' . __( 'Leave a Reply', 'momentous') . '</span>', | ||
'title_reply_to' => '<span>' . __( 'Leave a Reply to %s', 'momentous') . '</span>' )); ?> | ||
<?php endif; ?> | ||
|
||
</div> | ||
|
||
<?php endif; ?> |
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,11 @@ | ||
|
||
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> | ||
|
||
<h2 class="page-title"><?php the_title(); ?></h2> | ||
|
||
<div class="entry clearfix"> | ||
<?php the_content(); ?> | ||
</div> | ||
<?php wp_link_pages(); ?> | ||
|
||
</div> |
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,18 @@ | ||
|
||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> | ||
|
||
<?php momentous_display_thumbnail_single(); ?> | ||
|
||
<h2 class="post-title"><?php the_title(); ?></h2> | ||
|
||
<div class="postmeta"><?php momentous_display_postmeta(); ?></div> | ||
|
||
<div class="entry clearfix"> | ||
<?php the_content(); ?> | ||
<!-- <?php trackback_rdf(); ?> --> | ||
<div class="page-links"><?php wp_link_pages(); ?></div> | ||
</div> | ||
|
||
<div class="postinfo clearfix"><?php momentous_display_postinfo_single(); ?></div> | ||
|
||
</article> |
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,21 @@ | ||
|
||
<div class="post-wrap clearfix"> | ||
|
||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> | ||
|
||
<?php momentous_display_thumbnail_index(); ?> | ||
|
||
<h2 class="post-title"><a href="<?php esc_url(the_permalink()) ?>" rel="bookmark"><?php the_title(); ?></a></h2> | ||
|
||
<div class="postmeta clearfix"><?php momentous_display_postmeta(); ?></div> | ||
|
||
<div class="entry clearfix"> | ||
<?php the_excerpt(); ?> | ||
<a href="<?php esc_url(the_permalink()) ?>" class="more-link"><?php _e('Continue reading »', 'momentous'); ?></a> | ||
</div> | ||
|
||
<div class="postinfo clearfix"><?php momentous_display_postinfo_index(); ?></div> | ||
|
||
</article> | ||
|
||
</div> |
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,75 @@ | ||
/* | ||
* Theme Customizer CSS | ||
* | ||
*/ | ||
|
||
#customize-control-momentous_control_footer_text, | ||
#customize-control-momentous_control_installed_fonts { | ||
margin-top: 18px; | ||
} | ||
#customize-control-momentous_control_excerpt_text_headline { | ||
margin-top: 12px; | ||
} | ||
|
||
#customize-control-momentous_control_header_content, | ||
#customize-control-momentous_control_post_images, | ||
#customize-control-momentous_control_excerpt_text_headline { | ||
margin-bottom: 0; | ||
} | ||
|
||
#customize-control-momentous_control_footer_text textarea, | ||
#customize-control-momentous_control_installed_fonts textarea { | ||
height: 4em; | ||
} | ||
|
||
|
||
/* Site Logo CSS | ||
#customize-control-site_logo { | ||
margin-top: 12px; | ||
border-top: 1px solid #eee; | ||
padding-top: 12px; | ||
} */ | ||
#customize-control-site_logo .description { | ||
display: block; | ||
margin-bottom: 12px; | ||
} | ||
#customize-control-site_logo .current { | ||
margin-bottom: 6px; | ||
} | ||
|
||
#customize-control-site_logo .current span { | ||
border: 1px solid #eee; | ||
-webkit-border-radius: 2px; | ||
border-radius: 2px; | ||
color: #555; | ||
display: block; | ||
overflow: hidden; | ||
line-height: 40px; | ||
min-height: 40px; | ||
padding: 0 6px; | ||
text-align: center; | ||
text-overflow: ellipsis; | ||
white-space: nowrap; | ||
} | ||
|
||
#customize-control-site_logo .current img { | ||
max-width: 100%; | ||
} | ||
|
||
#customize-control-site_logo button.new, | ||
#customize-control-site_logo button.change, | ||
#customize-control-site_logo button.remove { | ||
height: auto; | ||
width: 48%; | ||
white-space: normal; | ||
} | ||
|
||
#customize-control-site_logo .remove { | ||
float: left; | ||
margin-right: 3px; | ||
} | ||
|
||
#customize-control-site_logo .new, | ||
#customize-control-site_logo .change { | ||
float: right; | ||
} |
Binary file not shown.
Oops, something went wrong.