Skip to content

Commit

Permalink
Updated theme to v1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
chiraggude committed Aug 22, 2014
1 parent f54b531 commit 6588d63
Show file tree
Hide file tree
Showing 26 changed files with 41 additions and 78 deletions.
4 changes: 1 addition & 3 deletions 404.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,4 @@


</div>
<?php get_footer(); ?>


<?php get_footer(); ?>
9 changes: 4 additions & 5 deletions category.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,21 @@
<?php wpbs_list_post_thumbnail(); ?>
<br/><br/>
<p class="wpbs-muted"><i class="fa fa-bookmark"></i> <?php the_category(', ') ?>
<a href="<?php comments_link(); ?>" class="pull-right"><?php comments_number( '<span class="badge">0</span> <i class="fa fa-comment-o"></i>', '<span class="badge">1</span> <i class="fa fa-comment"></i>', '<span class="badge">%</span> <i class="fa fa-comments"></i>' ); ?></a>
<a href="<?php comments_link(); ?>" class="pull-right"><?php comments_number( '<span class="badge">0</span> <i class="fa fa-comment-o"></i>', '<span class="badge">1</span> <i class="fa fa-comment"></i>', '<span class="badge">%</span> <i class="fa fa-comments"></i>' ); ?></a>
</p>
<?php the_excerpt(); ?>
<br/>

<?php endwhile; else: ?>
<p><?php _e('Sorry, there are no posts.'); ?></p>
<?php endif; ?>


<?php wpbs_pagination();?>

</div>
<div class="col-md-4">
<?php get_sidebar(); ?>
</div>

</div>
<?php get_footer(); ?>
6 changes: 1 addition & 5 deletions comments.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,7 @@
)
),
); ?>





<?php comment_form($comments_args); ?>
<?php comment_form($comments_args); ?>

</div><!-- #comments -->
2 changes: 1 addition & 1 deletion functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,4 @@ function redux_register_required_plugins() {
add_action( 'tgmpa_register', 'redux_register_required_plugins' );

// Redux Framework config for STAGE
require_once(dirname(__FILE__).'/includes/redux-config.php');
require_once(dirname(__FILE__).'/includes/redux-config.php');
2 changes: 0 additions & 2 deletions header.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,4 @@
)); ?>
</nav>
<?php } ?>


<div class="container">
2 changes: 1 addition & 1 deletion home.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@
</div>

</div>
<?php get_footer(); ?>
<?php get_footer(); ?>
18 changes: 4 additions & 14 deletions includes/comments-list.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,23 +65,13 @@ function wpbs_comments( $comment, $args, $depth ) {
</article><!-- .comment-body -->
</li>
</ul>
<?php
endif;
<?php endif;
}
endif; // ends check for wpbs_comments()

?>


add_action('comment_form', 'wpbs_comment_button' );




<?php
add_action('comment_form', 'wpbs_comment_button' );
function wpbs_comment_button() {
echo '<button class="btn btn-primary" type="submit"><i class="fa fa-check-circle"></i>' . __( ' Submit' ) . '</button>';
}
?>


echo '<button class="btn btn-primary" type="submit"><i class="fa fa-check-circle"></i>' . __( ' Submit' ) . '</button>';
}
3 changes: 1 addition & 2 deletions includes/excerpts.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,4 @@ function content($limit) {
$content = apply_filters('the_content', $content);
$content = str_replace(']]>', ']]&gt;', $content);
return $content;
}

}
10 changes: 5 additions & 5 deletions includes/pagination.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ function wpbs_post_nav() {
previous_post_link( '<strong>%link</strong>', __( '<div class="well well-sm"><p class="wpbs-muted">Previous Post</p>%title</div>', 'twentyfourteen' ) );
next_post_link( '<strong>%link</strong>', __( '<div class="well well-sm"><p class="wpbs-muted">Next Post</p>%title</div>', 'twentyfourteen' ) );
endif;
} ?>
}



<?php
// Display multi-page pagination (home.php, archive.php, category.php, author.php, search.php, tag.php)
function wpbs_pagination($pages = '', $range = 2) {

Expand Down Expand Up @@ -52,10 +52,10 @@ function wpbs_pagination($pages = '', $range = 2) {
echo "<li><a href='".get_pagenum_link($pages)."'>&raquo;</a></li>";
echo "</ul></div>\n";
}
} ?>
}



<?php
// Display multi-page pagination on Post Grids (page-template-post-grid.php)
function wpbs_grid_pagination( $query=null ) {

Expand All @@ -78,4 +78,4 @@ function wpbs_grid_pagination( $query=null ) {
}
echo "</ul>";
endif;
} ?>
}
2 changes: 1 addition & 1 deletion includes/redux-config.php
Original file line number Diff line number Diff line change
Expand Up @@ -692,4 +692,4 @@ function redux_validate_callback_function($field, $value, $existing_value) {
}


endif;
endif;
2 changes: 1 addition & 1 deletion includes/tgm-plugin-activation.php
Original file line number Diff line number Diff line change
Expand Up @@ -2193,4 +2193,4 @@ public function after_flush_output() {

}
}
}
}
2 changes: 1 addition & 1 deletion includes/wp_bootstrap_navwalker.php
Original file line number Diff line number Diff line change
Expand Up @@ -202,4 +202,4 @@ public static function fallback( $args ) {
echo $fb_output;
}
}
}
}
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
</div>

</div>
<?php get_footer(); ?>
<?php get_footer(); ?>
2 changes: 1 addition & 1 deletion page-templates/home-template-banner.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@


<div><!-- for <div> at start of footer.php -->
<?php get_footer(); ?>
<?php get_footer(); ?>
6 changes: 1 addition & 5 deletions page-templates/home-template-carousel.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,5 @@
</div>






<div><!-- for <div> at start of footer.php -->
<?php get_footer(); ?>
<?php get_footer(); ?>
2 changes: 1 addition & 1 deletion page-templates/page-template-dual-sidebar.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@
</div>

</div>
<?php get_footer(); ?>
<?php get_footer(); ?>
2 changes: 1 addition & 1 deletion page-templates/page-template-full-width.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@
<?php endif; ?>


<?php get_footer(); ?>
<?php get_footer(); ?>
2 changes: 1 addition & 1 deletion page-templates/page-template-left-sidebar.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@
</div>

</div>
<?php get_footer(); ?>
<?php get_footer(); ?>
2 changes: 1 addition & 1 deletion page-templates/page-template-post-grid.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@

<?php wp_reset_query(); ?>

<?php get_footer(); ?>
<?php get_footer(); ?>
2 changes: 1 addition & 1 deletion page.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@
</div>

</div>
<?php get_footer(); ?>
<?php get_footer(); ?>
2 changes: 1 addition & 1 deletion search.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@
</div>

</div>
<?php get_footer(); ?>
<?php get_footer(); ?>
14 changes: 1 addition & 13 deletions searchform.php
Original file line number Diff line number Diff line change
@@ -1,20 +1,8 @@
<?php
/**
* The template for displaying search forms
*/
?>

<form role="search" method="get" action="<?php echo home_url( '/' ); ?>">
<div class="input-group">
<input type="search" class="form-control" id="searchform" placeholder="Search …" value="" name="s" title="Search for:" />
<span class="input-group-btn">
<button class="btn btn-default" type="submit"><i class="fa fa-search fa-fw"></i></button>
</span>
</div><!-- /input-group -->
</form>






</form>
2 changes: 1 addition & 1 deletion sidebar-left.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
</div>
<?php endif; ?>
</div>
</div>
</div>
2 changes: 1 addition & 1 deletion single.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@
</div>

</div>
<?php get_footer(); ?>
<?php get_footer(); ?>
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Theme URI: http://turizon.in
Description: Sleek and modern starter theme built with Bootstrap 3.2.0. This theme is packed with multiple Page Templates, Menu Locations, Widget Areas and some unique features like the off-canvas menu, scrollbar etc. This theme was built from the ground-up to keep the theme compact and easy for you to customize. Creating an impressive website with WordPress has never been easier.
Author: Chirag Gude
Author URI: http://turizon.in
Version: 1.7
Version: 1.8
Tags: responsive-layout,bootstrap-3, fluid-layout, clean, mobile
License: GNU General Public License v3.0
Expand Down
15 changes: 7 additions & 8 deletions tag.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
<?php get_header(); ?>

<div class="row">
<div class="col-md-8">

<h1 class="wpbs-very-muted"><i class="fa fa-tag"></i> <?php wp_title("",true); ?> </h1>

<?php // Show an optional term description.
$term_description = term_description();
if ( ! empty( $term_description ) ) :
Expand All @@ -14,25 +13,25 @@
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>

<h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>

<?php wpbs_list_post_thumbnail(); ?>
<br/><br/>
<p class="wpbs-muted"><i class="fa fa-bookmark"></i> <?php the_category(', ') ?>
<a href="<?php comments_link(); ?>" class="pull-right"><?php comments_number( '<span class="badge">0</span> <i class="fa fa-comment-o"></i>', '<span class="badge">1</span> <i class="fa fa-comment"></i>', '<span class="badge">%</span> <i class="fa fa-comments"></i>' ); ?></a>
<a href="<?php comments_link(); ?>" class="pull-right"><?php comments_number( '<span class="badge">0</span> <i class="fa fa-comment-o"></i>', '<span class="badge">1</span> <i class="fa fa-comment"></i>', '<span class="badge">%</span> <i class="fa fa-comments"></i>' ); ?></a>
</p>
<?php the_excerpt(); ?>
<br/>

<?php endwhile; else: ?>
<p><?php _e('Sorry, there are no posts.'); ?></p>
<?php endif; ?>


<?php wpbs_pagination();?>

</div>
<div class="col-md-4">
<?php get_sidebar(); ?>
<?php get_sidebar(); ?>
</div>

</div>
Expand Down

0 comments on commit 6588d63

Please sign in to comment.