<?php
ct_add_custom_widget(
    array(
        'name' => 'ct_pagination_single',
        'title' => esc_html__('CT Pagination Single', 'industo'),
        'icon' => 'eicon-apps',
        'categories' => array(Case_Theme_Core::CT_CATEGORY_NAME),
        'params' => array(
            'sections' => array(
                array(
                    'name' => 'section_content',
                    'label' => esc_html__('Content', 'industo'),
                    'tab' => \Elementor\Controls_Manager::TAB_CONTENT,
                    'controls' => array(
                        array(
                            'name' => 'archive_link',
                            'label' => esc_html__('Archive Link', 'industo'),
                            'type' => \Elementor\Controls_Manager::URL,
                            'label_block' => true,
                        ),
                    ),
                ),
            ),
        ),
    ),
    get_template_directory() . '/elementor/core/widgets/'
);