wp/wp-content/plugins/portfolio/templates/portfolio-post.php
changeset 16 a86126ab1dd4
parent 7 cf61fcea0001
child 21 48c4eec2b7e6
equal deleted inserted replaced
15:3d4e9c994f10 16:a86126ab1dd4
     1 <?php
     1 <?php
     2 /*
     2 /*
     3 * Template - Portfolio post
     3 * Template - Portfolio post
     4 * Version: 1.4.6
     4 * Version: 1.4.7
     5 */
     5 */
     6 get_header(); ?>
     6 get_header();
       
     7 $current_theme = get_stylesheet(); ?>
     7 	<div class="wrap">
     8 	<div class="wrap">
     8 		<div id="primary" class="content-area">
     9 		<div id="primary" class="content-area">
     9 			<div id="container" class="<?php if ( 'twentyfourteen' == get_stylesheet() || 'twentytwelve' == get_stylesheet() ) echo 'site-content'; ?> site-main">
    10 			<div id="container" class="<?php echo in_array( $current_theme, array( 'twentyfourteen', 'twentytwelve' ) ) ? 'site-content' : ''; ?> site-main">
    10 				<div id="content" class="hentry">
    11 				<div id="content" class="hentry entry">
    11 					<div class="breadcrumbs home_page_title entry-header">
    12 					<?php if( 'twentynineteen' != $current_theme ) { ?>
    12 						<?php prtfl_post_template_title(); ?>
    13                         <div class="breadcrumbs entry-header<?php echo in_array( $current_theme, array( 'twentytwenty' ) ) ? ' has-text-align-center' : ''; ?>">
    13 					</div>
    14                             <?php prtfl_post_template_title(); ?>
    14 					<?php do_action( 'bwsplgns_display_pdf_print_buttons', 'top' );
    15                         </div>
       
    16 					<?php }
       
    17 					do_action( 'bwsplgns_display_pdf_print_buttons', 'top' );
    15 					/* Display template content */
    18 					/* Display template content */
    16 					echo prtfl_post_get_content();
    19 					prtfl_post_get_content();
    17 
    20 
    18 					do_action( 'bwsplgns_display_pdf_print_buttons', 'bottom' ); ?>
    21 					do_action( 'bwsplgns_display_pdf_print_buttons', 'bottom' ); ?>
    19 				</div><!-- #content -->
    22 				</div><!-- #content -->
    20 			</div><!-- #container -->
    23 			</div><!-- #container -->
    21 		</div><!-- .content-area -->
    24 		</div><!-- .content-area -->
    22 	<?php get_sidebar(); ?>
    25 		<?php if( 'twentytwenty' == $current_theme ) {
       
    26 			get_template_part( 'template-parts/footer-menus-widgets' );
       
    27 		} elseif( 'twentynineteen' != $current_theme ) {
       
    28 			get_sidebar();
       
    29 		} ?>
    23 	</div><!-- .wrap -->
    30 	</div><!-- .wrap -->
    24 <?php get_footer(); ?>
    31 <?php get_footer(); ?>