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-rows.php
<?php 
$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 class="post-item animate-text page-bg-color">
	<div class="post-image">
	<?php
		$thumbnail = get_the_post_thumbnail_url();
		$url = wp_get_attachment_image_src( get_post_thumbnail_id(), 'large' );
		$url = $url[0];
		?>
		<a class="img-bg-wrapper" href="<?php echo esc_url(get_permalink()); ?>">
			<span class="img-bg-inner show-for-medium" style="background-image: url('<?php echo esc_url($url); ?>')"></span>
			<span class="img-bg-inner hide-for-medium"><?php the_post_thumbnail( 'large'); ?></span>
		</a>
	</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>
			<h3 class="post-title header-color"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
		</div>
		<div class="post-content text-color">
			<?php the_excerpt(); ?>
		</div>
		<div class="post-content-footer">
			<?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 class="post-btn-more text-right">
				<a href="<?php echo esc_url(get_permalink()); ?>" class="btn-single btn btn-xs btn-border btn-accent"><span class="btn-text"><?php esc_html_e('Read more', 'reda'); ?></span></a>
			</div>
			<div class="clearfix"></div>
		</div>
	</div>
</div>

Youez - 2016 - github.com/yon3zu
LinuXploit