| 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/button/tpl/ |
Upload File : |
<?php
/**
* @var array $button_attributes
* @var string $href
* @var string $onclick
* @var string $align
* @var string $icon_image_url
* @var string $icon
* @var string $icon_color
* @var string $text
*/
?>
<div class="ow-button-base ow-button-align-<?php echo esc_attr( $align ); ?>">
<a
href="<?php echo sow_esc_url( do_shortcode( $href ) ); ?>"
<?php
foreach ( $button_attributes as $name => $val ) {
echo esc_attr( $name ) . '="' . esc_attr( $val ) . '" ';
}
if ( ! empty( $on_click ) ) {
echo 'onclick="' . siteorigin_widget_onclick( $on_click ) . '"';
} ?>
>
<span>
<?php
if ( ! empty( $icon_image_url ) ) {
?><div class="sow-icon-image" style="<?php echo 'background-image: url(' . sow_esc_url( $icon_image_url ) . ')'; ?>"></div><?php
} else {
$icon_styles = array();
if ( ! empty( $icon_color ) ) {
$icon_styles[] = 'color: ' . $icon_color;
}
echo siteorigin_widget_get_icon( $icon, $icon_styles );
}
?>
<?php echo wp_kses_post( $text ); ?>
</span>
</a>
</div>