| Server IP : 195.130.67.5 / Your IP : 216.73.217.154 Web Server : Microsoft-IIS/10.0 System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586 User : IUSR ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /Old Sites/ict/wp-content/plugins/so-widgets-bundle/widgets/headline/tpl/ |
Upload File : |
<div class="sow-headline-container <?php if ( $instance['fittext'] ) {
;
} ?>">
<?php
foreach ( $order as $item ) {
switch( $item ) {
case 'headline':
if ( ! empty( $headline ) ) {
echo "<$headline_tag class='sow-headline'>";
if ( ! empty( $headline_destination_url ) ) { ?>
<a href="<?php echo sow_esc_url( $headline_destination_url ); ?>" <?php echo $headline_new_window ? 'target="_blank" rel="noopener noreferrer"' : ''; ?>>
<?php
}
echo wp_kses_post( $headline );
if ( ! empty( $headline_destination_url ) ) {
echo '</a>';
}
echo "</$headline_tag>";
}
break;
case 'divider':
if ( $has_divider ) {
?>
<div class="decoration">
<div class="decoration-inside"></div>
</div>
<?php
}
break;
case 'sub_headline':
if ( ! empty( $sub_headline ) ) {
echo "<$sub_headline_tag class='sow-sub-headline'>";
if ( ! empty( $sub_headline_destination_url ) ) { ?>
<a href="<?php echo sow_esc_url( $sub_headline_destination_url ); ?>" <?php echo $sub_headline_new_window ? 'target="_blank" rel="noopener noreferrer"' : ''; ?>>
<?php
}
echo wp_kses_post( $sub_headline );
if ( ! empty( $sub_headline_destination_url ) ) {
echo '</a>';
}
echo "</$sub_headline_tag>";
}
break;
}
}
?>
</div>