-
Notifications
You must be signed in to change notification settings - Fork 2
/
single.php
32 lines (29 loc) · 1.25 KB
/
single.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?php get_header();
$single_style = get_theme_mod(fashionable_store_get_prefix() . '_single_layout', '1');
get_template_part('template-parts/content/content-elements/titles/page-major-title');
?>
<section id="content" role="main">
<div class="main-content pad-tb-60">
<div class="container grid-xl">
<div class="columns">
<?php if (have_posts()): while (have_posts()): the_post(); ?>
<div class="column col-9 col-md-12">
<section id="content" role="main">
<?php
get_template_part('template-parts/content/single/single-style-' . esc_attr($single_style));
comments_template();
?>
</section>
</div>
<?php endwhile;
endif; ?>
<div class="column col-3 col-md-12">
<aside id="aside" role="complementary">
<?php get_sidebar(); ?>
</aside>
</div>
</div>
</div>
</div>
</section>
<?php get_footer(); ?>