HEX
Server: Apache/2.4.65 (Debian)
System: Linux web6 5.10.0-36-amd64 #1 SMP Debian 5.10.244-1 (2025-09-29) x86_64
User: innocamp (1028)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //home/hcp/public_html/wp-content/plugins/jet-elements/templates/jet-weather/global/current.php
<?php
/**
 * Current weather template.
 */
$settings = $this->get_settings_for_display();
$data     = $this->weather_data;
?>
<div class="jet-weather__current">
	<div class="jet-weather__current-temp"><?php echo $this->get_weather_temp( $data['current']['temp'] ); ?></div>

	<div class="jet-weather__current-icon-box">
		<div class="jet-weather__current-icon"><?php echo $this->get_weather_svg_icon( $data['current']['code'], true, $data['current']['is_day'] ); ?></div>
		<div class="jet-weather__current-desc"><?php echo $this->get_weather_desc( $data['current']['code'], $data['current']['is_day'] ); ?></div>
	</div>
</div>
<?php if ( isset( $settings['show_current_weather_details'] ) && 'true' === $settings['show_current_weather_details'] ) { ?>
	<div class="jet-weather__details">
		<div class="jet-weather__details-item jet-weather__current-day"><?php echo date_i18n( 'l' ); ?></div>

		<div class="jet-weather__details-item jet-weather__current-humidity">
			<?php echo $this->get_weather_svg_icon( 'humidity' ); ?>
			<?php echo $data['current']['humidity']; ?>
		</div>

		<div class="jet-weather__details-item jet-weather__current-sunrise">
			<?php echo $this->get_weather_svg_icon( 'sunrise' ); ?>
			<?php echo $this->get_weather_astro_time( $data['current']['sunrise'] ); ?>
		</div>

		<div class="jet-weather__details-item jet-weather__current-min-temp"><?php
			printf( '%1$s %2$s', esc_html__( 'Min:', 'jet-elements' ), $this->get_weather_temp( $data['current']['temp_min'] ) );
		?></div>

		<div class="jet-weather__details-item jet-weather__current-pressure">
			<?php echo $this->get_weather_svg_icon( 'pressure' ); ?>
			<?php echo $this->get_weather_pressure( $data['current']['pressure'] ); ?>
		</div>

		<div class="jet-weather__details-item jet-weather__current-sunset">
			<?php echo $this->get_weather_svg_icon( 'sunset' ); ?>
			<?php echo $this->get_weather_astro_time( $data['current']['sunset'] ); ?>
		</div>

		<div class="jet-weather__details-item jet-weather__current-max-temp"><?php
			printf( '%1$s %2$s', esc_html__( 'Max:', 'jet-elements' ), $this->get_weather_temp( $data['current']['temp_max'] ) );
		?></div>

		<div class="jet-weather__details-item jet-weather__current-wind">
			<?php echo $this->get_weather_svg_icon( 'wind' ); ?>
			<?php echo $this->get_wind( $data['current']['wind_speed'], $data['current']['wind_dir'] ); ?>
		</div>
	</div>
<?php } ?>