403Webshell
Server IP : 208.109.34.209  /  Your IP : 216.73.217.134
Web Server : Apache
System : Linux 209.34.109.208.host.secureserver.net 5.14.0-687.29.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jul 23 16:18:48 EDT 2026 x86_64
User : oceanproject ( 1012)
PHP Version : 8.1.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/oceanproject/public_html/wp-content/themes/reda/template-parts/post/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/oceanproject/public_html/wp-content/themes/reda/template-parts/post/content.php
<?php
	$hasImage = has_post_thumbnail();
	$class = array('post-item');
	if(!$hasImage) {
		$class[] = 'no-thumbnail';
	}
	$shareData = array();
	$shareData = array('title'=>get_the_title(), 'url'=>get_the_permalink());
	$shareImage = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), 'full' );
	if(isset($shareImage[0])) {
		$shareImage = $shareImage[0];
		$shareData['image'] = $shareImage;
	}

?>


<div <?php post_class($class); ?>>
	<div class="post-image">
		<?php reda_blog_image(); ?>
	</div>
	<div class="post-content-wrapper">
		<div class="post-header">
			<div class="post-date accent-color">
				<?php
					if ( is_single() ) :
						reda_posted_on();
					else :
						echo reda_time_link();
						reda_edit_link();
					endif;
				?>
			</div>			
			<h4 class="header-color"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h4>
			<?php if(reda_check_share_links()) : ?>
			<div class="reda-shares text-left">
				<div class="shares-wrapper-inner">
					<span><?php echo esc_html__('Share', 'reda'); ?></span>
					<i class="fa fa-share-alt"></i>
				</div>
				<?php echo reda_get_share_links($shareData); ?>
			</div>
			<?php endif; ?>
		</div>
		<div class="post-content entry-content text-color">
			<?php the_excerpt(); 
				wp_link_pages( array(
					'before'      => '<div class="page-links">' . esc_html__( 'Pages:', 'reda' ),
					'after'       => '</div>',
					'link_before' => '<span class="page-number">',
					'link_after'  => '</span>',
				) );
			?>
		</div>
		<div class="post-btn-more text-right">
			<a href="<?php echo esc_url(get_permalink()); ?>" class="btn-single btn btn-sm btn-border btn-accent"><span class="btn-text"><?php esc_html_e('Read more', 'reda'); ?></span></a>
		</div>
	</div>
	<div class="clearfix"></div>
</div>

Youez - 2016 - github.com/yon3zu
LinuXploit