-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlucky-fullwidth.php
32 lines (31 loc) · 1.12 KB
/
lucky-fullwidth.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
/**
* Template Name: Lucky Full Width Template
* This is the main core html full width template for lucky theme.
*
* @Package lucky
* @since version 1.0.0
* @Theme By https://urldev.com
*/
get_header(); ?>
<main class="lucky-main content-wrap clearfix">
<div class="lucky-main-content col-12">
<?php if ( have_posts() ) :
while ( have_posts() ) : the_post();
/* Include the Post-Format-specific template for the content. */
get_template_part( 'template-parts/singular/content', get_post_type() );
if(is_single()){
do_action('lucky_next_prev_Post');
do_action('lucky_related_posts');
};
/* If comments are open or have at least one comment, then load up the comment template. */
if (comments_open() || get_comments_number() && ! post_password_required()) :
comments_template();
endif;
endwhile;
else :
get_template_part('template-parts/post/content', 'none');
endif; ?>
</div><!-- .lucky-main-content -->
</main>
<?php get_footer(); ?>