You've already forked dementiewijs
Added WordPress files and DB dump
This commit is contained in:
77
wp/wp-content/themes/specia/page.php
Normal file
77
wp/wp-content/themes/specia/page.php
Normal file
@@ -0,0 +1,77 @@
|
||||
<?php
|
||||
get_header();
|
||||
get_template_part('sections/specia','breadcrumb'); ?>
|
||||
|
||||
<section class="page-wrapper">
|
||||
<div class="container">
|
||||
|
||||
<div class="row padding-top-60 padding-bottom-60">
|
||||
<?php
|
||||
if ( class_exists( 'WooCommerce' ) )
|
||||
{
|
||||
|
||||
if( is_account_page() || is_cart() || is_checkout() ) {
|
||||
echo '<div class="col-md-'.( !is_active_sidebar( "woocommerce-1" ) ?"12" :"8" ).'">';
|
||||
}
|
||||
else{
|
||||
|
||||
echo '<div class="col-md-'.( !is_active_sidebar( "sidebar-primary" ) ?"12" :"8" ).'">';
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
echo '<div class="col-md-'.( !is_active_sidebar( "sidebar-primary" ) ?"12" :"8" ).'">';
|
||||
|
||||
|
||||
}
|
||||
?>
|
||||
<div class="site-content">
|
||||
|
||||
<?php
|
||||
|
||||
if( have_posts()) : the_post();
|
||||
|
||||
the_content();
|
||||
endif;
|
||||
|
||||
comments_template( '', true ); // show comments
|
||||
?>
|
||||
|
||||
|
||||
</div><!-- /.posts -->
|
||||
|
||||
</div><!-- /.col -->
|
||||
|
||||
|
||||
<?php
|
||||
if ( class_exists( 'WooCommerce' ) )
|
||||
{
|
||||
|
||||
if( is_account_page() || is_cart() || is_checkout() ) {
|
||||
get_sidebar('woocommerce');
|
||||
}
|
||||
else{
|
||||
|
||||
get_sidebar();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
get_sidebar();
|
||||
|
||||
}
|
||||
?>
|
||||
|
||||
|
||||
</div><!-- /.row -->
|
||||
</div><!-- /.container -->
|
||||
</section>
|
||||
|
||||
<?php get_footer(); ?>
|
||||
|
||||
Reference in New Issue
Block a user