wp/wp-content/plugins/portfolio/templates/portfolio.php
changeset 19 3d72ae0968f4
parent 16 a86126ab1dd4
child 21 48c4eec2b7e6
equal deleted inserted replaced
18:be944660c56a 19:3d72ae0968f4
    10 			<div id="container" class="<?php echo in_array( $current_theme, array( 'twentyfourteen', 'twentytwelve' ) ) ? 'site-content' : ''; ?> site-main">
    10 			<div id="container" class="<?php echo in_array( $current_theme, array( 'twentyfourteen', 'twentytwelve' ) ) ? 'site-content' : ''; ?> site-main">
    11 				<div id="content" class="hentry entry">
    11 				<div id="content" class="hentry entry">
    12 					<div class="entry-header<?php echo in_array( $current_theme, array( 'twentytwenty' ) ) ? ' has-text-align-center' : ''; ?>">
    12 					<div class="entry-header<?php echo in_array( $current_theme, array( 'twentytwenty' ) ) ? ' has-text-align-center' : ''; ?>">
    13 						<?php prtfl_template_title(); ?>
    13 						<?php prtfl_template_title(); ?>
    14 					</div>
    14 					</div>
    15 					<?php do_action( 'bwsplgns_display_pdf_print_buttons', 'top' );
    15                     <div class="portfolio_box entry-content">
       
    16                         <?php do_action( 'bwsplgns_display_pdf_print_buttons', 'top' );
    16 
    17 
    17 					/* Get arguments for WP Query */
    18                         /* Get arguments for WP Query */
    18 					$args = prtfl_get_query_args();
    19                         $args = prtfl_get_query_args();
    19 
    20 
    20 					$second_query = new WP_Query( $args );
    21                         $second_query = new WP_Query( $args );
    21 
    22 
    22 					/* Display template content */
    23                         /* Display template content */
    23 					prtfl_get_content( $second_query );
    24                         prtfl_get_content( $second_query );
    24 
    25 
    25 					wp_reset_query();
    26                         wp_reset_query();
    26 
    27 
    27 					do_action( 'bwsplgns_display_pdf_print_buttons', 'bottom' ); ?>
    28                         do_action( 'bwsplgns_display_pdf_print_buttons', 'bottom' ); ?>
    28 				</div><!-- #content -->
       
    29 
    29 
    30 				<!-- Portfolio tmplate pagination -->
    30                         <!-- Portfolio tmplate pagination -->
    31 				<?php prtfl_pro_pagination( $second_query, $args ); ?>
    31                         <?php prtfl_pro_pagination( $second_query, $args ); ?>
    32 
    32                     </div><!--.portfolio_box-->
       
    33                 </div><!-- #content -->
    33 				<?php comments_template(); ?>
    34 				<?php comments_template(); ?>
    34 			</div><!-- #container -->
    35 			</div><!-- #container -->
    35 		</div><!-- .content-area -->
    36 		</div><!-- .content-area -->
    36 		<?php if( 'twentytwenty' == $current_theme ) {
    37 		<?php if( 'twentytwenty' == $current_theme ) {
    37 			get_template_part( 'template-parts/footer-menus-widgets' );
    38 			get_template_part( 'template-parts/footer-menus-widgets' );