HEX
Server: Apache
System: Linux dinesh8149 5.15.98-grsec-sharedvalley-2.lc.el8.x86_64 #1 SMP Thu Mar 9 09:07:30 -03 2023 x86_64
User: usesambura1 (1212012)
PHP: 7.0.33
Disabled: apache_child_terminate,dl,escapeshellarg,escapeshellcmd,exec,link,mail,openlog,passthru,pcntl_alarm,pcntl_exec,pcntl_fork,pcntl_get_last_error,pcntl_getpriority,pcntl_setpriority,pcntl_signal,pcntl_signal_dispatch,pcntl_sigprocmask,pcntl_sigtimedwait,pcntl_sigwaitinfo,pcntl_strerror,pcntl_wait,pcntl_waitpid,pcntl_wexitstatus,pcntl_wifexited,pcntl_wifsignaled,pcntl_wifstopped,pcntl_wstopsig,pcntl_wtermsig,php_check_syntax,php_strip_whitespace,popen,proc_close,proc_open,shell_exec,symlink,system
Upload Files
File: /home/storage/c/63/6c/usesambura1/public_html/yr/wp-content/themes/u73qqqcm/content.php
<div class="post-container">

	<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>

		<?php 

		$post_format = get_post_format();

		if ( ! post_password_required() ) :
		
			// Video format specific featured media
			if ( $post_format == 'video' && strpos( $post->post_content, '<!--more-->' ) ) : ?>

				<figure class="featured-media">

					<?php
							
					// Fetch post content
					$content = get_post_field( 'post_content', get_the_ID() );
					
					// Get content parts
					$content_parts = get_extended( $content );
					
					// oEmbed part before <!--more--> tag
					$embed_code = wp_oembed_get( $content_parts['main'] ); 
					
					echo $embed_code;
					
					?>

				</figure><!-- .featured-media -->

				<?php 
			
			// Gallery format specific featured media
			elseif ( $post_format == 'gallery' ) : ?>

				<figure class="featured-media">
					<?php fukasawa_flexslider( 'post-thumb' ); ?>
				</figure><!-- .featured-media -->
		
			<?php 
			
			// Image format specific featured media
			elseif ( $post_format == 'image' && has_post_thumbnail() ) : ?>

				<figure class="featured-media">

					<?php the_post_thumbnail( 'post-thumb' ); ?>

					<a class="post-overlay" href="<?php the_permalink(); ?>" rel="bookmark">
						<p class="view"><?php _e( 'View', 'fukasawa' ); ?> &rarr;</p>
					</a>

				</figure><!-- .featured-media -->

			<?php 
			
			// Standard format featured media
			elseif ( has_post_thumbnail() ) : ?>
			
				<figure class="featured-media" href="<?php the_permalink(); ?>">
					<a href="<?php the_permalink(); ?>">	
						<?php the_post_thumbnail( 'post-thumb' ); ?>
					</a>
				</figure><!-- .featured-media -->
					
				<?php 
			endif;
		endif;
		
		// Hide the post title and excerpt for image format posts with post thumbnail
		if ( $post_format !== 'image' || $post_format == 'image' && ! has_post_thumbnail() ) :
		
			if ( get_the_title() ) : ?>
						
				<div class="post-header">
					<h2 class="post-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
				</div><!-- .post-header -->
			
				<?php 
			endif;
			
			if ( get_the_excerpt() ) : ?>
			
				<div class="post-excerpt">
				
					<?php 
					if ( $post_format == 'video' && strpos( $post->post_content, '<!--more-->' ) ) {
						echo '<p>' . mb_strimwidth( $content_parts['extended'], 0, 160, '...' ) . '</p>';
					} else {
						the_excerpt();
					}
					?>
				
				</div>

				<?php 
			endif;
			
			if ( ! get_the_title() ) : ?>
					
				<div class="posts-meta">
					<a href="<?php the_permalink(); ?>"><?php the_time( get_option( 'date_format' ) ); ?></a>
				</div>
			
				<?php 
			endif;
			
		endif;
		
		?>
	
	</div><!-- .post -->

</div><!-- .post-container -->