AnonSec Team
Server IP : 10.131.40.8  /  Your IP : 216.73.216.37
Web Server : Apache
System : Linux webd008.cluster131.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User : ludmqhh ( 137773)
PHP Version : 8.4.10
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0705) :  /home/l/u/d/ludmqhh/www/hotel-forum/wp-content/themes/hotello/inc/vc/modules/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/l/u/d/ludmqhh/www/hotel-forum/wp-content/themes/hotello/inc/vc/modules/contact.php
<?php
add_action('init', 'hotello_moduleVC_contact');

function hotello_moduleVC_contact()
{
    vc_map(array(
        'name'   => esc_html__('Hotello Contact', 'hotello'),
        'base'   => 'stm_contact',
        'icon'   => 'hotello-contact',
		'category' => array(
			esc_html__('Content', 'hotello'),
			esc_html__('Hotello', 'hotello'),
		),
		'description' => esc_html__('Custom contact block', 'hotello'),
		'params' => array(
            array(
                'type'       => 'textfield',
                'heading'    => esc_html__('Name', 'hotello'),
                'param_name' => 'name'
            ),
            array(
                'type'       => 'attach_image',
                'heading'    => esc_html__('Image', 'hotello'),
                'param_name' => 'image'
            ),
            array(
                'type'        => 'textfield',
                'heading'     => esc_html__('Image Size', 'hotello'),
                'param_name'  => 'image_size',
                'description' => esc_html__('Enter image size in pixels: 200x100 (Width x Height).', 'hotello')
            ),
            array(
                'type'       => 'textfield',
                'heading'    => esc_html__('Job', 'hotello'),
                'param_name' => 'job'
            ),
            array(
                'type'       => 'textfield',
                'heading'    => esc_html__('Phone', 'hotello'),
                'param_name' => 'phone'
            ),
            array(
                'type'       => 'textfield',
                'heading'    => esc_html__('Email', 'hotello'),
                'param_name' => 'email'
            ),
            array(
                'type'       => 'textfield',
                'heading'    => esc_html__('Skype', 'hotello'),
                'param_name' => 'skype'
            ),
            hotello_load_styles(1, 'style', true),
        )
    ));
}

if (class_exists('WPBakeryShortCode')) {
    class WPBakeryShortCode_Stm_Contact extends WPBakeryShortCode
    {
    }
}

AnonSec - 2021