Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

jsarnowski / jsarnowski/jet-elements   php

Repository URL to install this package:

Version: 2.5.6 

/ jet-weather / global / index.php

<?php
/**
 * Weather template
 */
$settings = $this->get_settings_for_display();
?>
<div class="jet-weather">
	<div class="jet-weather__container"><?php
		echo $this->get_weather_title();

		if ( isset( $settings['show_current_weather'] ) && 'true' === $settings['show_current_weather'] ) {
			include $this->_get_global_template( 'current' );
		}

		if ( isset( $settings['show_forecast_weather'] ) && 'true' === $settings['show_forecast_weather'] ) {
			include $this->_get_global_template( 'forecast' );
		}
	?></div>
</div>