1 <?php |
1 <?php |
2 /* |
2 /** |
3 * Template - Portfolio post |
3 * Template - Portfolio post |
4 * Version: 1.4.7 |
4 * Version: 1.4.7 |
5 */ |
5 */ |
|
6 |
6 get_header(); |
7 get_header(); |
7 $current_theme = get_stylesheet(); ?> |
8 $current_theme = get_stylesheet(); ?> |
8 <div class="wrap"> |
9 <div class="wrap"> |
9 <div id="primary" class="content-area"> |
10 <div id="primary" class="content-area"> |
10 <div id="container" class="<?php echo in_array( $current_theme, array( 'twentyfourteen', 'twentytwelve' ) ) ? 'site-content' : ''; ?> site-main"> |
11 <div id="container" class="<?php echo in_array( $current_theme, array( 'twentyfourteen', 'twentytwelve' ) ) ? 'site-content' : ''; ?> site-main"> |
11 <div id="content" class="hentry entry"> |
12 <div id="content" class="hentry entry"> |
12 <?php if( 'twentynineteen' != $current_theme ) { ?> |
13 <?php if ( 'twentynineteen' !== $current_theme ) { ?> |
13 <div class="breadcrumbs entry-header<?php echo in_array( $current_theme, array( 'twentytwenty' ) ) ? ' has-text-align-center' : ''; ?>"> |
14 <div class="breadcrumbs entry-header<?php echo in_array( $current_theme, array( 'twentytwenty' ) ) ? ' has-text-align-center' : ''; ?>"> |
14 <?php prtfl_post_template_title(); ?> |
15 <?php prtfl_post_template_title(); ?> |
15 </div> |
16 </div> |
16 <?php } |
17 <?php |
|
18 } |
|
19 if ( function_exists( 'lnkdn_position' ) ) { |
|
20 echo lnkdn_position( '', 'before_post' ); |
|
21 } |
17 do_action( 'bwsplgns_display_pdf_print_buttons', 'top' ); |
22 do_action( 'bwsplgns_display_pdf_print_buttons', 'top' ); |
18 /* Display template content */ |
23 /* Display template content */ |
19 prtfl_post_get_content(); |
24 prtfl_post_get_content(); |
20 |
25 |
21 do_action( 'bwsplgns_display_pdf_print_buttons', 'bottom' ); ?> |
26 do_action( 'bwsplgns_display_pdf_print_buttons', 'bottom' ); |
|
27 if ( function_exists( 'lnkdn_position' ) ) { |
|
28 echo lnkdn_position( '', 'after_post' ); |
|
29 } |
|
30 ?> |
22 </div><!-- #content --> |
31 </div><!-- #content --> |
23 </div><!-- #container --> |
32 </div><!-- #container --> |
24 </div><!-- .content-area --> |
33 </div><!-- .content-area --> |
25 <?php if( 'twentytwenty' == $current_theme ) { |
34 <?php |
|
35 if ( 'twentytwenty' === $current_theme ) { |
26 get_template_part( 'template-parts/footer-menus-widgets' ); |
36 get_template_part( 'template-parts/footer-menus-widgets' ); |
27 } elseif( 'twentynineteen' != $current_theme ) { |
37 } elseif ( 'twentynineteen' !== $current_theme ) { |
28 get_sidebar(); |
38 get_sidebar(); |
29 } ?> |
39 } |
|
40 ?> |
30 </div><!-- .wrap --> |
41 </div><!-- .wrap --> |
31 <?php get_footer(); ?> |
42 <?php get_footer(); ?> |