wp/wp-content/plugins/portfolio/templates/portfolio-post.php
changeset 21 48c4eec2b7e6
parent 16 a86126ab1dd4
--- a/wp/wp-content/plugins/portfolio/templates/portfolio-post.php	Thu Sep 29 08:06:27 2022 +0200
+++ b/wp/wp-content/plugins/portfolio/templates/portfolio-post.php	Fri Sep 05 18:40:08 2025 +0200
@@ -1,31 +1,42 @@
 <?php
-/*
-* Template - Portfolio post
-* Version: 1.4.7
-*/
+/**
+ * Template - Portfolio post
+ * Version: 1.4.7
+ */
+
 get_header();
 $current_theme = get_stylesheet(); ?>
 	<div class="wrap">
 		<div id="primary" class="content-area">
 			<div id="container" class="<?php echo in_array( $current_theme, array( 'twentyfourteen', 'twentytwelve' ) ) ? 'site-content' : ''; ?> site-main">
 				<div id="content" class="hentry entry">
-					<?php if( 'twentynineteen' != $current_theme ) { ?>
-                        <div class="breadcrumbs entry-header<?php echo in_array( $current_theme, array( 'twentytwenty' ) ) ? ' has-text-align-center' : ''; ?>">
-                            <?php prtfl_post_template_title(); ?>
-                        </div>
-					<?php }
+					<?php if ( 'twentynineteen' !== $current_theme ) { ?>
+						<div class="breadcrumbs entry-header<?php echo in_array( $current_theme, array( 'twentytwenty' ) ) ? ' has-text-align-center' : ''; ?>">
+								<?php prtfl_post_template_title(); ?>
+						</div>
+						<?php
+					}
+					if ( function_exists( 'lnkdn_position' ) ) {
+						echo lnkdn_position( '', 'before_post' );
+					}
 					do_action( 'bwsplgns_display_pdf_print_buttons', 'top' );
 					/* Display template content */
 					prtfl_post_get_content();
 
-					do_action( 'bwsplgns_display_pdf_print_buttons', 'bottom' ); ?>
+					do_action( 'bwsplgns_display_pdf_print_buttons', 'bottom' );
+					if ( function_exists( 'lnkdn_position' ) ) {
+						echo lnkdn_position( '', 'after_post' );
+					}
+					?>
 				</div><!-- #content -->
 			</div><!-- #container -->
 		</div><!-- .content-area -->
-		<?php if( 'twentytwenty' == $current_theme ) {
+		<?php
+		if ( 'twentytwenty' === $current_theme ) {
 			get_template_part( 'template-parts/footer-menus-widgets' );
-		} elseif( 'twentynineteen' != $current_theme ) {
+		} elseif ( 'twentynineteen' !== $current_theme ) {
 			get_sidebar();
-		} ?>
+		}
+		?>
 	</div><!-- .wrap -->
-<?php get_footer(); ?>
\ No newline at end of file
+<?php get_footer(); ?>