forked from PhiRhythmus/Tanx
-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
7df98cf
commit 304b126
Showing
125 changed files
with
56,020 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,25 @@ | ||
<?php get_header(); ?> | ||
<?php require_once(get_template_directory() . '/home-banner.php'); ?> | ||
|
||
<section class="main-section post-list"> | ||
<div class="container"> | ||
|
||
<div class="search-404"> | ||
<div class="row"></div> | ||
<h4><?php echo __("Search", "tanx"); ?></h4> | ||
<form role="search" method="get" action="<?php echo esc_url( home_url( '/' ) ); ?>"> | ||
<input type="text" value="<?php get_search_query(); ?>" placeholder="<?php echo __("I'm sure we can come up with something...", "tanx"); ?>" name="s" id="s" /> | ||
</form> | ||
</div> | ||
|
||
<?php if ( is_active_sidebar( 'sidebar-2' ) ) : ?> | ||
<ul id="sidebar-404"> | ||
<div class="row"> | ||
<?php dynamic_sidebar( 'sidebar-2' ); ?> | ||
</div> | ||
</ul> | ||
<?php endif; ?> | ||
</div> | ||
</section> | ||
|
||
<?php get_footer(); ?> |
Binary file not shown.
Binary file not shown.
Binary file not shown.
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 get_header(); ?> | ||
<?php require_once(get_template_directory() . '/home-banner.php'); ?> | ||
|
||
<section class="main-section"> | ||
<div class="container"> | ||
<?php if(have_posts()) : | ||
while(have_posts()) : the_post(); ?> | ||
<div <?php post_class(); ?>> | ||
<?php get_template_part('content', get_post_format()); ?> | ||
</div> | ||
<?php endwhile; | ||
endif; ?> | ||
</div> | ||
</section> | ||
|
||
<?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,23 @@ | ||
<?php if(have_comments()) { ?> | ||
<h4 id="comments-title"><?php comments_number('No Comments', 'One Comment', '% Comments') ?></h4> | ||
|
||
<?php $args = array( | ||
'post_id' => get_the_ID() | ||
); | ||
$posts = get_comments($args); | ||
?> | ||
<ul class="commentlist"> | ||
<?php wp_list_comments( 'type=comment&callback=mytheme_comment&max_depth=2' ); ?> | ||
</ul> | ||
<?php } ?> | ||
|
||
<?php | ||
$comments_args = array( | ||
'label_submit' => 'Post Comment', | ||
'title_reply' => 'Leave a Comment', | ||
'comment_notes_after' => '' | ||
); | ||
comment_form($comments_args); | ||
|
||
wp_enqueue_script('comment-reply'); | ||
?> |
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,37 @@ | ||
<div class="post-header"> | ||
<?php $gallery = get_post_gallery_images( $post->ID ); | ||
$image_list = '<div class="gallery-post-slider">'; | ||
foreach( $gallery as $image ) { | ||
$image_list .= '<img class="item" src="' . $image . '">'; | ||
} | ||
$image_list .= '</div>'; | ||
echo $image_list; | ||
?> | ||
<div class="navigation"> | ||
<a href="#" class="owl-next"><i class="icon arrow_right"></i></a> | ||
<a href="#" class="owl-prev"><i class="icon arrow_left"></i></a> | ||
</div> | ||
</div> | ||
<?php if(!is_single()) { ?> | ||
<a href="<?php the_permalink(); ?>" class="post-title"><h1 class="heading"><?php the_title(); ?></h1></a> | ||
<span class="post-date"> | ||
<?php the_time('F j, Y'); ?> | ||
</span> | ||
<?php } ?> | ||
<div class="post-content"> | ||
<?php | ||
$more_string = __('Continue reading', 'tanx'); | ||
if(has_excerpt( $post->ID )) { ?> | ||
<p> | ||
<?php | ||
echo get_the_excerpt(); | ||
?> <a href="<?php the_permalink(); ?>" class="more-link"><?php echo $more_string; ?></a> | ||
</p> <?php | ||
} | ||
else | ||
the_content($more_string); | ||
if(shortcode_exists('[ssba_hide]')) { | ||
echo do_shortcode("[ssba_hide]"); | ||
} | ||
?> | ||
</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,26 @@ | ||
<div class="post-header"> | ||
<?php the_post_thumbnail(); ?> | ||
</div> | ||
<?php if(!is_single()) { ?> | ||
<a href="<?php the_permalink(); ?>" class="post-title"><h1 class="heading"><?php the_title(); ?></h1></a> | ||
<span class="post-date"> | ||
<?php the_time('F j, Y'); ?> | ||
</span> | ||
<?php } ?> | ||
<div class="post-content"> | ||
<?php | ||
$more_string = __('Continue reading', 'tanx'); | ||
if(has_excerpt( $post->ID )) { ?> | ||
<p> | ||
<?php | ||
echo get_the_excerpt(); | ||
?> <a href="<?php the_permalink(); ?>" class="more-link"><?php echo $more_string; ?></a> | ||
</p> <?php | ||
} | ||
else | ||
the_content($more_string); | ||
if(shortcode_exists('[ssba_hide]')) { | ||
echo do_shortcode("[ssba_hide]"); | ||
} | ||
?> | ||
</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,33 @@ | ||
<div class="post-header"> | ||
<?php the_post_thumbnail(); ?> | ||
<div class="overlay"> | ||
<div class="center"> | ||
<a href="<?php the_permalink(); ?>" class="project-details">Project Details</a> | ||
<div class="categories"> | ||
<?php //the_category(', '); ?> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<?php if(!is_single()) { ?> | ||
<a href="<?php the_permalink(); ?>" class="post-title"><h2 class="heading"><?php the_title(); ?></h2></a> | ||
<span class="post-date"> | ||
<?php the_category(', '); ?> | ||
</span> | ||
<?php } ?> | ||
<div class="post-content"> | ||
<?php | ||
$more_string = 'Continue reading'; | ||
if(has_excerpt( $post->ID )) { ?> | ||
<p> | ||
<?php | ||
echo get_the_excerpt(); | ||
?> <a href="<?php the_permalink(); ?>" class="more-link"><?php echo $more_string; ?></a> | ||
</p> <?php | ||
} | ||
else | ||
if(shortcode_exists('[ssba_hide]')) { | ||
echo do_shortcode("[ssba_hide]"); | ||
} | ||
?> | ||
</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,33 @@ | ||
<div class="post-header"> | ||
<?php the_post_thumbnail(); ?> | ||
<?php if(!is_single()): ?> | ||
<div class="overlay"> | ||
<div class="center"> | ||
<div class="content"> | ||
<a href="<?php the_permalink(); ?>" class="project-details"><?php the_title(); ?></a> | ||
<div class="categories" data-content=""> | ||
<?php | ||
$term_list = wp_get_post_terms($post->ID, 'portfolio_category', array("fields" => "all")); | ||
foreach($term_list as $term) { | ||
echo '<a href="'.get_term_link($term).'">'.$term->name.'</a>'; | ||
} | ||
?> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<?php endif; ?> | ||
</div> | ||
<div class="post-content"> | ||
<?php | ||
if(is_single()) { ?> | ||
<p> | ||
<?php the_content(); ?> | ||
</p> <?php | ||
} | ||
else | ||
if(shortcode_exists('[ssba_hide]')) { | ||
echo do_shortcode("[ssba_hide]"); | ||
} | ||
?> | ||
</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,24 @@ | ||
<div class="post-header"> | ||
<a href="<?php the_permalink(); ?>" class="post-title"><h1 class="heading heading-quote"><?php the_title(); ?></h1></a> | ||
<span class="post-date"> | ||
<?php the_time('F j, Y'); ?> | ||
</span> | ||
<p class="author"><?php echo get_post_meta(get_the_ID(), 'quote_author', TRUE) ?></p> | ||
</div> | ||
<div class="post-content"> | ||
<?php | ||
$more_string = __('Continue reading', 'tanx'); | ||
if(has_excerpt( $post->ID )) { ?> | ||
<p> | ||
<?php | ||
echo get_the_excerpt(); | ||
?> <a href="<?php the_permalink(); ?>" class="more-link"><?php echo $more_string; ?></a> | ||
</p> <?php | ||
} | ||
else | ||
the_content($more_string); | ||
if(shortcode_exists('[ssba_hide]')) { | ||
echo do_shortcode("[ssba_hide]"); | ||
} | ||
?> | ||
</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,27 @@ | ||
<div class="post-header"> | ||
<iframe src="<?php echo get_post_meta(get_the_ID(), 'video-source', TRUE); ?>" data-aspect-ratio="<?php echo get_post_meta(get_the_ID(), 'aspect-ratio', TRUE); ?>"> | ||
</iframe> | ||
</div> | ||
<?php if(!is_single()) { ?> | ||
<a href="<?php the_permalink(); ?>" class="post-title"><h1 class="heading"><?php the_title(); ?></h1></a> | ||
<span class="post-date"> | ||
<?php the_time('F j, Y'); ?> | ||
</span> | ||
<?php } ?> | ||
<div class="post-content"> | ||
<?php | ||
$more_string = __('Continue reading', 'tanx'); | ||
if(has_excerpt( $post->ID )) { ?> | ||
<p> | ||
<?php | ||
echo get_the_excerpt(); | ||
?> <a href="<?php the_permalink(); ?>" class="more-link"><?php echo $more_string; ?></a> | ||
</p> <?php | ||
} | ||
else | ||
the_content($more_string); | ||
if(shortcode_exists('[ssba_hide]')) { | ||
echo do_shortcode("[ssba_hide]"); | ||
} | ||
?> | ||
</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,23 @@ | ||
<?php if(!is_single()) { ?> | ||
<a href="<?php the_permalink(); ?>" class="post-title"><h1 class="heading" style="margin-top:0"><?php the_title(); ?></h1></a> | ||
<span class="post-date"> | ||
<?php the_date(); ?> | ||
</span> | ||
<?php } ?> | ||
<div class="post-content"> | ||
<?php | ||
$more_string = __('Continue reading', 'tanx'); | ||
if(has_excerpt( $post->ID )) { ?> | ||
<p> | ||
<?php | ||
echo get_the_excerpt(); | ||
?> <a href="<?php the_permalink(); ?>" class="more-link"><?php echo $more_string; ?></a> | ||
</p> <?php | ||
} | ||
else | ||
the_content($more_string); | ||
if(shortcode_exists('[ssba_hide]')) { | ||
echo do_shortcode("[ssba_hide]"); | ||
} | ||
?> | ||
</div> |
Oops, something went wrong.