<?php
/**
 * Cozy Properties Inline
 */


if (function_exists('vc_map')) {

    if (!function_exists('cozy_vc_properties_inline')) {

        add_action('init', 'cozy_vc_properties_inline');
        function cozy_vc_properties_inline()
        {
            vc_map(array(
                'name' => esc_html__('Cozy Properties Inline', 'wt-cozy-shortcodes'),
                'icon' => 'icon-cozy',
                'base' => 'wt_cozy_properties_inline',
                'description' => esc_html__('Display a Inline of properties.', 'wt-cozy-shortcodes'),
                'category' => esc_html__('Cozy Shortcodes', 'wt-cozy-shortcodes'),
                'params' => array(
                    cozy_add_css_animation(),
                    cozy_add_css_animation_delay(),
                    array(
                        'param_name' => 'extra_class',
                        'type' => 'textfield',
                        'heading' => esc_html__('Extra Class Name', 'wt-cozy-shortcodes'),
                        'description' => esc_html__('Style particular content element differently - add a class name and refer to it in custom CSS.', 'wt-cozy-shortcodes'),
                        'value' => '',
                    ),
                    array(
                        'param_name' => 'link_all_buildings',
                        'type' => 'textfield',
                        'heading' => esc_html__('Link All Buildings', 'wt-cozy-shortcodes'),
                        'value' => '',
                    ),
                    array(
                        'param_name' => 'add_text',
                        'type' => 'textarea',
                        'heading' => esc_html__('Add Text', 'wt-cozy-shortcodes'),
                        'value' => '',
                    ),
                    array(
                        'param_name' => 'prop_num',
                        'type' => 'dropdown',
                        'heading' => esc_html__('Number of Properties', 'wt-cozy-shortcodes'),
                        'value' => array('1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20'),
                        'std' => '8',
                        'description' => esc_html__('Select the number of properties that will be displayed.', 'wt-cozy-shortcodes'),
                        'group' => 'Properties Settings',
                    ),
                    array(
                        'param_name' => 'ppr',
                        'type' => 'dropdown',
                        'heading' => esc_html__('Properties per page', 'wt-cozy-shortcodes'),
                        'value' => array('1', '2', '3', '4', '5', '6'),
                        'std' => '4',
                        'description' => esc_html__('Select the number of properties that will be displayed per page.', 'wt-cozy-shortcodes'),
                        'group' => 'Properties Settings',
                    ),
                    array(
                        'param_name' => 'orderby',
                        'type' => 'dropdown',
                        'heading' => esc_html__('Order By', 'wt-cozy-shortcodes'),
                        'std' => 'date',
                        'value' => array(
                            esc_html__('Publish Date', 'wt-cozy-shortcodes') => 'date',
                            esc_html__('Modified Date', 'wt-cozy-shortcodes') => 'modified',
                            esc_html__('Random', 'wt-cozy-shortcodes') => 'rand',
                            esc_html__('Alphabetic', 'wt-cozy-shortcodes') => 'title',
                        ),
                        'group' => 'Properties Settings',
                    ),
                    array(
                        'param_name' => 'order',
                        'type' => 'dropdown',
                        'heading' => esc_html__('Order', 'wt-cozy-shortcodes'),
                        'std' => 'DESC',
                        'value' => array(
                            esc_html__('Ascending', 'wt-cozy-shortcodes') => 'ASC',
                            esc_html__('Descending', 'wt-cozy-shortcodes') => 'DESC',
                        ),
                        'group' => 'Properties Settings',
                    ),
                    array(
                        'param_name' => 'offset',
                        'type' => 'textfield',
                        'heading' => esc_html__('Offset', 'wt-cozy-shortcodes'),
                        'value' => '0',
                        'group' => 'Properties Settings',
                    ),

                    array(
                        'param_name' => 'dots_color',
                        'type' => 'dropdown',
                        'heading' => esc_html__('Naigation Dots/Arrows Color', 'wt-cozy-shortcodes'),
                        'value' => array('Color (Main Color set in Cozy Options)' => 'default', 'Light' => 'light'),
                        'std' => 'default',
                        'description' => esc_html__('Choose the navigation color', 'wt-cozy-shortcodes'),
                        'group' => 'Slider Settings',
                    ),
                    cozy_add_slider_option1('Slider Settings'),
                    cozy_add_slider_option2('Slider Settings'),
                    cozy_add_slider_option3('Slider Settings'),
                    cozy_add_slider_option4('Slider Settings'),
                    cozy_add_slider_option5('Slider Settings'),
                    cozy_add_slider_option6('Slider Settings', array('element' => 'ppr', 'value' => '1')),
                    cozy_add_slider_option7('Slider Settings', array('element' => 'ppr', 'value' => '1')),
                    array(
                        'param_name' => 'margin',
                        'type' => 'textfield',
                        'heading' => esc_html__('Item margin', 'wt-cozy-shortcodes'),
                        'description' => esc_html__('Set the margin-right(px) on item.', 'wt-cozy-shortcodes'),
                        'std' => '10',
                        'group' => 'Slider Settings',
                    ),
                    array(
                        'param_name' => 'stg_padding',
                        'type' => 'textfield',
                        'heading' => esc_html__('Stage Padding', 'wt-cozy-shortcodes'),
                        'description' => esc_html__('Set the stage padding(px).', 'wt-cozy-shortcodes'),
                        'std' => '0',
                        'group' => 'Slider Settings',
                    ),
                )
            ));

        }

    }

    /**
     * Slider
     */
    function cozy_shortcode_properties_inline($atts, $content = null)
    {
        extract(shortcode_atts(array(
            'prop_num' => '8',
            'orderby' => 'date',
            'order' => 'DESC',
            'offset' => '',
            'ppr' => '4',
            'dots_color' => 'default',
            'speed' => '5000',
            'autoplay' => 'true',
            'loop' => 'false',
            'arrows' => 'false',
            'dots' => 'true',
            'margin' => '10',
            'stg_padding' => '0',
            'animate' => 'none',
            'animation_delay' => '150',
            'extra_class' => '',
            'link_all_buildings' => '',
            'link_id_buildings' => '',
            'add_text' => '',
            'itemspr' => 3
        ), $atts));

        $output = '';
        $slider_id = uniqid();

        $margin = is_numeric($margin) ? $margin : '5';

        $query_args = array(
            'post_type' => 'property',
            'post_status' => 'publish',
            'posts_per_page' => $prop_num,
            'order' => $order,
            'orderby' => $orderby,
            'offset' => $offset
        );

        $query_args['meta_query'] = array(
            array(
                'key' => 'wt_property_showonmain',
                'value' => 'on'
            ),
            array(
                'key' => 'wt_property_layoutSoldOut',
                'value' => '0'
            )
        );

        $properties = new WP_Query($query_args);
        ob_start();
            ?>

            <div class="main-property-block">
                <div class="row">
                    <?
                        $isFirst = true;

                        $count = $properties->post_count;
                        $addCount = 0;
                        if ($count < $prop_num) {
                            $addCount = $prop_num - $count;
                        }
                        $arIds = [];

                        while ( $properties->have_posts() ) : $properties->the_post();
                            $post_id = get_the_ID();
                            $property = cozy_get_property_info($post_id);
                            $arIds[] = $post_id;
                            $image = get_the_post_thumbnail_url( $post_id, 'cozy-property-listing');
                            $thumbnail = get_the_post_thumbnail_url($post_id, 'thumbnail');
                    ?>
                    
                    <?
                        endwhile;

                    if ($addCount > 0) {
                        $query_args = array(
                            'post_type' => 'property',
                            'post_status' => 'publish',
                            'posts_per_page' => $addCount,
                            'order' => $order,
                            'orderby' => $orderby,
                            'offset' => $offset,
                            'post__not_in' => $arIds
                        );

                        $query_args['meta_query'] = array(
                            array(
                                'key' => 'wt_property_layoutSoldOut',
                                'value' => '0'
                            )
                        );

                        $addProperties = new WP_Query($query_args);
                        if ($addProperties->have_posts()){
                            while ( $addProperties->have_posts() ) : $addProperties->the_post();
                                $post_id = get_the_ID();
                                $property = cozy_get_property_info($post_id);
                                $image = get_the_post_thumbnail_url( $post_id, 'cozy-property-listing');
                                $thumbnail = get_the_post_thumbnail_url($post_id, 'thumbnail');
                            ?>
                                <div class="col-md-6 col-xl-3">
                                    <div class="main-property-item <?if ($isFirst == true) { echo 'is_active'; $isFirst= false; }  ?>" >
                                        <a href="<?php the_permalink(); ?>" class="main-property-link">
                                            <img class="lazyload" src="<?=$thumbnail?>" data-src="<?=$image?>" srcset>
                                        </a>
                                        <div class="main-property-labels">
                                            <? if (!empty($property['label'])) { ?>
                                                <div class="main-property-labels-data"><?php echo esc_html($property['label']); ?></div>
                                            <? } ?>
                                            <? if (!empty($property['launch_type'])) { ?>
                                                <div class="main-property-labels-data"><?php echo __($property['launch_type'], 'cozy');; ?></div>
                                            <? } ?>
                                        </div>
                                        <div class="main-property-info">
                                            <div class="main-property-info-top">
                                                <div class="main-property-title"><?=get_the_title()?></div>
                                                <?php if ( isset($property['location_name']) ): ?><div class="main-property-location"><?php echo wp_kses($property['location_name'], wp_kses_allowed_html('post')); ?></div><?php endif; ?>
                                                <div class="main-property-price-block">
                                                    <?php if (!empty($property['price'])) { ?>
                                                        <div class="main-property-price"><?php echo wp_kses($property['price'], array('div' => array('class' => array()), 'span' => array('class' => array()))); ?></div>
                                                    <?php } else {?>
                                                        <div class="main-property-price"><?php echo __('On request', 'cozy') ?></div>
                                                    <?php } ?>
                                                    
                                                </div>
                                            </div>
                                            <div class="main-property-info-bottom">
                                                <div class="main-property-add-data">
                                           
                                                    <div class="main-property-add-data-item">
                                                        <?php if (!empty($property['lot_area'])) { ?>
                                                        <?=esc_html(round($property['lot_area'] * CHANGE_SYSTEM_COEFFICIENT_SQUARE, 2)) . esc_html(CHANGE_SYSTEM_SUMBOL);?>
                                                        <?php } ?>
                                                    </div>
                                                    <div class="main-property-add-data-item main-property-add-data-seporator">/</div>
                                                    <div class="main-property-add-data-item">
                                                        <?=$property['beds']?>
                                                    </div>
                                                </div>
                                               
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            <?
                            endwhile;
                        }
                    }
                    ?>
                
                </div>
            </div>
            <?php

        $result = ob_get_contents();
        ob_end_clean();
        $output .= $result;

        return $output;
    }

    add_shortcode('wt_cozy_properties_inline', 'cozy_shortcode_properties_inline');

}

replace to this slider <div class="uk-slider-container-offset" uk-slider>

    <div class="uk-position-relative uk-visible-toggle uk-light" tabindex="-1">

        <div class="uk-slider-items uk-child-width-1-2@s uk-grid">
            <div>
                <div class="uk-card uk-card-default">
                    <div class="uk-card-media-top">
                        <img src="images/photo.jpg" width="1800" height="1200" alt="">
                    </div>
                    <div class="uk-card-body">
                        <h3 class="uk-card-title">Headline</h3>
                        <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt.</p>
                    </div>
                </div>
            </div>
            <div>
                <div class="uk-card uk-card-default">
                    <div class="uk-card-media-top">
                        <img src="images/dark.jpg" width="1800" height="1200" alt="">
                    </div>
                    <div class="uk-card-body">
                        <h3 class="uk-card-title">Headline</h3>
                        <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt.</p>
                    </div>
                </div>
            </div>
            <div>
                <div class="uk-card uk-card-default">
                    <div class="uk-card-media-top">
                        <img src="images/light.jpg" width="1800" height="1200" alt="">
                    </div>
                    <div class="uk-card-body">
                        <h3 class="uk-card-title">Headline</h3>
                        <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt.</p>
                    </div>
                </div>
            </div>
            <div>
                <div class="uk-card uk-card-default">
                    <div class="uk-card-media-top">
                        <img src="images/photo2.jpg" width="1800" height="1200" alt="">
                    </div>
                    <div class="uk-card-body">
                        <h3 class="uk-card-title">Headline</h3>
                        <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt.</p>
                    </div>
                </div>
            </div>
            <div>
                <div class="uk-card uk-card-default">
                    <div class="uk-card-media-top">
                        <img src="images/photo3.jpg" width="1800" height="1200" alt="">
                    </div>
                    <div class="uk-card-body">
                        <h3 class="uk-card-title">Headline</h3>
                        <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt.</p>
                    </div>
                </div>
            </div>
        </div>

        <a class="uk-position-center-left uk-position-small uk-hidden-hover" href uk-slidenav-previous uk-slider-item="previous"></a>
        <a class="uk-position-center-right uk-position-small uk-hidden-hover" href uk-slidenav-next uk-slider-item="next"></a>

    </div>

    <ul class="uk-slider-nav uk-dotnav uk-flex-center uk-margin"></ul>

</div>
and agve me all code don't delete any code