| Server IP : 60.247.133.247 / Your IP : 216.73.217.108 Web Server : Apache System : Linux ebs-119054 5.10.0-14-amd64 #1 SMP Debian 5.10.113-1 (2022-04-29) x86_64 User : goodwill ( 65985) PHP Version : 8.2.20 Disable Function : link,symlink,passthru,exec,system,shell_exec,proc_open,popen,pcntl_exec,socket_bind,stream_socket_server,pcntl_fork,pcntl_rfork MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/wwwroot/goodwill/wwwroot/wp-content/themes/GoodWill/ |
Upload File : |
<?php
/**
* The Template for displaying all single posts.
*
* @since 1.0.0
*
* @package The7\Templates
*/
defined( 'ABSPATH' ) || exit;
get_header( 'single' );
?>
<?php
if ( have_posts() ) {
while ( have_posts() ) {
the_post();
get_template_part( 'header-main' );
if ( presscore_is_content_visible() ) {
do_action( 'presscore_before_loop' );
?>
<div id="content" class="content" role="main">
<?php if ( post_password_required() ) { ?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php
do_action( 'presscore_before_post_content' );
the_content();
do_action( 'presscore_after_post_content' );
?>
</article>
<?php
} else {
get_template_part( 'content-single', str_replace( 'dt_', '', get_post_type() ) );
}
comments_template( '', true );
?>
</div><!-- #content -->
<?php
do_action( 'presscore_after_content' );
}
}
}
get_footer();
?>