wp/wp-content/plugins/portfolio/templates/portfolio.php
changeset 19 3d72ae0968f4
parent 16 a86126ab1dd4
child 21 48c4eec2b7e6
--- a/wp/wp-content/plugins/portfolio/templates/portfolio.php	Wed Sep 21 18:19:35 2022 +0200
+++ b/wp/wp-content/plugins/portfolio/templates/portfolio.php	Tue Sep 27 16:37:53 2022 +0200
@@ -12,24 +12,25 @@
 					<div class="entry-header<?php echo in_array( $current_theme, array( 'twentytwenty' ) ) ? ' has-text-align-center' : ''; ?>">
 						<?php prtfl_template_title(); ?>
 					</div>
-					<?php do_action( 'bwsplgns_display_pdf_print_buttons', 'top' );
+                    <div class="portfolio_box entry-content">
+                        <?php do_action( 'bwsplgns_display_pdf_print_buttons', 'top' );
 
-					/* Get arguments for WP Query */
-					$args = prtfl_get_query_args();
+                        /* Get arguments for WP Query */
+                        $args = prtfl_get_query_args();
 
-					$second_query = new WP_Query( $args );
+                        $second_query = new WP_Query( $args );
 
-					/* Display template content */
-					prtfl_get_content( $second_query );
+                        /* Display template content */
+                        prtfl_get_content( $second_query );
 
-					wp_reset_query();
+                        wp_reset_query();
 
-					do_action( 'bwsplgns_display_pdf_print_buttons', 'bottom' ); ?>
-				</div><!-- #content -->
+                        do_action( 'bwsplgns_display_pdf_print_buttons', 'bottom' ); ?>
 
-				<!-- Portfolio tmplate pagination -->
-				<?php prtfl_pro_pagination( $second_query, $args ); ?>
-
+                        <!-- Portfolio tmplate pagination -->
+                        <?php prtfl_pro_pagination( $second_query, $args ); ?>
+                    </div><!--.portfolio_box-->
+                </div><!-- #content -->
 				<?php comments_template(); ?>
 			</div><!-- #container -->
 		</div><!-- .content-area -->