Uname: Linux premium294.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
Software: LiteSpeed
PHP version: 8.1.32 [ PHP INFO ] PHP os: Linux
Server Ip: 104.21.64.1
Your Ip: 216.73.216.223
User: mjbynoyq (1574) | Group: mjbynoyq (1570)
Safe Mode: OFF
Disable Function:
NONE

name : contact.php
<?php
/** Contact
 *  Display contact button when active.
 * @package     Zoo Theme
 * @version     1.0.0
 * @author      Zootemplate
 * @link        https://www.anon.com/
 * @copyright   Copyright (c) 2020 Zootemplate
 */
if (get_theme_mod('zoo_contact_type', 'none') != 'none' && get_theme_mod('zoo_contact_id', '') != '') {

    ?>
    <span class="zoo-contact-button <?php echo esc_attr(get_theme_mod('zoo_contact_pos', 'left'))?>">
    <?php
    switch (get_theme_mod('zoo_contact_type', 'none')) {
        case 'phone':
            ?>
            <a href="tel:<?php echo esc_attr(get_theme_mod('zoo_contact_id', '')) ?>" target="blank" class="zoo-contact-link phone-button" title="<?php esc_attr_e('Call to:', 'doma'); echo esc_attr(get_theme_mod('zoo_contact_id', ''))?>"><i class="cs-font clever-icon-phone-6"></i></a>
            <?php
            break;
        case 'email':
            ?>
            <a href="mailto:<?php echo esc_attr(get_theme_mod('zoo_contact_id', '')) ?>" target="blank" class="zoo-contact-link  email-button" title="<?php esc_attr_e('Mail to:', 'doma');echo esc_attr(get_theme_mod('zoo_contact_id', ''))?>"><i class="cs-font clever-icon-mail-5"></i></a>
            <?php
            break;
        case 'skype':?>
            <a href="skype:<?php echo esc_attr(get_theme_mod('zoo_contact_id', '')) ?>?chat" target="blank" class="zoo-contact-link  skype-button" title="<?php esc_attr_e('Chat with:', 'doma');echo esc_attr(get_theme_mod('zoo_contact_id', ''))?>"><i class="cs-font clever-icon-skype"></i></a>
            <?php
            break;
        case 'messenger':
            ?>
            <a href="http://m.me/<?php echo esc_attr(get_theme_mod('zoo_contact_id', '')) ?>" target="blank" class="zoo-contact-link messenger-button" title="<?php esc_attr_e('Chat with:', 'doma');echo esc_attr(get_theme_mod('zoo_contact_id', ''))?>"><i class="cs-font clever-icon-messenger-filled"></i></a>
            <?php
            break;
        case 'whatsapp':?>
            <a href="whatsapp://send?abid=<?php echo esc_attr(get_theme_mod('zoo_contact_id', '')) ?>" target="blank" class="zoo-contact-link whatsapp-button" title="<?php esc_attr_e('Chat with:', 'doma');echo esc_attr(get_theme_mod('zoo_contact_id', ''))?>"><i class="cs-font clever-icon-whatsapp-filled"></i></a>
            <?php
            break;
    }
    ?>
    </span>
    <?php
}
© 2025 XylotrechusZ