HEX
Server: LiteSpeed
System: Linux da4 4.18.0-553.74.1.lve.el8.x86_64 #1 SMP Tue Sep 9 14:25:24 UTC 2025 x86_64
User: wwwprimemarka (2294)
PHP: 5.6.40
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/wwwprimemarka/public_html/wp-content/themes/Zephyr/framework/shortcodes/us_contacts.php
<?php defined( 'ABSPATH' ) OR die( 'This script cannot be accessed directly.' );

/**
 * Shortcode: us_contacts
 *
 * Dev note: if you want to change some of the default values or acceptable attributes, overload the shortcodes config.
 *
 * @var   $shortcode      string Current shortcode name
 * @var   $shortcode_base string The original called shortcode name (differs if called an alias)
 * @var   $content        string Shortcode's inner content
 * @var   $atts           array Shortcode attributes
 *
 * @param $atts           ['address'] string Addresss
 * @param $atts           ['phone'] string Phone
 * @param $atts           ['fax'] string Fax
 * @param $atts           ['email'] string Email
 * @param $atts           ['el_class'] string Extra class name
 */

$atts = us_shortcode_atts( $atts, 'us_contacts' );

// .w-contacts container additional classes and inner CSS-styles
$classes = '';

if ( ! empty( $atts['el_class'] ) ) {
	$classes .= ' ' . $atts['el_class'];
}
$output = '<div class="w-contacts' . $classes . '"><div class="w-contacts-list">';
if ( ! empty( $atts['address'] ) ) {
	$output .= '<div class="w-contacts-item for_address"><span class="w-contacts-item-value">' . $atts['address'] . '</span></div>';
}
if ( ! empty( $atts['phone'] ) ) {
	$output .= '<div class="w-contacts-item for_phone"><span class="w-contacts-item-value">' . $atts['phone'] . '</span></div>';
}
if ( ! empty( $atts['fax'] ) ) {
	$output .= '<div class="w-contacts-item for_fax"><span class="w-contacts-item-value">' . $atts['fax'] . '</span></div>';
}
if ( ! empty( $atts['email'] ) ) {
	$output .= '<div class="w-contacts-item for_email"><span class="w-contacts-item-value">';
	$output .= '<a href="mailto:' . $atts['email'] . '">' . $atts['email'] . '</a></span></div>';
}

$output .= '</div></div>';

echo $output;