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.16.1
Your Ip: 216.73.216.223
User: mjbynoyq (1574) | Group: mjbynoyq (1570)
Safe Mode: OFF
Disable Function:
NONE

name : contact.php
<?php
/**
 * Customize for Shop loop product
 */
return [
    [
        'type' => 'section',
        'name' => 'zoo_contact',
        'title' => esc_html__('Contact', 'doma'),
    ],
    [
        'name' => 'zoo_contact_general_settings',
        'type' => 'heading',
        'label' => esc_html__('Contact Settings', 'doma'),
        'section' => 'zoo_contact',
    ],
    [
        'name' => 'zoo_contact_type',
        'type' => 'select',
        'section' => 'zoo_contact',
        'title' => esc_html__('Contact Type', 'doma'),
        'default' => 'none',
        'choices' => [
            'none' => esc_html__('None', 'doma'),
            'phone' => esc_html__('Phone', 'doma'),
            'email' => esc_html__('Email', 'doma'),
            'messenger' => esc_html__('Messenger', 'doma'),
            'whatsapp' => esc_html__('Whatsapp', 'doma'),
            'skype' => esc_html__('Skype', 'doma'),
        ]
    ],
    [
        'type' => 'text',
        'name' => 'zoo_contact_id',
        'label' => esc_html__('Contact ID', 'doma'),
        'section' => 'zoo_contact',
        'description' => esc_html__('Your contact id. That is your phone, email or social id follow type contact you selected', 'doma'),
        'required' => ['zoo_contact_type', '!=', 'none'],
    ],[
        'type'    => 'select',
        'name' => 'zoo_contact_pos',
        'label' => esc_html__('Contact Position', 'doma'),
        'section' => 'zoo_contact',
        'description' => esc_html__('', 'doma'),
        'default' => 'left',
        'choices' => [
            'left' => esc_html__('Left', 'doma'),
            'right' => esc_html__('Right', 'doma'),
        ],
        'required' => ['zoo_contact_type', '!=', 'none'],
    ],
    [
        'name' => 'zoo_contact_size',
        'type' => 'slider',
        'section' => 'zoo_contact',
        'min' => 0,
        'step' => 1,
        'max' => 300,
        'required' => ['zoo_contact_type', '!=', 'none'],
        'selector'  => '.zoo-contact-button>.zoo-contact-link',
        'css_format' => 'width: {{value}};height: {{value}}',
    ],[
        'name' => 'zoo_contact_font_size',
        'type' => 'slider',
        'section' => 'zoo_contact',
        'min' => 0,
        'step' => 1,
        'max' => 100,
        'required' => ['zoo_contact_type', '!=', 'none'],
        'selector'  => '.zoo-contact-button>.zoo-contact-link',
        'css_format' => 'font-size: {{value}}',
    ],
    [
        'name' => 'zoo_contact_color',
        'type' => 'color',
        'section' => 'zoo_contact',
        'title' => esc_html__('Color', 'doma'),
        'selector' => '.zoo-contact-button>.zoo-contact-link',
        'css_format' => 'color: {{value}};',
        'required' => ['zoo_contact_type', '!=', 'none'],
    ],[
        'name' => 'zoo_contact_bg_color',
        'type' => 'color',
        'section' => 'zoo_contact',
        'title' => esc_html__('Background Color', 'doma'),
        'selector' => '.zoo-contact-button>.zoo-contact-link',
        'css_format' => 'background-color: {{value}};',
        'required' => ['zoo_contact_type', '!=', 'none'],
    ],
];
© 2025 XylotrechusZ