HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux vmi1674223.contaboserver.net 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC 2024 x86_64
User: root (0)
PHP: 7.4.3-4ubuntu2.22
Disabled: 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,
Upload Files
File: /var/www/ruby/wp-content/themes/echooling/single-notices.php
<?php

/**
 * The template for displaying all single posts
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post
 *
 */
    get_header(); 
    global $echooling_option; 
    $post_id      = get_the_id();
    $author_id    = get_post_field ('post_author', $post_id);
    $display_name = get_the_author_meta( 'display_name' , $author_id );
    ?>

  </div>
</div>
<!-- Main content Start -->

<div class="main-contain"> 
  <!-- Breadcrumbs Start -->
  <?php  get_template_part( 'inc/page-header/breadcrumbs-notice' ); ?>
  <!-- Breadcrumbs End --> 
  
  <!-- Team Detail Start -->  
  	<div class="reactheme-notice-details">
	    <div id="content" class="container">	    	
	      	<?php while ( have_posts() ) : the_post(); ?>
	      		<div class="row">
	      		   	<div class="col-lg-8">
			      		<?php if(has_post_thumbnail()){ ?>
			      		<div class="bs-img">
			      		  <?php the_post_thumbnail()?>
			      		</div>
			      		<?php } ?>			      		
				    	<div class="event-desc"> 
				    		<ul class="single-posts-meta">
				    		    <li>                                
				    		        <span class="p-date">
				    		            <i class="fa fa-calendar-check-o" aria-hidden="true"></i> <?php $post_date = get_the_date(); echo esc_attr($post_date);?>
				    		        </span>
				    		    </li>
				    		    <li>
				    		        <span class="p-user">                                        
				    		            <i class="fa fa-user-o" aria-hidden="true"></i> <?php echo esc_html($display_name); ?>
				    		        </span>
				    		    </li>      
				    		
				    		    
				    		    <li class="post-comment">
				    		        <i class="fa fa-comments-o" aria-hidden="true"></i> <?php echo get_comments_number( '0', '1', '%' ); ?> 
				    		    </li>
				    		</ul>       
				        	<?php				        	
				            the_content( sprintf(
				              	wp_kses(
					                /* translators: %s: Name of current post. Only visible to screen readers */
					                __( 'Continue reading<span class="screen-reader-text"> "%s"</span>', 'echooling' ),
					                array(
					                  	'span' => array(
					                    	'class' => array(),
					                 	),
					                )
					            ),
				              	get_the_title()
				            ) );

				            wp_link_pages( array(
				              'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'echooling' ),
				              'after'  => '</div>',
				            ) );
				          	?>
				      	</div>
				    </div>				    
				    <?php get_sidebar('single');?>				    
				</div>
	      		
      		<?php endwhile; ?>		   
		</div>
	</div>
<!-- Portfolio Detail End -->
<?php
get_footer();