Server : nginx/1.20.1 System : Linux ccpf-production-2021 5.4.0-148-generic #165-Ubuntu SMP Tue Apr 18 08:53:12 UTC 2023 x86_64 User : forge ( 1000) PHP Version : 7.4.21 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /home/forge/gcc-ccpf.com/wp-content/themes/labora/post-formats/ |
<?php
/**
* The default template for displaying content
* Used for both single and index/archive/search.
* @package WordPress
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="entry-header">
<?php
if ( is_single() ) {
the_title( '<h2 class="entry-title">', '</h2>' );
} else {
the_title( '<h2 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h2>' );
}
?>
<?php if ( get_option( 'labora_postmeta' ) !== 'on' ) { ?>
<div class="entry-meta">
<?php labora_post_metadata(); ?>
</div><!-- .entry-meta -->
<?php } ?>
</header><!-- .entry-header -->
<?php
if ( has_post_thumbnail() ) {
echo '<div class="postimg-flat"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark"><figure>' . wp_kses_post( labora_img_resize( $post->ID, '', '1100', '550', '', '' ) ) . '</figure></a></div>';
} ?>
<div class="entry-content">
<?php
if ( has_excerpt() && ! is_single() ) {
the_excerpt();
echo '<a class="more-link" href="' . esc_url( get_permalink() ) . '">' . esc_html__( 'Continue Reading','labora' ) . '</a>';
} else {
the_content( esc_html__( 'Continue Reading', 'labora' ) );
wp_link_pages( array(
'before' => '<div class="page-links"><span class="page-links-title">' . esc_html__( 'Pages:', 'labora' ) . '</span>',
'after' => '</div>',
'link_before' => '<span>',
'link_after' => '</span>',
));
} ?>
<?php if ( is_single() ) { the_tags( '<div class="tagcloud clearfix">', ' ', '</div>' ); } ?>
</div><!-- .entry-content -->
</article><!-- /post-<?php the_ID();?> -->
<?php