Skip to content

Commit 46730b5

Browse files
committed
first commit
0 parents  commit 46730b5

File tree

499 files changed

+107930
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

499 files changed

+107930
-0
lines changed

404.php

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
<?php get_header();
2+
$theme_options = _LB_Params()->option();
3+
$sidebar = lb_set( $theme_options, '404_sidebar' );?>
4+
5+
<article class="banner">
6+
<div class="container">
7+
<h2><?php _e('Page Not Found', LB_NAME); ?></h2>
8+
<ul class="social-links">
9+
<?php echo lb_get_social_icons(); ?>
10+
</ul>
11+
</div>
12+
</article>
13+
<div class="breadcrumbs">
14+
<div class="container">
15+
<ul class="breadcrumb">
16+
<?php echo get_the_breadcrumb(); ?>
17+
</ul>
18+
</div>
19+
</div>
20+
21+
<article role="main">
22+
<div class="section">
23+
<div class="container">
24+
25+
<div class="row">
26+
27+
<div class="error-box<?php echo ( $sidebar ) ? ' col-xs-12 col-sm-8 col-md-8' : ' col-xs-12 col-sm-12 col-md-12'; ?>">
28+
<?php if( $nf_image = lb_set( $theme_options, '404_image' ) ): ?>
29+
<img src="<?php echo $nf_image; ?>" alt="error">
30+
<?php else: ?>
31+
<img src="<?php echo get_template_directory_uri();?>/images/error.png" alt="error">
32+
<?php endif; ?>
33+
34+
<p>
35+
<?php if( $nf_title = lb_set( $theme_options, '404_title' ) ): ?>
36+
<h2><?php echo $nf_title; ?></h2>
37+
<?php endif; ?>
38+
39+
<?php if( $nf_title = lb_set( $theme_options, '404_content' ) ): ?>
40+
<p><?php echo $nf_title; ?></p>
41+
<?php else: ?>
42+
<?php _e('<strong>Uuuuuuups</strong>, we are sorry but this page does not exist.', LB_NAME); ?>
43+
<?php endif; ?>
44+
</p>
45+
46+
<?php if( $nf_title = lb_set( $theme_options, '404_home_button' ) ): ?>
47+
<a href="<?php echo home_url();?>" class="btn btn-primary btn-icon-hold"><i class="icon-page-arrow-right "></i><span><?php _e('Go Back to Home page', LB_NAME);?></span></a>
48+
<?php endif; ?>
49+
50+
</div>
51+
52+
<?php if( $sidebar ): ?>
53+
<div class="col-xs-12 col-sm-4 col-md-4 sidebar">
54+
<?php dynamic_sidebar( $sidebar ); ?>
55+
</div>
56+
<?php endif; ?>
57+
</div>
58+
</div>
59+
</div>
60+
</article>
61+
62+
<?php get_footer(); ?>

README.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Overview
2+
3+
**Construct** is a WordPress business theme. It is focused on building websites for construction companies. The theme includes [Visual Composer](https://codecanyon.net/item/visual-composer-page-builder-for-wordpress/242431), [Revolution slider](https://codecanyon.net/item/slider-revolution-responsive-wordpress-plugin/2751380), [WooCommerce](https://woocommerce.com/) support and an advanced admin panel.
4+
5+
It is suitable for users who are new to WordPress or don’t have any coding experience. Our easy to use theme options provide a range of options to make customization quick and simple.
6+
Developers who want to customize the theme even further will not have any issues as our code is written both to Envato and WordPress Codex standards.
7+
With all those features and our excellent support, you just cannot go wrong. Building your perfect WordPress theme will be a a joy, why search further, start building now!
8+
9+
10+
# What You Get:
11+
- Fully Responsive (Tested on Multiple Devices)
12+
- Full Width Layout or Boxed Layout
13+
- SASS Powered
14+
- Free Visual Composer Plugin
15+
- Free Slider Revolution Plugin
16+
- Free Essential Grid Plugin
17+
- **One Click** demo data importer
18+
- **Advanded Theme Options**
19+
- Compatible Browsers: IE9+, Firefox, Safari, Opera, Chrome
20+
- WPML Compatible.
21+
- Included demo data files.
22+
- Included documentation.
23+
- **24/7 Premium Support**
24+
25+
# Features
26+
- Fully Responsive (Tested on Multiple Devices)
27+
- Full Width Layout or Boxed Layout
28+
- SASS Powered
29+
- Free Visual Composer Plugin
30+
- Free Slider Revolution Plugin
31+
- Free Essential Grid Plugin
32+
- **One Click** demo data importer
33+
- **Advanded Theme Options**
34+
- Compatible Browsers: IE9+, Firefox, Safari, Opera, Chrome
35+
- WPML Compatible.
36+
- Included demo data files.
37+
- Included documentation.
38+
- **24/7 Premium Support**

archive.php

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
<?php get_header();
2+
$theme_options = _LB_Params()->option();
3+
$sidebar = lb_set( $theme_options, 'archive_sidebar');
4+
$layout = lb_set($theme_options, 'archive_sidebar_layout', 'full');
5+
$view = lb_set($theme_options, 'blog_page_view_list', 'list');
6+
$view = lb_set( $_GET, 'blog_view' ) ? lb_set( $_GET, 'blog_view' ) : $view;
7+
$blog_content = 'blog';
8+
if( $view == 'grid' ) {
9+
$blog_content = 'masonry';
10+
}
11+
?>
12+
13+
<article class="banner">
14+
<div class="container">
15+
<h2>
16+
<?php
17+
if ( is_day() ) :
18+
printf( __( 'Daily Archives: %s', LB_NAME ), get_the_date() );
19+
elseif ( is_month() ) :
20+
printf( __( 'Monthly Archives: %s', LB_NAME ), get_the_date( _x( 'F Y', 'monthly archives date format', LB_NAME ) ) );
21+
elseif ( is_year() ) :
22+
printf( __( 'Yearly Archives: %s', LB_NAME ), get_the_date( _x( 'Y', 'yearly archives date format', LB_NAME ) ) );
23+
else :
24+
_e( 'Archives', LB_NAME );
25+
endif;
26+
?>
27+
</h2>
28+
<ul class="social-links">
29+
<?php echo lb_get_social_icons(); ?>
30+
</ul>
31+
</div>
32+
</article>
33+
<div class="breadcrumbs">
34+
<div class="container">
35+
<ul class="breadcrumb">
36+
<?php echo get_the_breadcrumb(); ?>
37+
</ul>
38+
</div>
39+
</div>
40+
41+
<article role="main">
42+
<div class="section">
43+
<div class="container">
44+
<div class="row">
45+
<?php
46+
if( $layout == 'full' && $view == 'list' ){
47+
$class = 'blog-centered';
48+
} elseif( $layout == 'full' && $view == 'grid' ) {
49+
$class = 'col-xs-12 col-sm-12 col-md-12';
50+
} else {
51+
$class = 'col-xs-12 col-sm-8 col-md-8';
52+
}
53+
$column = ( $layout == 'full' ) ? 'col-3' : 'col-2';?>
54+
55+
<?php if( $sidebar && $layout == 'left' ): ?>
56+
<div class="col-xs-12 col-sm-4 col-md-4 sidebar">
57+
<?php dynamic_sidebar( $sidebar ); ?>
58+
</div>
59+
<?php endif; ?>
60+
61+
<div class="<?php echo $class; ?>">
62+
<div class="contents">
63+
64+
<?php if( $view == 'grid' ){ ?>
65+
<div class="<?php echo $column;?>">
66+
<?php }
67+
if ( have_posts() ) :
68+
get_template_part('content', $blog_content);
69+
// If no content, include the "No posts found" template.
70+
else :
71+
get_template_part( 'content', 'none' );
72+
73+
endif;
74+
if( $view == 'grid' ){ ?>
75+
</div>
76+
<?php }
77+
_the_pagination(); ?>
78+
79+
</div>
80+
</div>
81+
82+
<?php if( $sidebar && $layout == 'right' ): ?>
83+
<div class="col-xs-12 col-sm-4 col-md-4 sidebar">
84+
<?php dynamic_sidebar( $sidebar ); ?>
85+
</div>
86+
<?php endif; ?>
87+
</div>
88+
</div>
89+
</div>
90+
</article>
91+
92+
<?php get_footer(); ?>

author.php

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
<?php get_header();
2+
$theme_options = _LB_Params()->option();
3+
$sidebar = lb_set( $theme_options, 'author_sidebar');
4+
$layout = lb_set($theme_options, 'author_sidebar_layout', 'full');
5+
$view = lb_set($theme_options, 'blog_page_view_list', 'list');
6+
$view = lb_set( $_GET, 'blog_view' ) ? lb_set( $_GET, 'blog_view' ) : $view;
7+
$blog_content = 'blog';
8+
if( $view == 'grid' ) {
9+
$blog_content = 'masonry';
10+
}
11+
?>
12+
<article class="banner">
13+
<div class="container">
14+
15+
<h2>
16+
<?php
17+
/*
18+
* Queue the first post, that way we know what author
19+
* we're dealing with (if that is the case).
20+
*
21+
* We reset this later so we can run the loop properly
22+
* with a call to rewind_posts().
23+
*/
24+
the_post();
25+
26+
printf( __( 'All posts by %s', LB_NAME ), get_the_author() );
27+
?>
28+
</h2>
29+
30+
<ul class="social-links">
31+
<?php echo lb_get_social_icons(); ?>
32+
</ul>
33+
34+
</div>
35+
</article>
36+
<div class="breadcrumbs">
37+
<div class="container">
38+
<ul class="breadcrumb">
39+
<?php echo get_the_breadcrumb(); ?>
40+
</ul>
41+
</div>
42+
</div>
43+
44+
<article role="main">
45+
<div class="section">
46+
<div class="container">
47+
<div class="row">
48+
<?php
49+
if( $layout == 'full' && $view == 'list' ){
50+
$class = 'blog-centered';
51+
} elseif( $layout == 'full' && $view == 'grid' ) {
52+
$class = 'col-xs-12 col-sm-12 col-md-12';
53+
} else {
54+
$class = 'col-xs-12 col-sm-8 col-md-8';
55+
}
56+
$column = ( $layout == 'full' ) ? 'col-3' : 'col-2';?>
57+
<?php if( $sidebar && $layout == 'left' ): ?>
58+
<div class="col-xs-12 col-sm-4 col-md-4 sidebar">
59+
<?php dynamic_sidebar( $sidebar ); ?>
60+
</div>
61+
<?php endif; ?>
62+
63+
<div class="<?php echo $class; ?>">
64+
<div class="contents">
65+
66+
<?php if( $view == 'grid' ){ ?>
67+
<div class="<?php echo $column;?>">
68+
<?php }
69+
if ( have_posts() ) :
70+
get_template_part('content', $blog_content);
71+
// If no content, include the "No posts found" template.
72+
else :
73+
get_template_part( 'content', 'none' );
74+
75+
endif;
76+
if( $view == 'grid' ){ ?>
77+
</div>
78+
<?php }
79+
_the_pagination(); ?>
80+
81+
</div>
82+
</div>
83+
84+
<?php if( $sidebar && $layout == 'right' ): ?>
85+
<div class="col-xs-12 col-sm-4 col-md-4 sidebar">
86+
<?php dynamic_sidebar( $sidebar ); ?>
87+
</div>
88+
<?php endif; ?>
89+
</div>
90+
</div>
91+
</div>
92+
</article>
93+
94+
<?php get_footer(); ?>

category.php

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
<?php get_header();
2+
$theme_options = _LB_Params()->option();
3+
$sidebar = lb_set( $theme_options, 'category_sidebar');
4+
$layout = lb_set($theme_options, 'category_sidebar_layout', 'full');
5+
$view = lb_set($theme_options, 'blog_page_view_list', 'list');
6+
$view = lb_set( $_GET, 'blog_view' ) ? lb_set( $_GET, 'blog_view' ) : $view;
7+
$blog_content = 'blog';
8+
if( $view == 'grid' ) {
9+
$blog_content = 'masonry';
10+
}
11+
?>
12+
<article class="banner">
13+
<div class="container">
14+
15+
<h2>
16+
<?php
17+
/*
18+
* Queue the first post, that way we know what author
19+
* we're dealing with (if that is the case).
20+
*
21+
* We reset this later so we can run the loop properly
22+
* with a call to rewind_posts().
23+
*/
24+
25+
single_cat_title(__( 'Category: ', LB_NAME ));?>
26+
27+
</h2>
28+
29+
<ul class="social-links">
30+
<?php echo lb_get_social_icons(); ?>
31+
</ul>
32+
33+
</div>
34+
</article>
35+
<div class="breadcrumbs">
36+
<div class="container">
37+
<ul class="breadcrumb">
38+
<?php echo get_the_breadcrumb(); ?>
39+
</ul>
40+
</div>
41+
</div>
42+
43+
<article role="main">
44+
<div class="section">
45+
<div class="container">
46+
<div class="row">
47+
<?php
48+
if( $layout == 'full' && $view == 'list' ){
49+
$class = 'blog-centered';
50+
} elseif( $layout == 'full' && $view == 'grid' ) {
51+
$class = 'col-xs-12 col-sm-12 col-md-12';
52+
} else {
53+
$class = 'col-xs-12 col-sm-8 col-md-8';
54+
}
55+
$column = ( $layout == 'full' ) ? 'col-3' : 'col-2';?>
56+
57+
<?php if( $sidebar && $layout == 'left' ): ?>
58+
<div class="col-xs-12 col-sm-4 col-md-4 sidebar">
59+
<?php dynamic_sidebar( $sidebar ); ?>
60+
</div>
61+
<?php endif; ?>
62+
63+
<div class="<?php echo $class; ?>">
64+
<div class="contents">
65+
66+
<?php if( $view == 'grid' ){ ?>
67+
<div class="<?php echo $column;?>">
68+
<?php }
69+
if ( have_posts() ) :
70+
get_template_part('content', $blog_content);
71+
// If no content, include the "No posts found" template.
72+
else :
73+
get_template_part( 'content', 'none' );
74+
75+
endif;
76+
if( $view == 'grid' ){ ?>
77+
</div>
78+
<?php }
79+
_the_pagination(); ?>
80+
81+
</div>
82+
</div>
83+
84+
<?php if( $sidebar && $layout == 'right' ): ?>
85+
<div class="col-xs-12 col-sm-4 col-md-4 sidebar">
86+
<?php dynamic_sidebar( $sidebar ); ?>
87+
</div>
88+
<?php endif; ?>
89+
</div>
90+
</div>
91+
</div>
92+
</article>
93+
94+
<?php get_footer(); ?>

0 commit comments

Comments
 (0)