<?php

namespace Themes\frontend\plexify\includes\MagicEditor;
use App\Http\Traits\DzMeSettings;
use Illuminate\Http\Request;

class ElementsClass {
    use DzMeSettings;
    
    public $theme_elements;
    public $widget_elements;

    public function __construct() {
        $this->initializeSettings();
        $this->setThemeElements();
        $this->setWidgetElements();
    }

    public function __init() {
        $this->mergeThemesElements($this->theme_elements);
        $this->mergeWidgetsElements($this->widget_elements);
    }

    public function setThemeElements() {
        
        $this->theme_elements['hero_banner_1'] = array(
            'name' => 'Hero Banner 1',
            'base' => 'hero_banner_1',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/hero_banner_1.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "id"            => "text_1",
                    "type"          => "text",
                    "title"         => "Text 1",
                    "default"       => "WE",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "text_2",
                    "type"          => "text",
                    "title"         => "Text 2",
                    "default"       => "ARE A",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "text_3",
                    "type"          => "text",
                    "title"         => "Text 3",
                    "default"       => "digital",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "text_4",
                    "type"          => "text",
                    "title"         => "Text 4",
                    "default"       => "marketing",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "text_5",
                    "type"          => "text",
                    "title"         => "Text 5",
                    "default"       => "AGENCY",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "description",
                    "type"          => "text",
                    "title"         => "Description",
                    "default"       => "Boost Your Brand with Cutting-Edge Digital Marketing!",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "social_link",
                    "type"          => "switch",
                    "title"         => "Social Link",
                    'on'            => __('On') ,
                    'off'           => __('Off') ,
                    'default'       => true,
                    "class"         => "",
                    "group"         => "General"
                ),
            )
        );

        $this->theme_elements['hero_banner_2'] = array(
            'name' => 'Hero Banner 2',
            'base' => 'hero_banner_2',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/hero_banner_2.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "id"            => "title",
                    "type"          => "text",
                    "title"         => "Title",
                    "default"       => "All-in-one solution Unlimited design & development",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "description",
                    "type"          => "textarea",
                    "title"         => "description",
                    "default"       => "A web design & development studio based in Istria, Croatia",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "image",
                    "type"          => "media",
                    "title"         => "Image",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "youtube_link",
                    "type"          => "text",
                    "title"         => "Youtube Link",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "image_gallery",
                    "type"          => "gallery",
                    "title"         => "Image Gallery",
                    "class"         => "",
                    "group"         => "Gallery"
                ),
                array(
                    "id"            => "gallery_text",
                    "type"          => "text",
                    "title"         => "Text",
                    "default"       => "2.5k client in the world",
                    "class"         => "",
                    "group"         => "Gallery"
                ),
                array(
                    "type"          => "multi_select",
                    "class"         => "",
                    "title"         => "Select Services Category",
                    "id"            => "services_categories",
                    "description"   => "",
                    "options"       => $this->getCPTCategories('services'),
                    "group"         => "General",
                    "ajax_url"      => \url('/').'/admin/magic_editors/get_post_by_cpt_category',
                    "ajax_container"=> "servicesContainer",
                ),
                array(
                    'type'         =>    'text',
                    'title'        =>    'No. of Posts Per Page',
                    'id'           =>    'no_of_posts',
                    'default'      =>     $this->limit,
                    'group'        =>    'Pagination'
                ),
                array(
                    'type'          =>  'select',
                    'title'         =>  'Order By',
                    'id'            =>  'orderby',
                    'default'       =>  array(),
                    'options'       =>  $this->orderby_options,
                    'group'         =>  'Pagination'
                ),
                array(
                    'type'          =>  'select',
                    'title'         =>  'Order',
                    'id'            =>  'order',
                    'default'       =>  array(),
                    'options'       =>  $this->order_options,
                    'group'         =>  'Pagination'
                ),
            )
        );
        
        $this->theme_elements['hero_banner_3'] = array(
            'name' => 'Hero Banner 3',
            'base' => 'hero_banner_3',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/hero_banner_3.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "id"            => "title_part_1",
                    "type"          => "text",
                    "title"         => "Title Part 1",
                    "default"       => "We’re Strategic",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "title_image_dark",
                    "type"          => "media",
                    "title"         => "Title Image Dark",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "title_image_light",
                    "type"          => "media",
                    "title"         => "Title Image Light",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "title_part_2",
                    "type"          => "text",  
                    "title"         => "Title Part 2",
                    "default"       => '<span class="text-primary">Marketing</span> Agency.',
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "subtitle",
                    "type"          => "text",
                    "title"         => "Subtitle",
                    "default"       => "Optimize <span>Rank</span> and Win Online",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "description",
                    "type"          => "text",
                    "title"         => "Description",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "image",
                    "type"          => "media",
                    "title"         => "Image",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "image_2",
                    "type"          => "media",
                    "title"         => "Image 2",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "chart_image",
                    "type"          => "media",
                    "title"         => "Chart Image",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "button_text",
                    "type"          => "text",
                    "title"         => "Button Text",
                    "default"       => "Get Starts",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "button_link",
                    "type"          => "text",
                    "title"         => "Button Link",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "user_title",
                    "type"          => "text",
                    "title"         => "Title",
                    "default"       => "The Optimization Gurus",
                    "class"         => "",
                    "group"         => "Users"
                ),
                array(
                    "id"        => "user_list",
                    "type"      => "group",
                    "title"     => "Users",
                    "default"   => "",
                    "group"     => "Users",
                    "params" => array(
                        array(
                            "id"        => "image",
                            "type"      => "media",
                            "title"     => "Image",
                            "class"     => "",
                        ),
                        array(
                            "id"        => "name",
                            "type"      => "text",
                            "title"     => "Name",
                            "class"     => "",
                        ),
                    )
                ),
            )
        );

        $this->theme_elements['hero_banner_4'] = array(
            'name' => 'Hero Banner 4',
            'base' => 'hero_banner_4',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/hero_banner_4.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "id"            => "title",
                    "type"          => "text",
                    "title"         => "Title",
                    "default"       => "Empower Your Brand with Creative",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "title_tags",
                    "type"          => "textarea",
                    "title"         => "Title tags",
                    "desc"          => "Add comma (,) to separate Tags",
                    "default"       => "Innovations, Advancements",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"        => "banner_tabs",
                    "type"      => "group",
                    "title"     => "Banner Tabs",
                    "default"   => "",
                    "group"     => "Banner Tabs",
                    "params" => array(
                        array(
                            "id"        => "title",
                            "type"      => "text",
                            "title"     => "Title",
                            "class"     => "",
                        ),
                        array(
                            "id"        => "description",
                            "type"      => "textarea",
                            "title"     => "Description",
                            "class"     => "",
                        ),
                        array(
                            "id"        => "image",
                            "type"      => "media",
                            "title"     => "Image",
                            "class"     => "",
                        ),
                        array(
                            "id"        => "client_gallery",
                            "type"      => "gallery",
                            "title"     => "Client Gallery",
                            "class"     => "",
                        ),
                        array(
                            "id"        => "client_gallery_text",
                            "type"      => "text",
                            "title"     => "Client Gallery Text",
                            "class"     => "",
                        ),
                        array(
                            "id"        => "button_text",
                            "type"      => "text",
                            "title"     => "Button Text",
                            "class"     => "",
                        ),
                        array(
                            "id"        => "button_link",
                            "type"      => "text",
                            "title"     => "Button Link",
                            "class"     => "",
                        ),
                    )
                ),
            )
        );

        $this->theme_elements['hero_banner_5'] = array(
            'name' => 'Hero Banner 5',
            'base' => 'hero_banner_5',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/hero_banner_5.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "id"            => "title",
                    "type"          => "text",
                    "title"         => "Title",
                    "default"       => "Proven consulting for modern global enterprises.",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "subtitle",
                    "type"          => "text",
                    "title"         => "Subtitle",
                    "default"       => "Take Charge of Your Finances",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "description",
                    "type"          => "text",
                    "title"         => "Description",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "image",
                    "type"          => "media",
                    "title"         => "Image",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "button_text",
                    "type"          => "text",
                    "title"         => "Button Text",
                    "default"       => "Free Consultation",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "button_link",
                    "type"          => "text",
                    "title"         => "Button Link",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "background_image",
                    "type"          => "media",
                    "title"         => "Background Image",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "youtube_link",
                    "type"          => "text",
                    "title"         => "Youtube Link",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "social_link",
                    "type"          => "switch",
                    "title"         => "Social Link",
                    'on'            => __('On') ,
                    'off'           => __('Off') ,
                    'default'       => true,
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "counter_1_number",
                    "type"          => "text",
                    "title"         => "Counter 1 Number",
                    "default"       => "1",
                    "class"         => "",
                    "group"         => "Counter"
                ),
                array(
                    "id"            => "counter_1_symbol",
                    "type"          => "text",
                    "title"         => "Counter 1 Symbol",
                    "default"       => "M",
                    "class"         => "",
                    "group"         => "Counter"
                ),
                array(
                    "id"            => "counter_1_text",
                    "type"          => "text",
                    "title"         => "Counter 1 Text",
                    "default"       => "Overall Positive Customer Feedback",
                    "class"         => "",
                    "group"         => "Counter"
                ),
                array(
                    "id"            => "counter_2_number",
                    "type"          => "text",
                    "title"         => "Counter 2 Number",
                    "default"       => "18",
                    "class"         => "",
                    "group"         => "Counter"
                ),
                array(
                    "id"            => "counter_2_symbol",
                    "type"          => "text",
                    "title"         => "Counter 2 Symbol",
                    "default"       => "+",
                    "class"         => "",
                    "group"         => "Counter"
                ),
                array(
                    "id"            => "counter_2_text",
                    "type"          => "text",
                    "title"         => "Counter 2 Text",
                    "default"       => "Industrial Years of Experiences",
                    "class"         => "",
                    "group"         => "Counter"
                ),
            )
        );

        $this->theme_elements['hero_banner_6'] = array(
            'name' => 'Hero Banner 6',
            'base' => 'hero_banner_6',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/hero_banner_6.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "id"            => "title",
                    "type"          => "text",
                    "title"         => "Title",
                    "default"       => "Nathaniel James",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "description",
                    "type"          => "text",
                    "title"         => "Description",
                    "default"       => "Hi, I’m Emmanuel Jason — a professional photographer with 5+ Years of capturing the world’s beauty, one unforgettable moment at a time",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "image",
                    "type"          => "media",
                    "title"         => "Image",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "small_image",
                    "type"          => "media",
                    "title"         => "Small Image",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "image_text",
                    "type"          => "text",
                    "title"         => "Image Text",
                    "default"       => 'Photo <br> Grapher',
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "social_link",
                    "type"          => "switch",
                    "title"         => "Social Link",
                    'on'            => __('On') ,
                    'off'           => __('Off') ,
                    'default'       => true,
                    "class"         => "",
                    "group"         => "General"
                ),
            )
        );

        $this->theme_elements['about_us_1'] = array(
            'name' => 'About Us 1',
            'base' => 'about_us_1',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/about_us_1.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "id"            => "title",
                    "type"          => "text",
                    "title"         => "Title",
                    "default"       => "Lets build with Plexify",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "subtitle",
                    "type"          => "text",
                    "title"         => "Subtitle",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "description",
                    "type"          => "textarea",
                    "title"         => "Description",
                    "default"       => "Empower your brand with cutting-edge digital solutions, drive engagement, and accelerate growth with our innovative marketing strategies.",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "image",
                    "type"          => "media",
                    "title"         => "Image",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "circle_btn_title",
                    "type"          => "text",
                    "title"         => "Circle Button Title",
                    "default"       => "lets work together",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "circle_btn_url",
                    "type"          => "text",
                    "title"         => "Circle Button Url",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "counter_1_digit",
                    "type"          => "text",
                    "title"         => "Counter 1 Digit",
                    "default"       => "120",
                    "class"         => "",
                    "group"         => "Counter"
                ),
                array(
                    "id"            => "counter_1_symbol",
                    "type"          => "text",
                    "title"         => "Counter 1 Symbol",
                    "default"       => "K",
                    "class"         => "",
                    "group"         => "Counter"
                ),
                array(
                    "id"            => "counter_1_text",
                    "type"          => "text",
                    "title"         => "Counter 1 Text",
                    "default"       => "Active members inside the program",
                    "class"         => "",
                    "group"         => "Counter"
                ),
                array(
                    "id"            => "counter_2_digit",
                    "type"          => "text",
                    "title"         => "Counter 2 Digit",
                    "default"       => "72",
                    "class"         => "",
                    "group"         => "Counter"
                ),
                array(
                    "id"            => "counter_2_symbol",
                    "type"          => "text",
                    "title"         => "Counter 2 Symbol",
                    "default"       => "+",
                    "class"         => "",
                    "group"         => "Counter"
                ),
                array(
                    "id"            => "counter_2_text",
                    "type"          => "text",
                    "title"         => "Counter 2 Text",
                    "default"       => "of customers are repeat customers",
                    "class"         => "",
                    "group"         => "Counter"
                ),
                array(
                    'type'      => 'group',
                    "title"     => 'Icon Box',
                    'id'        => 'icon_box',
                    'group'     => 'Icon Box',
                    'params' => array(
                        array(
                            "id"        => "icon",
                            "type"      => "media",
                            "title"     => 'Icon',
                            "class"     => "",
                        ),
                        array(
                            "id"        => "title",
                            "type"      => "text",
                            "title"     => 'Title',
                            "class"     => "",
                        ),
                        array(
                            "id"        => "redirect_button_text",
                            "type"      => "text",
                            "title"     => 'Redirect Button Text',
                            "class"     => "",
                        ),
                        array(
                            "id"        => "redirect_button_url",
                            "type"      => "text",
                            "title"     => 'Redirect Button Url',
                            "class"     => "",
                        ),
                    )
                ),
            )
        );

        $this->theme_elements['about_us_2'] = array(
            'name' => 'About Us 2',
            'base' => 'about_us_2',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/about_us_2.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "id"            => "title",
                    "type"          => "text",
                    "title"         => "Title",
                    "default"       => "Where Imagination Meets Strategy",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "subtitle",
                    "type"          => "text",
                    "title"         => "Subtitle",
                    "default"       => "About Us",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "description",
                    "type"          => "textarea",
                    "title"         => "Description",
                    "default"       => "Welcome to the space where creativity knows no bounds. Our agency is a hub of innovation, collaboration, and artistry, dedicated to crafting unforgettable campaigns that resonate and inspire.",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "image",
                    "type"          => "media",
                    "title"         => "Image",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "youtube_link",
                    "type"          => "text",
                    "title"         => "Youtube Link",
                    "class"         => "",
                    "group"         => "Youtube Video"
                ),
                array(
                    "id"            => "youtube_text",
                    "type"          => "text",
                    "title"         => "Youtube Text",
                    "default"       => "Watch Now",
                    "class"         => "",
                    "group"         => "Youtube Video"
                ),
                array(
                    "id"            => "youtube_text_2",
                    "type"          => "text",
                    "title"         => "Youtube Text 2",
                    "default"       => "The Visionaries Behind the Brands",
                    "class"         => "",
                    "group"         => "Youtube Video"
                ),
                array(
                    "id"            => "youtube_image",
                    "type"          => "media",
                    "title"         => "Youtube Image",
                    "class"         => "",
                    "group"         => "Youtube Video"
                ),
            )
        );

        $this->theme_elements['about_us_3'] = array(
            'name' => 'About Us 3',
            'base' => 'about_us_3',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/about_us_3.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "id"            => "title",
                    "type"          => "text",
                    "title"         => "Title",
                    "default"       => "Teamwork Unlocks Boundless Potential",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "subtitle",
                    "type"          => "text",
                    "title"         => "Subtitle",
                    "default"       => "Team",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "description",
                    "type"          => "textarea",
                    "title"         => "Description",
                    "default"       => "Welcome to the space where creativity knows no bounds. Our agency is a hub of innovation, collaboration, and artistry, dedicated to crafting unforgettable campaigns that resonate and inspire.",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "image",
                    "type"          => "media",
                    "title"         => "Image",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "image_gallery",
                    "type"          => "gallery",
                    "title"         => "Image Gallery",
                    "class"         => "",
                    "group"         => "Gallery"
                ),
            )
        );
        
        $this->theme_elements['about_us_4'] = array(
            'name' => 'About Us 4',
            'base' => 'about_us_4',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/about_us_4.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "id"            => "title",
                    "type"          => "text",
                    "title"         => "Title",
                    "default"       => "Meet Your Financial Partner in Growth",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "subtitle",
                    "type"          => "text",
                    "title"         => "Subtitle",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "description",
                    "type"          => "textarea",
                    "title"         => "Description",
                    "default"       => "With over 18 years of experience helping businesses unlock financial clarity and growth, I bring personalized strategy, practical insights, and ongoing support. Whether you’re just starting out or scaling fast, I’m here to guide every step.",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "image",
                    "type"          => "media",
                    "title"         => "Image",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "exprience_year",
                    "type"          => "text",
                    "title"         => "Exprience Year",
                    "default"       => "18",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "exprience_text",
                    "type"          => "text",
                    "title"         => "Exprience Text",
                    "default"       => "Years of Experiences",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "button_text",
                    "type"          => "text",
                    "title"         => "Button Text",
                    "default"       => "More About",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "button_link",
                    "type"          => "text",
                    "title"         => "Button Link",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "chart",
                    "type"          => "switch",
                    "title"         => "Chart",
                    'on'            => __('On') ,
                    'off'           => __('Off') ,
                    'default'       => true,
                    "class"         => "",
                    "group"         => "Chart"
                ),
                array(
                    "id"            => "chart_image",
                    "type"          => "media",
                    "title"         => "Chart Image",
                    "class"         => "",
                    "group"         => "Chart"
                ),
                array(
                    "id"            => "gallery_title",
                    "type"          => "text",
                    "title"         => "Gallery Title",
                    "default"       => "Introducing Our Financial Advisory Experts",
                    "class"         => "",
                    "group"         => "Gallery"
                ),
                array(
                    "id"            => "client_images",
                    "type"          => "gallery",
                    "title"         => "Client Gallery",
                    "class"         => "",
                    "group"         => "Gallery"
                ),
                array(
                    "id"            => "client_text",
                    "type"          => "text",
                    "title"         => "Client Text",
                    "default"       => "25 + Members",
                    "class"         => "",
                    "group"         => "Gallery"
                ),
                array(
                    "id"        => "features",
                    "type"      => "group",
                    "title"     => "Features",
                    "default"   => "",
                    "group"     => "Features",
                    "params" => array(
                        array(
                            "id"        => "title",
                            "type"      => "text",
                            "title"     => "Title",
                            "class"     => "",
                        ),
                    )
                )
            )
        );

        $this->theme_elements['about_us_5'] = array(
            'name' => 'About Us 5',
            'base' => 'about_us_5',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/about_us_5.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "id"            => "title",
                    "type"          => "text",
                    "title"         => "Title",
                    "default"       => "About Me",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "subtitle",
                    "type"          => "text",
                    "title"         => "Subtitle",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "description",
                    "type"          => "textarea",
                    "title"         => "Description",
                    "default"       => "Hi, I’m Nathaniel James — a professional Photographer and visual storyteller with over 5+ Years of experience capturing cultures, hidden gems, and breathtaking destinations. My lens has shared moments with a community of 5,000+ photography lovers and travel enthusiasts.",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "image_1",
                    "type"          => "media",
                    "title"         => "Image 1",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "image_2",
                    "type"          => "media",
                    "title"         => "Image 2",
                    "class"         => "",
                    "group"         => "General"
                ),
            )
        );

        $this->theme_elements['contact_form_1'] = array(
            'name' => 'Contact Form 1',
            'base' => 'contact_form_1',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/contact_form_1.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "id"            => "title",
                    "type"          => "text",
                    "title"         => "Title",
                    "default"       => "Get In Touch & Fill Up The Form",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "subtitle",
                    "type"          => "text",
                    "title"         => "Subtitle",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "description",
                    "type"          => "textarea",
                    "title"         => "Description",
                    "default"       => "Share your vision with us.",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "image",
                    "type"          => "media",
                    "title"         => "Image",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "contact_info",
                    "type"          => "switch",
                    "title"         => "Contact Info",
                    'on'            => __('On') ,
                    'off'           => __('Off') ,
                    'default'       => true,
                    "class"         => "",
                    "group"         => "General"
                ),
            )
        );
        
        $this->theme_elements['contact_form_2'] = array(
            'name' => 'Contact Form 2',
            'base' => 'contact_form_2',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/contact_form_2.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "id"            => "title",
                    "type"          => "text",
                    "title"         => "Title",
                    "default"       => "Schedule Your Consultation Today Grow Faster",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "form_title",
                    "type"          => "text",
                    "title"         => "Form Title",
                    "default"       => "Let’s connect \nand Collaborate",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "subtitle",
                    "type"          => "text",
                    "title"         => "Subtitle",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "description",
                    "type"          => "textarea",
                    "title"         => "Description",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "chart_image",
                    "type"          => "media",
                    "title"         => "Chart Image",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "background_image",
                    "type"          => "media",
                    "title"         => "Background Image",
                    "class"         => "",
                    "group"         => "General"
                ),
            )
        );

        $this->theme_elements['content_box_1'] = array(
            'name' => 'Content Box 1',
            'base' => 'content_box_1',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/content_box_1.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "id"            => "title",
                    "type"          => "text",
                    "title"         => "Title",
                    "default"       => "Our Journey Through Time",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "subtitle",
                    "type"          => "text",
                    "title"         => "Subtitle",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "description",
                    "type"          => "textarea",
                    "title"         => "Description",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"        => "item",
                    "type"      => "group",
                    "title"     => "Item",
                    "default"   => "",
                    "group"     => "Item",
                    "params" => array(
                        array(
                            "id"        => "title",
                            "type"      => "text",
                            "title"     => "Title",
                            "class"     => "",
                        ),
                        array(
                            "id"        => "description",
                            "type"      => "textarea",
                            "title"     => "Description",
                            "class"     => "",
                        ),
                        array(
                            "id"        => "image",
                            "type"      => "media",
                            "title"     => "Image",
                            "class"     => "",
                        ),
                        array(
                            "id"        => "button_text",
                            "type"      => "text",
                            "title"     => "Button Text",
                            "class"     => "",
                        ),
                        array(
                            "id"        => "button_link",
                            "type"      => "text",
                            "title"     => "Button Link",
                            "class"     => "",
                        ),
                        array(
                            "id"        => "year",
                            "type"      => "text",
                            "title"     => "Year",
                            "class"     => "",
                        ),
                    )
                ),
            )
        );
        
        $this->theme_elements['content_box_2'] = array(
            'name' => 'Content Box 2',
            'base' => 'content_box_2',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/content_box_2.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "id"        => "item",
                    "type"      => "group",
                    "title"     => "Item",
                    "default"   => "",
                    "group"     => "Item",
                    "params" => array(
                        array(
                            "id"        => "title",
                            "type"      => "text",
                            "title"     => "Title",
                            "class"     => "",
                        ),
                        array(
                            "id"        => "subtitle",
                            "type"      => "text",
                            "title"     => "Subtitle",
                            "class"     => "",
                        ),
                        array(
                            "id"        => "description",
                            "type"      => "textarea",
                            "title"     => "Description",
                            "class"     => "",
                        ),
                        array(
                            "id"        => "image",
                            "type"      => "media",
                            "title"     => "Image",
                            "class"     => "",
                        ),
                        array(
                            "id"        => "button_text",
                            "type"      => "text",
                            "title"     => "Button Text",
                            "class"     => "",
                        ),
                        array(
                            "id"        => "button_link",
                            "type"      => "text",
                            "title"     => "Button Link",
                            "class"     => "",
                        ),
                        array(
                            "id"        => "image_gallery",
                            "type"      => "gallery",
                            "title"     => "Image Gallery",
                            "class"     => "",
                        ),
                        array(
                            "id"        => "image_gallery_text",
                            "type"      => "text",
                            "title"     => "Image Gallery Text",
                            "class"     => "",
                        ),
                    )
                ),
            )
        );
        
        $this->theme_elements['content_box_3'] = array(
            'name' => 'Content Box 3',
            'base' => 'content_box_3',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/content_box_3.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "id"            => "left_title",
                    "type"          => "text",
                    "title"         => "Title",
                    "default"       => "Mission",
                    "class"         => "",
                    "group"         => "Left Content"
                ),
                array(
                    "id"            => "left_description",
                    "type"          => "textarea",
                    "title"         => "Description",
                    "default"       => "At Web design agency, our mission is simple: to turn your ideas into impactful realities. We are dedicated to providing innovative, creative solutions that drive growth, elevate brands, and make a lasting impact.",
                    "class"         => "",
                    "group"         => "Left Content"
                ),
                array(
                    "id"            => "left_image",
                    "type"          => "media",
                    "title"         => "Image",
                    "class"         => "",
                    "group"         => "Left Content"
                ),
                array(
                    "id"            => "right_title",
                    "type"          => "text",
                    "title"         => "Title",
                    "default"       => "Vision",
                    "class"         => "",
                    "group"         => "Right Content"
                ),
                array(
                    "id"            => "right_description",
                    "type"          => "textarea",
                    "title"         => "Description",
                    "default"       => "At Web design agency, our mission is simple: to turn your ideas into impactful realities. We are dedicated to providing innovative, creative solutions that drive growth, elevate brands, and make a lasting impact.",
                    "class"         => "",
                    "group"         => "Right Content"
                ),
                array(
                    "id"            => "right_image",
                    "type"          => "media",
                    "title"         => "Image",
                    "class"         => "",
                    "group"         => "Right Content"
                ),
            )
        );
        
        $this->theme_elements['content_box_4'] = array(
            'name' => 'Content Box 4',
            'base' => 'content_box_4',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/content_box_4.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "id"            => "title",
                    "type"          => "text",
                    "title"         => "Title",
                    "default"       => "Comprehensive Digital Marketing Services for Your Brand",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "subtitle",
                    "type"          => "text",
                    "title"         => "Subtitle",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "description",
                    "type"          => "textarea",
                    "title"         => "Description",
                    "default"       => "In today’s fast-paced digital world, having a strong online presence is no longer optional—it’s essential. Whether you’re a small business looking to grow or an established company aiming to scale, our digital marketing services are tailored to meet your unique needs.",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "image",
                    "type"          => "media",
                    "title"         => "Image",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "content_list",
                    "type"          => "textarea",
                    "title"         => "Content List",
                    "default"       => "",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "type"          => "button_set",
                    "class"         => "",
                    "title"         => 'Image Position',
                    "id"            => "image_position",
                    'options' => array(
                        'left'   => 'Left', 
                        'right'  => 'Right'
                    ), 
                    "default"       => 'left',
                    "group"         => 'General'
                ),
            )
        );
        
        $this->theme_elements['content_box_5'] = array(
            'name' => 'Content Box 5',
            'base' => 'content_box_5',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/content_box_5.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "id"            => "title",
                    "type"          => "text",
                    "title"         => "Title",
                    "default"       => "Service we offer is  specifically designed to meet your needs.",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "subtitle",
                    "type"          => "text",
                    "title"         => "Subtitle",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "description",
                    "type"          => "textarea",
                    "title"         => "Description",
                    "default"       => "With Benefits from web design agecny, Earn rewards & Score discounts on purchases* Foryourself and your customers.",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "image_gallery",
                    "type"          => "gallery",
                    "title"         => "Image Gallery",
                    "class"         => "",
                    "group"         => "Gallery"
                ),
                array(
                    "id"            => "gallery_text",
                    "type"          => "text",
                    "title"         => "Text",
                    "default"       => "2.5k client in the world",
                    "class"         => "",
                    "group"         => "Gallery"
                ),
            )
        ); 
        
        $this->theme_elements['content_box_6'] = array(
            'name' => 'Content Box 6',
            'base' => 'content_box_6',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/content_box_6.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "id"        => "item",
                    "type"      => "group",
                    "title"     => "Item",
                    "default"   => "",
                    "group"     => "Item",
                    "params" => array(
                        array(
                            "id"        => "title",
                            "type"      => "text",
                            "title"     => "Title",
                            "class"     => "",
                        ),
                        array(
                            "id"        => "description",
                            "type"      => "textarea",
                            "title"     => "Description",
                            "class"     => "",
                        ),
                        array(
                            "id"        => "button_text",
                            "type"      => "text",
                            "title"     => "Button Text",
                            "class"     => "",
                        ),
                        array(
                            "id"        => "button_link",
                            "type"      => "text",
                            "title"     => "Button Link",
                            "class"     => "",
                        ),
                    )
                ),
            )
        );

        $this->theme_elements['content_box_7'] = array(
            'name' => 'Content Box 7',
            'base' => 'content_box_7',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/content_box_7.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "id"            => "title",
                    "type"          => "text",
                    "title"         => "Title",
                    "default"       => "Our Solutions for Effective SEO Projects",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "subtitle",
                    "type"          => "text",
                    "title"         => "Subtitle",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "description",
                    "type"          => "textarea",
                    "title"         => "Description",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "image",
                    "type"          => "media",
                    "title"         => "Image",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "tags",
                    "type"          => "textarea",
                    "title"         => "Tags",
                    "default"       => "",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"        => "counter",
                    "type"      => "group",
                    "title"     => "Counter",
                    "default"   => "",
                    "group"     => "Counter",
                    "params" => array(
                        array(
                            "id"        => "counter_number",
                            "type"      => "text",
                            "title"     => "Counter Number",
                            "class"     => "",
                        ),
                        array(
                            "id"        => "symbol",
                            "type"      => "text",
                            "title"     => "Symbol",
                            "class"     => "",
                        ),
                        array(
                            "id"        => "text",
                            "type"      => "text",
                            "title"     => "Text",
                            "class"     => "",
                        ),
                    )
                ),
            )
        );
        
        $this->theme_elements['counter_box_1'] = array(
            'name' => 'Counter Box 1',
            'base' => 'counter_box_1',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/counter_box_1.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "id"        => "item",
                    "type"      => "group",
                    "title"     => "Item",
                    "default"   => "",
                    "group"     => "Item",
                    "params" => array(
                        array(
                            "id"        => "counter_number",
                            "type"      => "text",
                            "title"     => "Counter Number",
                            "class"     => "",
                        ),
                        array(
                            "id"        => "symbol",
                            "type"      => "text",
                            "title"     => "Symbol",
                            "class"     => "",
                        ),
                        array(
                            "id"        => "text",
                            "type"      => "text",
                            "title"     => "Text",
                            "class"     => "",
                        ),
                    )
                ),
            )
        );

        $this->theme_elements['counter_box_2'] = array(
            'name' => 'Counter Box 2',
            'base' => 'counter_box_2',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/counter_box_2.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "id"            => "title",
                    "type"          => "text",
                    "title"         => "Title",
                    "default"       => "Welcome to the space where creativity knows no bounds. Our agency is a hub of innovation, collaboration, and artistry, dedicated to crafting unforgettable campaigns that resonate and inspire.",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "button_text",
                    "type"          => "text",
                    "title"         => "Button Text",
                    "default"       => "Read More",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "button_link",
                    "type"          => "text",
                    "title"         => "Button Link",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"        => "item",
                    "type"      => "group",
                    "title"     => "Item",
                    "default"   => "",
                    "group"     => "Item",
                    "params" => array(
                        array(
                            "id"        => "counter_number",
                            "type"      => "text",
                            "title"     => "Counter Number",
                            "class"     => "",
                        ),
                        array(
                            "id"        => "symbol",
                            "type"      => "text",
                            "title"     => "Symbol",
                            "class"     => "",
                        ),
                        array(
                            "id"        => "text",
                            "type"      => "text",
                            "title"     => "Text",
                            "class"     => "",
                        ),
                    )
                ),
            )
        );
        
        $this->theme_elements['faq_listing_1'] = array(
            'name' => 'Faq Listing 1',
            'base' => 'faq_listing_1',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/faq_listing_1.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "type"      =>  "select",
                    "title"     =>  "Element Style",
                    "id"        =>  "element_style",
                    "options"   =>  array(
                                "1"   => "Style 1",
                                "2"   => "Style 2"
                            ),
                    "default"   =>  '1',
                    "group"     =>  "General"
                ),
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'Title',
                    "id"            => "title",
                    "default"       => "Frequently Asked Questions",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'SubTitle',
                    "id"            => "subtitle",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "textarea",
                    "class"         => "",
                    "title"         => 'Description',
                    "id"            => "description",
                    "default"       => "We have professional experts around world.",
                    "group"         => 'General'
                ),
                array(
                    "id"            => "image",
                    "type"          => "media",
                    "title"         => "Image",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "type"          => "multi_select",
                    "class"         => "",
                    "title"         => "Select Faq Category",
                    "id"            => "faqs_categories",
                    "description"   => "",
                    "options"       => $this->getCPTCategories('faqs'),
                    "group"         => "General",
                    "ajax_url"      => \url('/').'/admin/magic_editors/get_post_by_cpt_category',
                    "ajax_container"=> "faqsContainer",
                ),
                array(
                    'type'         =>    'text',
                    'title'        =>    'No. of Posts Per Page',
                    'id'           =>    'no_of_posts',
                    'default'      =>     $this->limit,
                    'group'        =>    'Pagination'
                ),
                array(
                    'type'          =>  'select',
                    'title'         =>  'Order By',
                    'id'            =>  'orderby',
                    'default'       =>  array(),
                    'options'       =>  $this->orderby_options,
                    'group'         =>  'Pagination'
                ),
                array(
                    'type'          =>  'select',
                    'title'         =>  'Order',
                    'id'            =>  'order',
                    'default'       =>  array(),
                    'options'       =>  $this->order_options,
                    'group'         =>  'Pagination'
                ),
            )
        );
        
        $this->theme_elements['faq_listing_2'] = array(
            'name' => 'Faq Listing 2',
            'base' => 'faq_listing_2',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/faq_listing_2.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "type"      =>  "select",
                    "title"     =>  "Element Style",
                    "id"        =>  "element_style",
                    "options"   =>  array(
                                "1"   => "Style 1",
                                "2"   => "Style 2"
                            ),
                    "default"   =>  '1',
                    "group"     =>  "General"
                ),
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'Title',
                    "id"            => "title",
                    "default"       => "Frequently Asked Questions",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'SubTitle',
                    "id"            => "subtitle",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "textarea",
                    "class"         => "",
                    "title"         => 'Description',
                    "id"            => "description",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "multi_select",
                    "class"         => "",
                    "title"         => "Select Faq Category",
                    "id"            => "faqs_categories",
                    "description"   => "",
                    "options"       => $this->getCPTCategories('faqs'),
                    "group"         => "General",
                    "ajax_url"      => \url('/').'/admin/magic_editors/get_post_by_cpt_category',
                    "ajax_container"=> "faqsContainer",
                ),
                array(
                    'type'         =>    'text',
                    'title'        =>    'No. of Posts Per Page',
                    'id'           =>    'no_of_posts',
                    'default'      =>     $this->limit,
                    'group'        =>    'Pagination'
                ),
                array(
                    'type'          =>  'select',
                    'title'         =>  'Order By',
                    'id'            =>  'orderby',
                    'default'       =>  array(),
                    'options'       =>  $this->orderby_options,
                    'group'         =>  'Pagination'
                ),
                array(
                    'type'          =>  'select',
                    'title'         =>  'Order',
                    'id'            =>  'order',
                    'default'       =>  array(),
                    'options'       =>  $this->order_options,
                    'group'         =>  'Pagination'
                ),
            )
        );

        $this->theme_elements['faq_listing_3'] = array(
            'name' => 'Faq Listing 3',
            'base' => 'faq_listing_3',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/faq_listing_3.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'Title',
                    "id"            => "title",
                    "default"       => "Frequently Asked Questions",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'SubTitle',
                    "id"            => "subtitle",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "textarea",
                    "class"         => "",
                    "title"         => 'Description',
                    "id"            => "description",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "multi_select",
                    "class"         => "",
                    "title"         => "Select Faq Category",
                    "id"            => "faqs_categories",
                    "description"   => "",
                    "options"       => $this->getCPTCategories('faqs'),
                    "group"         => "General",
                    "ajax_url"      => \url('/').'/admin/magic_editors/get_post_by_cpt_category',
                    "ajax_container"=> "faqsContainer",
                ),
                array(
                    'type'         =>    'text',
                    'title'        =>    'No. of Posts Per Page',
                    'id'           =>    'no_of_posts',
                    'default'      =>     $this->limit,
                    'group'        =>    'Pagination'
                ),
                array(
                    'type'          =>  'select',
                    'title'         =>  'Order By',
                    'id'            =>  'orderby',
                    'default'       =>  array(),
                    'options'       =>  $this->orderby_options,
                    'group'         =>  'Pagination'
                ),
                array(
                    'type'          =>  'select',
                    'title'         =>  'Order',
                    'id'            =>  'order',
                    'default'       =>  array(),
                    'options'       =>  $this->order_options,
                    'group'         =>  'Pagination'
                ),
            )
        );

        $this->theme_elements['marquee_slider_1'] = array(
            'name' => 'Marquee Slider 1',
            'base' => 'marquee_slider_1',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/marquee_slider_1.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "id"            => "image_gallery_light",
                    "type"          => "gallery",
                    "title"         => "Image Gallery Light",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "image_gallery_dark",
                    "type"          => "gallery",
                    "title"         => "Image Gallery Dark",
                    "class"         => "",
                    "group"         => "General"
                ),
            )
        );

        $this->theme_elements['marquee_slider_2'] = array(
            'name' => 'Marquee Slider 2',
            'base' => 'marquee_slider_2',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/marquee_slider_2.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "id"            => "marquee_tags",
                    "type"          => "textarea",
                    "title"         => "Marquee Tags",
                    "desc"          => "Add comma (,) to separate Tags",
                    "default"       => "Photography,Underwater,Birthday,Wildlife,Event",
                    "class"         => "",
                    "group"         => "General"
                ),
            )
        );
        
        $this->theme_elements['partner_slider_1'] = array(
            'name' => 'Partner Slider 1',
            'base' => 'partner_slider_1',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/partner_slider_1.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "type"      =>  "select",
                    "title"     =>  "Element Style",
                    "id"        =>  "element_style",
                    "options"   =>  array(
                                "1"   => "Style 1",
                                "2"   => "Style 2",
                                "3"   => "Style 3"
                            ),
                    "default"   =>  '1',
                    "group"     =>  "General"
                ),
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'Title',
                    "id"            => "title",
                    "default"       => "Trusted and top rated tech team",
                    "group"         => 'General'
                ),
                array(
                    "id"            => "image_gallery_light",
                    "type"          => "gallery",
                    "title"         => "Image Gallery Light",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "image_gallery_dark",
                    "type"          => "gallery",
                    "title"         => "Image Gallery Dark",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "show_rating",
                    "type"          => "switch",
                    "title"         => "Show Rating",
                    'on'            => __('On') ,
                    'off'           => __('Off') ,
                    'default'       => true,
                    "class"         => "",
                    "group"         => "Rating"
                ),
                array(
                    'id'       => 'rating',
                    'type'     => 'select',
                    'title'    => __('Rating'), 
                    'desc'     => __('Select Rating.'),
                    'options'  => array(
                        '1' => '1 Star',
                        '2' => '2 Star',
                        '3' => '3 Star',
                        '4' => '4 Star',
                        '5' => '5 Star'
                    ),
                    'default'  => '5',
                    "group"         => "Rating"
                ),
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'Rating Number',
                    "id"            => "rating_number",
                    "default"       => "4.9",
                    "group"         => "Rating"
                ), 
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'Rating Text',
                    "id"            => "rating_text",
                    "default"       => "12k+ ratings on google",
                    "group"         => "Rating"
                ), 
            )
        );
        
        $this->theme_elements['portfolio_listing_1'] = array(
            'name' => 'Portfolio Listing 1',
            'base' => 'portfolio_listing_1',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/portfolio_listing_1.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'Title',
                    "id"            => "title",
                    "default"       => "Award Winning Projects",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "multi_select",
                    "class"         => "",
                    "title"         => "Select Portfolio Category",
                    "id"            => "portfolio_categories",
                    "description"   => "",
                    "options"       => $this->getCPTCategories('portfolio'),
                    "group"         => "General",
                    "ajax_url"      => \url('/').'/admin/magic_editors/get_post_by_cpt_category',
                    "ajax_container"=> "portfolioContainer",
                ),
                array(
                    'type'         =>    'text',
                    'title'        =>    'No. of Posts Per Page',
                    'id'           =>    'no_of_posts',
                    'default'      =>     $this->limit,
                    'group'        =>    'Pagination'
                ),
                array(
                    'type'          =>  'select',
                    'title'         =>  'Order By',
                    'id'            =>  'orderby',
                    'default'       =>  array(),
                    'options'       =>  $this->orderby_options,
                    'group'         =>  'Pagination'
                ),
                array(
                    'type'          =>  'select',
                    'title'         =>  'Order',
                    'id'            =>  'order',
                    'default'       =>  array(),
                    'options'       =>  $this->order_options,
                    'group'         =>  'Pagination'
                ),
                array(
                    'type'          =>  'checkbox',
                    'title'         =>  'View All Link',
                    'id'            =>  'view_all',
                    'default'       =>  'true',
                    'group'         =>  'Pagination'
                ),
                array(
                    'type'          =>  'select',
                    'title'         =>  'Select Page',
                    'id'            =>  'page_id',
                    'default'       =>  array(),
                    'options'       =>  $this->pages,
                    'group'         =>  'Pagination',
                    'depend_on'     =>  'view_all'
                ),
            )
        );

        $this->theme_elements['portfolio_listing_2'] = array(
            'name' => 'Portfolio Listing 2',
            'base' => 'portfolio_listing_2',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/portfolio_listing_2.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "type"      =>  "select",
                    "title"     =>  "Element Style",
                    "id"        =>  "element_style",
                    "options"   =>  array(
                                "1"   => "Style 1",
                                "2"   => "Style 2"
                            ),
                    "default"   =>  '1',
                    "group"     =>  "General"
                ),
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'Title',
                    "id"            => "title",
                    "default"       => "Creative Portfolio Website",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'Subtitle',
                    "id"            => "subtitle",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "textarea",
                    "class"         => "",
                    "title"         => 'Description',
                    "id"            => "description",
                    "default"       => "A stunning and minimalist portfolio layout to highlight projects, case studies, and personal brand identity.",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "multi_select",
                    "class"         => "",
                    "title"         => "Select Portfolio Category",
                    "id"            => "portfolio_categories",
                    "description"   => "",
                    "options"       => $this->getCPTCategories('portfolio'),
                    "group"         => "General",
                    "ajax_url"      => \url('/').'/admin/magic_editors/get_post_by_cpt_category',
                    "ajax_container"=> "portfolioContainer",
                ),
                array(
                    'id'            =>  'pagination',
                    'type'          =>  'checkbox',
                    'title'         =>  'Pagination',
                    'default'       =>  'true',
                    'group'         =>  'Pagination'
                ),
                array(
                    'id'            =>  'pagination_type',
                    'type'          =>  'radio',
                    'title'         =>  'Pagination Type',
                    'options'       =>  [
                        'default'   =>   'Default',
                        'load_more' =>   'Load More'
                    ],
                    'default'       =>  'load_more',
                    'group'         =>  'Pagination'
                ),
                array(
                    'type'         =>    'text',
                    'title'        =>    'No. of Posts Per Page',
                    'id'           =>    'no_of_posts',
                    'default'      =>     $this->limit,
                    'group'        =>    'Pagination'
                ),
                array(
                    'type'          =>  'select',
                    'title'         =>  'Order By',
                    'id'            =>  'orderby',
                    'default'       =>  array(),
                    'options'       =>  $this->orderby_options,
                    'group'         =>  'Pagination'
                ),
                array(
                    'type'          =>  'select',
                    'title'         =>  'Order',
                    'id'            =>  'order',
                    'default'       =>  array(),
                    'options'       =>  $this->order_options,
                    'group'         =>  'Pagination'
                ),
                array(
                    'id'            =>  'view_all',
                    'type'          =>  'checkbox',
                    'title'         =>  'View All Link',
                    'default'       =>  'true',
                    'group'         =>  'Pagination'
                ),
                array(
                    'id'            =>  'page_id',
                    'type'          =>  'select',
                    'title'         =>  'Select Page',
                    'default'       =>  array(),
                    'options'       =>  $this->pages,
                    'group'         =>  'Pagination',
                    'depend_on'     =>  'view_all'
                ),
            )
        );

        $this->theme_elements['portfolio_listing_3'] = array(
            'name' => 'Portfolio Listing 3',
            'base' => 'portfolio_listing_3',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/portfolio_listing_3.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'Title',
                    "id"            => "title",
                    "default"       => "Award winning creativity",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'Subtitle',
                    "id"            => "subtitle",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "textarea",
                    "class"         => "",
                    "title"         => 'Description',
                    "id"            => "description",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "multi_select",
                    "class"         => "",
                    "title"         => "Select Portfolio Category",
                    "id"            => "portfolio_categories",
                    "description"   => "",
                    "options"       => $this->getCPTCategories('portfolio'),
                    "group"         => "General",
                    "ajax_url"      => \url('/').'/admin/magic_editors/get_post_by_cpt_category',
                    "ajax_container"=> "portfolioContainer",
                ),
                array(
                    'type'         =>    'text',
                    'title'        =>    'No. of Posts Per Page',
                    'id'           =>    'no_of_posts',
                    'default'      =>     $this->limit,
                    'group'        =>    'Pagination'
                ),
                array(
                    'type'          =>  'select',
                    'title'         =>  'Order By',
                    'id'            =>  'orderby',
                    'default'       =>  array(),
                    'options'       =>  $this->orderby_options,
                    'group'         =>  'Pagination'
                ),
                array(
                    'type'          =>  'select',
                    'title'         =>  'Order',
                    'id'            =>  'order',
                    'default'       =>  array(),
                    'options'       =>  $this->order_options,
                    'group'         =>  'Pagination'
                ),
                array(
                    'type'          =>  'checkbox',
                    'title'         =>  'View All Link',
                    'id'            =>  'view_all',
                    'default'       =>  'true',
                    'group'         =>  'Pagination'
                ),
                array(
                    'type'          =>  'select',
                    'title'         =>  'Select Page',
                    'id'            =>  'page_id',
                    'default'       =>  array(),
                    'options'       =>  $this->pages,
                    'group'         =>  'Pagination',
                    'depend_on'     =>  'view_all'
                ),
            )
        );

        $this->theme_elements['portfolio_listing_4'] = array(
            'name' => 'Portfolio Listing 4',
            'base' => 'portfolio_listing_4',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/portfolio_listing_4.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'Title',
                    "id"            => "title",
                    "default"       => "Award winning creativity",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'Subtitle',
                    "id"            => "subtitle",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "textarea",
                    "class"         => "",
                    "title"         => 'Description',
                    "id"            => "description",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "multi_select",
                    "class"         => "",
                    "title"         => "Select Portfolio Category",
                    "id"            => "portfolio_categories",
                    "description"   => "",
                    "options"       => $this->getCPTCategories('portfolio'),
                    "group"         => "General",
                    "ajax_url"      => \url('/').'/admin/magic_editors/get_post_by_cpt_category',
                    "ajax_container"=> "portfolioContainer",
                ),
                array(
                    'type'         =>    'text',
                    'title'        =>    'No. of Posts Per Page',
                    'id'           =>    'no_of_posts',
                    'default'      =>     $this->limit,
                    'group'        =>    'Pagination'
                ),
                array(
                    'type'          =>  'select',
                    'title'         =>  'Order By',
                    'id'            =>  'orderby',
                    'default'       =>  array(),
                    'options'       =>  $this->orderby_options,
                    'group'         =>  'Pagination'
                ),
                array(
                    'type'          =>  'select',
                    'title'         =>  'Order',
                    'id'            =>  'order',
                    'default'       =>  array(),
                    'options'       =>  $this->order_options,
                    'group'         =>  'Pagination'
                ),
            )
        );
        
        $this->theme_elements['post_grid'] = array(
            'name' => 'Post Grid',
            'base' => 'post_grid',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/post_grid.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'Title',
                    "id"            => "title",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'SubTitle',
                    "id"            => "subtitle",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "textarea",
                    "class"         => "",
                    "title"         => 'Description',
                    "id"            => "description",
                    "group"         => 'General'
                ),  
                array(
                    "id"            =>  'post_category_ids',
                    "type"          =>  "multi_select",
                    "title"         =>  "Select Categories",
                    "default"       =>  array(),
                    "options"       =>  $this->categories,
                    "class"         =>  "",
                    "group"         =>  'General'
                ),
                array(
                    "id"            => "sidebar",
                    "type"          => "switch",
                    "title"         => "Show Sidebar",
                    'on'            => __('On') ,
                    'off'           => __('Off') ,
                    'default'       => true,
                    "class"         => "",
                    "group"         => "Advance"
                ),
                array(
                    'id'            =>  'post_with_images',
                    'type'          =>  'checkbox',
                    'title'         =>  'Post With Images Only',
                    'default'       =>  'true',
                    "group"         =>  'Advance'
                ),
                array(
                    "id"            =>  "post_fields",
                    "type"          =>  "multi_select",
                    "title"         =>  "Fields to Display",
                    "default"       =>  array(),
                    "options"       =>  $this->post_fields,
                    "class"         =>  "",
                    "group"         =>  'Advance'
                ),
                array(
                    'id'            =>  'pagination',
                    'type'          =>  'checkbox',
                    'title'         =>  'Pagination',
                    'default'       =>  'true',
                    'group'         =>  'Pagination'
                ),
                array(
                    'id'            =>  'pagination_type',
                    'type'          =>  'radio',
                    'title'         =>  'Pagination Type',
                    'options'       =>  [
                        'default'   =>   'Default',
                        'load_more' =>   'Load More'
                    ],
                    'default'       =>  'load_more',
                    'group'         =>  'Pagination'
                ),
                array(
                    'id'            =>  'no_of_posts',
                    'type'          =>  'text',
                    'title'         =>  'No. of Posts Per Page',
                    'default'       =>   $this->limit,
                    'group'         =>  'Pagination'
                ),
                array(
                    'id'            =>  'orderby',
                    'type'          =>  'select',
                    'title'         =>  'Order By',
                    'default'       =>  array(),
                    'options'       =>  $this->orderby_options,
                    'group'         =>  'Pagination'
                ),
                array(
                    'id'            =>  'order',
                    'type'          =>  'select',
                    'title'         =>  'Order',
                    'default'       =>  array(),
                    'options'       =>  $this->order_options,
                    'group'         =>  'Pagination'
                ),
                array(
                    'type'          =>  'checkbox',
                    'title'         =>  'View All Link',
                    'id'            =>  'view_all',
                    'default'       =>  'true',
                    'group'         =>  'Pagination'
                ),
                array(
                    'type'          =>  'select',
                    'title'         =>  'Select Page',
                    'id'            =>  'page_id',
                    'default'       =>  array(),
                    'options'       =>  $this->pages,
                    'group'         =>  'Pagination',
                    'depend_on'     =>  'view_all'
                ),
            )
        );
        
        $this->theme_elements['post_listing_1'] = array(
            'name' => 'Post Listing 1',
            'base' => 'post_listing_1',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/post_listing_1.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "type"      =>  "select",
                    "title"     =>  "Element Style",
                    "id"        =>  "element_style",
                    "options"   =>  array(
                                "1"   => "Style 1",
                                "2"   => "Style 2"
                            ),
                    "default"   =>  '1',
                    "group"     =>  "General"
                ),
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'Title',
                    "id"            => "title",
                    "default"       => "Our Latest Blog & Article",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'SubTitle',
                    "id"            => "subtitle",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "textarea",
                    "class"         => "",
                    "title"         => 'Description',
                    "id"            => "description",
                    "default"       => "Explore our latest blog and articles for expert insights on web design, SEO, and digital trends.",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "multi_select",
                    "holder"        => "div",
                    "class"         => "",
                    "title"         => "Select Categories",
                    "id"            => 'post_category_ids',
                    "options"       => $this->categories,
                    "group"         => 'General'
                ),
                array(
                    'type'          => 'checkbox',
                    'title'         => 'Post With Images Only',
                    'id'            => 'post_with_images',
                    'default'       => 'true',
                    "group"         => 'Advance'
                ),
                array(
                    "type"          => "multi_select",
                    "class"         => "",
                    "title"         => "Fields to Display",
                    "id"            => "post_fields",
                    "default"       => array(),
                    "options"       => $this->post_fields,
                    "group"         => 'Advance'
                ),
                array(
                    'type'         =>    'text',
                    'title'        =>    'No. of Posts Per Page',
                    'id'           =>    'no_of_posts',
                    'default'      =>     $this->limit,
                    'group'        =>    'Pagination'
                ),
                array(
                    'type'          =>  'select',
                    'title'         =>  'Order By',
                    'id'            =>  'orderby',
                    'default'       =>  array(),
                    'options'       =>  $this->orderby_options,
                    'group'         =>  'Pagination'
                ),
                array(
                    'type'          =>  'select',
                    'title'         =>  'Order',
                    'id'            =>  'order',
                    'default'       =>  array(),
                    'options'       =>  $this->order_options,
                    'group'         =>  'Pagination'
                ),
                array(
                    'type'          =>  'checkbox',
                    'title'         =>  'View All Link',
                    'id'            =>  'view_all',
                    'default'       =>  'true',
                    'group'         =>  'Pagination'
                ),
                array(
                    'type'          =>  'select',
                    'title'         =>  'Select Page',
                    'id'            =>  'page_id',
                    'default'       =>  array(),
                    'options'       =>  $this->pages,
                    'group'         =>  'Pagination',
                    'depend_on'     =>  'view_all'
                ),
            )
        );

        $this->theme_elements['post_listing_2'] = array(
            'name' => 'Post Listing 2',
            'base' => 'post_listing_2',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/post_listing_2.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'Title',
                    "id"            => "title",
                    "default"       => "Latest News",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'SubTitle',
                    "id"            => "subtitle",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "textarea",
                    "class"         => "",
                    "title"         => 'Description',
                    "id"            => "description",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "multi_select",
                    "holder"        => "div",
                    "class"         => "",
                    "title"         => "Select Categories",
                    "id"            => 'post_category_ids',
                    "options"       => $this->categories,   
                    "group"         => 'General'
                ),
                array(
                    'type'          => 'checkbox',
                    'title'         => 'Post With Images Only',
                    'id'            => 'post_with_images',
                    'default'       => 'true',
                    "group"         => 'Advance'
                ),
                array(
                    "type"          => "multi_select",
                    "class"         => "",
                    "title"         => "Fields to Display",
                    "id"            => "post_fields",
                    "default"       => array(),
                    "options"       => $this->post_fields,
                    "group"         => 'Advance'
                ),
                array(
                    'id'            =>  'pagination',
                    'type'          =>  'checkbox',
                    'title'         =>  'Pagination',
                    'default'       =>  'true',
                    'group'         =>  'Pagination'
                ),
                array(
                    'id'            =>  'pagination_type',
                    'type'          =>  'radio',
                    'title'         =>  'Pagination Type',
                    'options'       =>  [
                        'default'   =>   'Default',
                        'load_more' =>   'Load More'
                    ],
                    'default'       =>  'load_more',
                    'group'         =>  'Pagination'
                ),
                array(
                    'type'         =>    'text',
                    'title'        =>    'No. of Posts Per Page',
                    'id'           =>    'no_of_posts',
                    'default'      =>     $this->limit,
                    'group'        =>    'Pagination'
                ),
                array(
                    'type'          =>  'select',
                    'title'         =>  'Order By',
                    'id'            =>  'orderby',
                    'default'       =>  array(),
                    'options'       =>  $this->orderby_options,
                    'group'         =>  'Pagination'
                ),
                array(
                    'type'          =>  'select',
                    'title'         =>  'Order',
                    'id'            =>  'order',
                    'default'       =>  array(),
                    'options'       =>  $this->order_options,
                    'group'         =>  'Pagination'
                ),
                array(
                    'type'          =>  'checkbox',
                    'title'         =>  'View All Link',
                    'id'            =>  'view_all',
                    'default'       =>  'true',
                    'group'         =>  'Pagination'
                ),
                array(
                    'type'          =>  'select',
                    'title'         =>  'Select Page',
                    'id'            =>  'page_id',
                    'default'       =>  array(),
                    'options'       =>  $this->pages,
                    'group'         =>  'Pagination',
                    'depend_on'     =>  'view_all'
                ),
            )
        );
        
        $this->theme_elements['post_slider_1'] = array(
            'name' => 'Post Slider 1',
            'base' => 'post_slider_1',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/post_slider_1.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'Title',
                    "id"            => "title",
                    "default"       => "Our latest blog & article",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'SubTitle',
                    "id"            => "subtitle",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "textarea",
                    "class"         => "",
                    "title"         => 'Description',
                    "default"       => 'Explore our latest blog and articles for expert insights on web design, SEO, and digital trends.',
                    "id"            => "description",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "multi_select",
                    "holder"        => "div",
                    "class"         => "",
                    "title"         => "Select Categories",
                    "id"            => 'post_category_ids',
                    "options"       => $this->categories,
                    "group"         => 'General'
                ),
                array(
                    'type'          => 'checkbox',
                    'title'         => 'Post With Images Only',
                    'id'            => 'post_with_images',
                    'default'       => 'true',
                    "group"         => 'Advance'
                ),
                array(
                    "type"          => "multi_select",
                    "class"         => "",
                    "title"         => "Fields to Display",
                    "id"            => "post_fields",
                    "default"       => array(),
                    "options"       => $this->post_fields,
                    "group"         => 'Advance'
                ),
                array(
                    'type'         =>    'text',
                    'title'        =>    'No. of Posts Per Page',
                    'id'           =>    'no_of_posts',
                    'default'      =>     $this->limit,
                    'group'        =>    'Pagination'
                ),
                array(
                    'type'          =>  'select',
                    'title'         =>  'Order By',
                    'id'            =>  'orderby',
                    'default'       =>  array(),
                    'options'       =>  $this->orderby_options,
                    'group'         =>  'Pagination'
                ),
                array(
                    'type'          =>  'select',
                    'title'         =>  'Order',
                    'id'            =>  'order',
                    'default'       =>  array(),
                    'options'       =>  $this->order_options,
                    'group'         =>  'Pagination'
                ),
                array(
                    'type'          =>  'checkbox',
                    'title'         =>  'View All Link',
                    'id'            =>  'view_all',
                    'default'       =>  'true',
                    'group'         =>  'Pagination'
                ),
                array(
                    'type'          =>  'select',
                    'title'         =>  'Select Page',
                    'id'            =>  'page_id',
                    'default'       =>  array(),
                    'options'       =>  $this->pages,
                    'group'         =>  'Pagination',
                    'depend_on'     =>  'view_all'
                ),
            )
        );

        $this->theme_elements['post_slider_2'] = array(
            'name' => 'Post Slider 2',
            'base' => 'post_slider_2',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/post_slider_2.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'Title',
                    "id"            => "title",
                    "default"       => 'Fresh Business <span class="text-primary">Tips</span>',
                    "group"         => 'General'
                ),
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'SubTitle',
                    "id"            => "subtitle",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "textarea",
                    "class"         => "",
                    "title"         => 'Description',
                    "id"            => "description",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "multi_select",
                    "holder"        => "div",
                    "class"         => "",
                    "title"         => "Select Categories",
                    "id"            => 'post_category_ids',
                    "options"       => $this->categories,
                    "group"         => 'General'
                ),
                array(
                    'type'          => 'checkbox',
                    'title'         => 'Post With Images Only',
                    'id'            => 'post_with_images',
                    'default'       => 'true',
                    "group"         => 'Advance'
                ),
                array(
                    "type"          => "multi_select",
                    "class"         => "",
                    "title"         => "Fields to Display",
                    "id"            => "post_fields",
                    "default"       => array(),
                    "options"       => $this->post_fields,
                    "group"         => 'Advance'
                ),
                array(
                    'type'         =>    'text',
                    'title'        =>    'No. of Posts Per Page',
                    'id'           =>    'no_of_posts',
                    'default'      =>     $this->limit,
                    'group'        =>    'Pagination'
                ),
                array(
                    'type'          =>  'select',
                    'title'         =>  'Order By',
                    'id'            =>  'orderby',
                    'default'       =>  array(),
                    'options'       =>  $this->orderby_options,
                    'group'         =>  'Pagination'
                ),
                array(
                    'type'          =>  'select',
                    'title'         =>  'Order',
                    'id'            =>  'order',
                    'default'       =>  array(),
                    'options'       =>  $this->order_options,
                    'group'         =>  'Pagination'
                ),
                array(
                    'type'          =>  'checkbox',
                    'title'         =>  'View All Link',
                    'id'            =>  'view_all',
                    'default'       =>  'true',
                    'group'         =>  'Pagination'
                ),
                array(
                    'type'          =>  'select',
                    'title'         =>  'Select Page',
                    'id'            =>  'page_id',
                    'default'       =>  array(),
                    'options'       =>  $this->pages,
                    'group'         =>  'Pagination',
                    'depend_on'     =>  'view_all'
                ),
            )
        );

        $this->theme_elements['partner_slider_2'] = array(
            'name' => 'Partner Slider 2',
            'base' => 'partner_slider_2',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/partner_slider_2.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'Title',
                    "id"            => "title",
                    "default"       => "Some of my clients & partners",
                    "group"         => 'General'
                ),
                array(
                    "id"            => "image_gallery",
                    "type"          => "gallery",
                    "title"         => "Image Gallery",
                    "class"         => "",
                    "group"         => "General"
                ),
            )
        );
        
        $this->theme_elements['post_tiles_1'] = array(
            'name' => 'Post Tiles 1',
            'base' => 'post_tiles_1',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/post_tiles_1.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'Title',
                    "id"            => "title",
                    "default"       => "Our latest blog & article",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'SubTitle',
                    "id"            => "subtitle",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "textarea",
                    "class"         => "",
                    "title"         => 'Description',
                    "id"            => "description",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "multi_select",
                    "holder"        => "div",
                    "class"         => "",
                    "title"         => "Select Categories",
                    "id"            => 'post_category_ids',
                    "options"       => $this->categories,
                    "group"         => 'General'
                ),
                array(
                    'type'          => 'checkbox',
                    'title'         => 'Post With Images Only',
                    'id'            => 'post_with_images',
                    'default'       => 'true',
                    "group"         => 'Advance'
                ),
                array(
                    "type"          => "multi_select",
                    "class"         => "",
                    "title"         => "Fields to Display",
                    "id"            => "post_fields",
                    "default"       => array(),
                    "options"       => $this->post_fields,
                    "group"         => 'Advance'
                ),
                array(
                    'type'         =>    'text',
                    'title'        =>    'No. of Posts Per Page',
                    'id'           =>    'no_of_posts',
                    'default'      =>     $this->limit,
                    'group'        =>    'Pagination'
                ),
                array(
                    'type'          =>  'select',
                    'title'         =>  'Order By',
                    'id'            =>  'orderby',
                    'default'       =>  array(),
                    'options'       =>  $this->orderby_options,
                    'group'         =>  'Pagination'
                ),
                array(
                    'type'          =>  'select',
                    'title'         =>  'Order',
                    'id'            =>  'order',
                    'default'       =>  array(),
                    'options'       =>  $this->order_options,
                    'group'         =>  'Pagination'
                ),
            )
        );
        
        $this->theme_elements['pricing_table_1'] = array(
            'name' => 'Pricing Table 1',
            'base' => 'pricing_table_1',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/pricing_table_1.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'Title',
                    "id"            => "title",
                    "default"       => "Transparent Pricing for Tailored Digital Solutions",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'Subtitle',
                    "id"            => "subtitle",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "textarea",
                    "class"         => "",
                    "title"         => 'Description',
                    "id"            => "description",
                    "group"         => 'General'
                ),
                array(
                    "id"        => "price_box",
                    "type"      => "group",
                    "title"     => "Price Box",
                    "default"   => "",
                    "group"     => "Price Box",
                    "params" => array(
                        array(
                            "id"        => "title",
                            "type"      => "text",
                            "title"     => "Title",
                            "class"     => "",
                        ),
                        array(
                            "id"        => "price",
                            "type"      => "text",
                            "title"     => "Price",
                            "class"     => "",
                        ),
                        array(
                            "id"        => "price_text",
                            "type"      => "text",
                            "title"     => "Price Text",
                            "class"     => "",
                        ),
                        array(
                            "id"        => "description",
                            "type"      => "textarea",
                            "title"     => "Description",
                            "class"     => "",
                        ),
                        array(
                            "id"        => "features",
                            "type"      => "textarea",
                            "title"     => "Features",
                            "desc"      => "Add comma (,) to separate features",
                            "class"     => "",
                        ),
                        array(
                            "id"        => "button_text",
                            "type"      => "text",
                            "title"     => "Button Text",
                            "class"     => "",
                        ),
                        array(
                            "id"        => "button_link",
                            "type"      => "text",
                            "title"     => "Button Link",
                            "class"     => "",
                        ),
                    )
                ),
            )
        );
        
        $this->theme_elements['process_flow_1'] = array(
            'name' => 'Process Flow 1',
            'base' => 'process_flow_1',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/process_flow_1.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'Title',
                    "id"            => "title",
                    "default"       => "How It Work",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'SubTitle',
                    "id"            => "subtitle",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "textarea",
                    "class"         => "",
                    "title"         => 'Description',
                    "id"            => "description",
                    "default"       => "Our Step-by-Step Marketing Process",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'Bottom Title',
                    "id"            => "bottom_title",
                    "default"       => "Start your dream project today",
                    "group"         => 'General'
                ),  
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'Redirect Button Text',
                    "id"            => "redirect_button_text",
                    "default"       => "Lets Talk",
                    "group"         => 'General'
                ),  
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'Redirect Button Url',
                    "id"            => "redirect_button_url",
                    "group"         => 'General'
                ),  
                array(
                    'type'      => 'group',
                    "title"     => 'Item',
                    'id'        => 'item',
                    'group'     => 'Item',
                    'params' => array(
                        array(
                            "id"        => "icon",
                            "type"      => "media",
                            "title"     => 'Icon',
                            "class"     => "",
                        ),
                        array(
                            "id"        => "title",
                            "type"      => "text",
                            "title"     => 'Title',
                            "class"     => "",
                        ),
                        array(
                            "id"        => "description",
                            "type"      => "textarea",
                            "title"     => 'Description',
                            "class"     => "",
                        ),
                        array(
                            "id"        => "url",
                            "type"      => "text",
                            "title"     => 'Url',
                            "class"     => "",
                        ),
                    )
                ),
            )
        );
        
        $this->theme_elements['process_flow_2'] = array(
            'name' => 'Process Flow 2',
            'base' => 'process_flow_2',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/process_flow_2.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'Title',
                    "id"            => "title",
                    "default"       => 'A Step-by-Step Guide to <span class="text-primary">Boost Rankings</span> & Traffic',
                    "group"         => 'General'
                ),
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'SubTitle',
                    "id"            => "subtitle",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "textarea",
                    "class"         => "",
                    "title"         => 'Description',
                    "id"            => "description",
                    "group"         => 'General'
                ), 
                array(
                    'type'      => 'group',
                    "title"     => 'Item',
                    'id'        => 'item',
                    'group'     => 'Item',
                    'params' => array(
                        array(
                            "id"        => "title",
                            "type"      => "text",
                            "title"     => 'Title',
                            "class"     => "",
                        ),
                        array(
                            "id"        => "description",
                            "type"      => "textarea",
                            "title"     => 'Description',
                            "class"     => "",
                        ),
                    )
                ),
            )
        );

        $this->theme_elements['process_flow_3'] = array(
            'name' => 'Process Flow 3',
            'base' => 'process_flow_3',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/process_flow_3.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'Title',
                    "id"            => "title",
                    "default"       => "Explore Our Work Process",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'SubTitle',
                    "id"            => "subtitle",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "textarea",
                    "class"         => "",
                    "title"         => 'Description',
                    "id"            => "description",
                    "group"         => 'General'
                ), 
                array(
                    'type'      => 'group',
                    "title"     => 'Item',
                    'id'        => 'item',
                    'group'     => 'Item',
                    'params' => array(
                        array(
                            "id"        => "title",
                            "type"      => "text",
                            "title"     => 'Title',
                            "class"     => "",
                        ),
                        array(
                            "id"        => "description",
                            "type"      => "textarea",
                            "title"     => 'Description',
                            "class"     => "",
                        ),
                    )
                ),
            )
        );

        $this->theme_elements['service_listing_1'] = array(
            'name' => 'Service Listing 1',
            'base' => 'service_listing_1',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/service_listing_1.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "type"      =>  "select",
                    "title"     =>  "Element Style",
                    "id"        =>  "element_style",
                    "options"   =>  array(
                                "1"   => "Style 1",
                                "2"   => "Style 2"
                            ),
                    "default"   =>  '1',
                    "group"     =>  "General"
                ),
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'Title',
                    "id"            => "title",
                    "default"       => "Find Our Best Services",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'SubTitle',
                    "id"            => "subtitle",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "textarea",
                    "class"         => "",
                    "title"         => 'Description',
                    "id"            => "description",
                    "default"       => "Achieve Top Rankings with Cutting-Edge SEO Services!",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "multi_select",
                    "class"         => "",
                    "title"         => "Select Services Category",
                    "id"            => "services_categories",
                    "description"   => "",
                    "options"       => $this->getCPTCategories('services'),
                    "group"         => "General",
                    "ajax_url"      => \url('/').'/admin/magic_editors/get_post_by_cpt_category',
                    "ajax_container"=> "servicesContainer",
                ),
                array(
                    'id'            =>  'pagination',
                    'type'          =>  'checkbox',
                    'title'         =>  'Pagination',
                    'default'       =>  'true',
                    'group'         =>  'Pagination'
                ),
                array(
                    'id'            =>  'pagination_type',
                    'type'          =>  'radio',
                    'title'         =>  'Pagination Type',
                    'options'       =>  [
                        'default'   =>   'Default',
                        'load_more' =>   'Load More'
                    ],
                    'default'       =>  'load_more',
                    'group'         =>  'Pagination'
                ),
                array(
                    'type'         =>    'text',
                    'title'        =>    'No. of Posts Per Page',
                    'id'           =>    'no_of_posts',
                    'default'      =>     $this->limit,
                    'group'        =>    'Pagination'
                ),
                array(
                    'type'          =>  'select',
                    'title'         =>  'Order By',
                    'id'            =>  'orderby',
                    'default'       =>  array(),
                    'options'       =>  $this->orderby_options,
                    'group'         =>  'Pagination'
                ),
                array(
                    'type'          =>  'select',
                    'title'         =>  'Order',
                    'id'            =>  'order',
                    'default'       =>  array(),
                    'options'       =>  $this->order_options,
                    'group'         =>  'Pagination'
                ),
                array(
                    'type'          =>  'checkbox',
                    'title'         =>  'View All Link',
                    'id'            =>  'view_all',
                    'default'       =>  'true',
                    'group'         =>  'Pagination'
                ),
                array(
                    'type'          =>  'select',
                    'title'         =>  'Select Page',
                    'id'            =>  'page_id',
                    'default'       =>  array(),
                    'options'       =>  $this->pages,
                    'group'         =>  'Pagination',
                    'depend_on'     =>  'view_all'
                ),
            )
        );

        $this->theme_elements['service_listing_2'] = array(
            'name' => 'Service Listing 2',
            'base' => 'service_listing_2',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/service_listing_2.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'Title',
                    "id"            => "title",
                    "default"       => "Why is SEO Still So Important?",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'SubTitle',
                    "id"            => "subtitle",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "textarea",
                    "class"         => "",
                    "title"         => 'Description',
                    "id"            => "description",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "multi_select",
                    "class"         => "",
                    "title"         => "Select Services Category",
                    "id"            => "services_categories",
                    "description"   => "",
                    "options"       => $this->getCPTCategories('services'),
                    "group"         => "General",
                    "ajax_url"      => \url('/').'/admin/magic_editors/get_post_by_cpt_category',
                    "ajax_container"=> "servicesContainer",
                ),
                array(
                    'type'         =>    'text',
                    'title'        =>    'No. of Posts Per Page',
                    'id'           =>    'no_of_posts',
                    'default'      =>     $this->limit,
                    'group'        =>    'Pagination'
                ),
                array(
                    'type'          =>  'select',
                    'title'         =>  'Order By',
                    'id'            =>  'orderby',
                    'default'       =>  array(),
                    'options'       =>  $this->orderby_options,
                    'group'         =>  'Pagination'
                ),
                array(
                    'type'          =>  'select',
                    'title'         =>  'Order',
                    'id'            =>  'order',
                    'default'       =>  array(),
                    'options'       =>  $this->order_options,
                    'group'         =>  'Pagination'
                ),
                array(
                    'type'          =>  'checkbox',
                    'title'         =>  'View All Link',
                    'id'            =>  'view_all',
                    'default'       =>  'true',
                    'group'         =>  'Pagination'
                ),
                array(
                    'type'          =>  'select',
                    'title'         =>  'Select Page',
                    'id'            =>  'page_id',
                    'default'       =>  array(),
                    'options'       =>  $this->pages,
                    'group'         =>  'Pagination',
                    'depend_on'     =>  'view_all'
                ),
            )
        );

        $this->theme_elements['service_listing_3'] = array(
            'name' => 'Service Listing 3',
            'base' => 'service_listing_3',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/service_listing_3.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'Title',
                    "id"            => "title",
                    "default"       => "Services",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'SubTitle',
                    "id"            => "subtitle",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "textarea",
                    "class"         => "",
                    "title"         => 'Description',
                    "id"            => "description",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "multi_select",
                    "class"         => "",
                    "title"         => "Select Services Category",
                    "id"            => "services_categories",
                    "description"   => "",
                    "options"       => $this->getCPTCategories('services'),
                    "group"         => "General",
                    "ajax_url"      => \url('/').'/admin/magic_editors/get_post_by_cpt_category',
                    "ajax_container"=> "servicesContainer",
                ),
                array(
                    'id'            =>  'pagination',
                    'type'          =>  'checkbox',
                    'title'         =>  'Pagination',
                    'default'       =>  'true',
                    'group'         =>  'Pagination'
                ),
                array(
                    'id'            =>  'pagination_type',
                    'type'          =>  'radio',
                    'title'         =>  'Pagination Type',
                    'options'       =>  [
                        'default'   =>   'Default',
                        'load_more' =>   'Load More'
                    ],
                    'default'       =>  'load_more',
                    'group'         =>  'Pagination'
                ),
                array(
                    'type'         =>    'text',
                    'title'        =>    'No. of Posts Per Page',
                    'id'           =>    'no_of_posts',
                    'default'      =>     $this->limit,
                    'group'        =>    'Pagination'
                ),
                array(
                    'type'          =>  'select',
                    'title'         =>  'Order By',
                    'id'            =>  'orderby',
                    'default'       =>  array(),
                    'options'       =>  $this->orderby_options,
                    'group'         =>  'Pagination'
                ),
                array(
                    'type'          =>  'select',
                    'title'         =>  'Order',
                    'id'            =>  'order',
                    'default'       =>  array(),
                    'options'       =>  $this->order_options,
                    'group'         =>  'Pagination'
                ),
                array(
                    'type'          =>  'checkbox',
                    'title'         =>  'View All Link',
                    'id'            =>  'view_all',
                    'default'       =>  'true',
                    'group'         =>  'Pagination'
                ),
                array(
                    'type'          =>  'select',
                    'title'         =>  'Select Page',
                    'id'            =>  'page_id',
                    'default'       =>  array(),
                    'options'       =>  $this->pages,
                    'group'         =>  'Pagination',
                    'depend_on'     =>  'view_all'
                ),
            )
        );

        $this->theme_elements['service_slider_1'] = array(
            'name' => 'Service Slider 1',
            'base' => 'service_slider_1',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/service_slider_1.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "id"            => "services_categories",
                    "type"          => "multi_select",
                    "title"         => "Select Services Category",
                    "description"   => "",
                    "options"       => $this->getCPTCategories('services'),
                    "ajax_url"      => \url('/').'/admin/magic_editors/get_post_by_cpt_category',
                    "ajax_container"=> "servicesContainer",
                    "class"         => "",
                    "group"         => "General",
                ),
                array(
                    'id'           =>    'no_of_posts',
                    'type'         =>    'text',
                    'title'        =>    'No. of Posts Per Page',
                    'default'      =>     $this->limit,
                    'group'        =>    'Pagination'
                ),
                array(
                    'id'            =>  'orderby',
                    'type'          =>  'select',
                    'title'         =>  'Order By',
                    'default'       =>  array(),
                    'options'       =>  $this->orderby_options,
                    'group'         =>  'Pagination'
                ),
                array(
                    'id'            =>  'order',
                    'type'          =>  'select',
                    'title'         =>  'Order',
                    'default'       =>  array(),
                    'options'       =>  $this->order_options,
                    'group'         =>  'Pagination'
                ),
            )
        );

        $this->theme_elements['service_slider_2'] = array(
            'name' => 'Service Slider 2',
            'base' => 'service_slider_2',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/service_slider_2.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "id"            => "title",
                    "type"          => "text",
                    "title"         => "Title",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "subtitle",
                    "type"          => "text",
                    "title"         => "SubTitle",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "description",
                    "type"          => "textarea",
                    "title"         => "Description",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "services_categories",
                    "type"          => "multi_select",
                    "title"         => "Select Services Category",
                    "description"   => "",
                    "options"       => $this->getCPTCategories('services'),
                    "ajax_url"      => \url('/').'/admin/magic_editors/get_post_by_cpt_category',
                    "ajax_container"=> "servicesContainer",
                    "class"         => "",
                    "group"         => "General",
                ),
                array(
                    'id'           =>    'no_of_posts',
                    'type'         =>    'text',
                    'title'        =>    'No. of Posts Per Page',
                    'default'      =>     $this->limit,
                    'group'        =>    'Pagination'
                ),
                array(
                    'id'            =>  'orderby',
                    'type'          =>  'select',
                    'title'         =>  'Order By',
                    'default'       =>  array(),
                    'options'       =>  $this->orderby_options,
                    'group'         =>  'Pagination'
                ),
                array(
                    'id'            =>  'order',
                    'type'          =>  'select',
                    'title'         =>  'Order',
                    'default'       =>  array(),
                    'options'       =>  $this->order_options,
                    'group'         =>  'Pagination'
                ),
                array(
                    'id'            =>  'view_all',
                    'type'          =>  'checkbox',
                    'title'         =>  'View All Link',
                    'default'       =>  'true',
                    'group'         =>  'Pagination'
                ),
                array(
                    'id'            =>  'page_id',
                    'type'          =>  'select',
                    'title'         =>  'Select Page',
                    'default'       =>  array(),
                    'options'       =>  $this->pages,
                    'group'         =>  'Pagination',
                    'depend_on'     =>  'view_all'
                ),
            )
        );
        
        $this->theme_elements['service_slider_3'] = array(
            'name' => 'Service Slider 3',
            'base' => 'service_slider_3',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/service_slider_3.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "id"            => "title",
                    "type"          => "text",
                    "title"         => "Title",
                    "default"       => 'Tailored <span class="text-primary">Consulting Services</span> To Meet Your Business Needs',
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "subtitle",
                    "type"          => "text",
                    "title"         => "SubTitle",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "description",
                    "type"          => "textarea",
                    "title"         => "Description",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "type"      =>  "select",
                    "title"     =>  "Icon Type",
                    "id"        =>  "icon_type",
                    "options"   =>  array(
                                "svg"   => "Svg",
                                "png"   => "Png"
                            ),
                    "default"   =>  'svg',
                    "group"     =>  "General"
                ),
                array(
                    "id"            => "services_categories",
                    "type"          => "multi_select",
                    "title"         => "Select Services Category",
                    "description"   => "",
                    "options"       => $this->getCPTCategories('services'),
                    "ajax_url"      => \url('/').'/admin/magic_editors/get_post_by_cpt_category',
                    "ajax_container"=> "servicesContainer",
                    "class"         => "",
                    "group"         => "General",
                ),
                array(
                    'id'           =>    'no_of_posts',
                    'type'         =>    'text',
                    'title'        =>    'No. of Posts Per Page',
                    'default'      =>     $this->limit,
                    'group'        =>    'Pagination'
                ),
                array(
                    'id'            =>  'orderby',
                    'type'          =>  'select',
                    'title'         =>  'Order By',
                    'default'       =>  array(),
                    'options'       =>  $this->orderby_options,
                    'group'         =>  'Pagination'
                ),
                array(
                    'id'            =>  'order',
                    'type'          =>  'select',
                    'title'         =>  'Order',
                    'default'       =>  array(),
                    'options'       =>  $this->order_options,
                    'group'         =>  'Pagination'
                ),
                array(
                    'id'            =>  'view_all',
                    'type'          =>  'checkbox',
                    'title'         =>  'View All Link',
                    'default'       =>  'true',
                    'group'         =>  'Pagination'
                ),
                array(
                    'id'            =>  'page_id',
                    'type'          =>  'select',
                    'title'         =>  'Select Page',
                    'default'       =>  array(),
                    'options'       =>  $this->pages,
                    'group'         =>  'Pagination',
                    'depend_on'     =>  'view_all'
                ),
            )
        );

        $this->theme_elements['team_listing_1'] = array(
            'name' => 'Team Listing 1',
            'base' => 'team_listing_1',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/team_listing_1.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'Title',
                    "id"            => "title",
                    "default"       => "The Faces Behind the Work",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'SubTitle',
                    "id"            => "subtitle",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "textarea",
                    "class"         => "",
                    "title"         => 'Description',
                    "id"            => "description",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "multi_select",
                    "class"         => "",
                    "title"         => "Select Teams Category",
                    "id"            => "teams_categories",
                    "description"   => "",
                    "options"       => $this->getCPTCategories('teams'),
                    "group"         => "General",
                    "ajax_url"      => \url('/').'/admin/magic_editors/get_post_by_cpt_category',
                    "ajax_container"=> "teamsContainer",
                ),
                array(
                    'id'            =>  'pagination',
                    'type'          =>  'checkbox',
                    'title'         =>  'Pagination',
                    'default'       =>  'true',
                    'group'         =>  'Pagination'
                ),
                array(
                    'id'            =>  'pagination_type',
                    'type'          =>  'radio',
                    'title'         =>  'Pagination Type',
                    'options'       =>  [
                        'default'   =>   'Default',
                        'load_more' =>   'Load More'
                    ],
                    'default'       =>  'load_more',
                    'group'         =>  'Pagination'
                ),
                array(
                    'type'         =>    'text',
                    'title'        =>    'No. of Posts Per Page',
                    'id'           =>    'no_of_posts',
                    'default'      =>     $this->limit,
                    'group'        =>    'Pagination'
                ),
                array(
                    'type'          =>  'select',
                    'title'         =>  'Order By',
                    'id'            =>  'orderby',
                    'default'       =>  array(),
                    'options'       =>  $this->orderby_options,
                    'group'         =>  'Pagination'
                ),
                array(
                    'type'          =>  'select',
                    'title'         =>  'Order',
                    'id'            =>  'order',
                    'default'       =>  array(),
                    'options'       =>  $this->order_options,
                    'group'         =>  'Pagination'
                ),
                array(
                    'type'          =>  'checkbox',
                    'title'         =>  'View All Link',
                    'id'            =>  'view_all',
                    'default'       =>  'true',
                    'group'         =>  'Pagination'
                ),
                array(
                    'type'          =>  'select',
                    'title'         =>  'Select Page',
                    'id'            =>  'page_id',
                    'default'       =>  array(),
                    'options'       =>  $this->pages,
                    'group'         =>  'Pagination',
                    'depend_on'     =>  'view_all'
                ),
            )
        );
        
        $this->theme_elements['team_slider_1'] = array(
            'name' => 'Team Slider 1',
            'base' => 'team_slider_1',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/team_slider_1.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'Title',
                    "id"            => "title",
                    "default"       => "The Team Behind Your Success",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'SubTitle',
                    "id"            => "subtitle",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "textarea",
                    "class"         => "",
                    "title"         => 'Description',
                    "id"            => "description",
                    "group"         => 'General'
                ),
                array(
                    "id"            => "background_image",
                    "type"          => "media",
                    "title"         => "Background Image",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "type"          => "multi_select",
                    "class"         => "",
                    "title"         => "Select Teams Category",
                    "id"            => "teams_categories",
                    "description"   => "",
                    "options"       => $this->getCPTCategories('teams'),
                    "group"         => "General",
                    "ajax_url"      => \url('/').'/admin/magic_editors/get_post_by_cpt_category',
                    "ajax_container"=> "teamsContainer",
                ),
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'Title',
                    "id"            => "cta_title",
                    "default"       => "Your Next Career Move Starts Here",
                    "group"         => 'Call To Action'
                ),
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'Button Text',
                    "id"            => "cta_button_text",
                    "default"       => "Start With Us",
                    "group"         => 'Call To Action'
                ),
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'Button Link',
                    "id"            => "cta_button_link",
                    "group"         => 'Call To Action'
                ),
                array(
                    'type'         =>    'text',
                    'title'        =>    'No. of Posts Per Page',
                    'id'           =>    'no_of_posts',
                    'default'      =>     $this->limit,
                    'group'        =>    'Pagination'
                ),
                array(
                    'type'          =>  'select',
                    'title'         =>  'Order By',
                    'id'            =>  'orderby',
                    'default'       =>  array(),
                    'options'       =>  $this->orderby_options,
                    'group'         =>  'Pagination'
                ),
                array(
                    'type'          =>  'select',
                    'title'         =>  'Order',
                    'id'            =>  'order',
                    'default'       =>  array(),
                    'options'       =>  $this->order_options,
                    'group'         =>  'Pagination'
                ),
                array(
                    'type'          =>  'checkbox',
                    'title'         =>  'View All Link',
                    'id'            =>  'view_all',
                    'default'       =>  'true',
                    'group'         =>  'Pagination'
                ),
                array(
                    'type'          =>  'select',
                    'title'         =>  'Select Page',
                    'id'            =>  'page_id',
                    'default'       =>  array(),
                    'options'       =>  $this->pages,
                    'group'         =>  'Pagination',
                    'depend_on'     =>  'view_all'
                ),
            )
        );

        $this->theme_elements['testimonial_slider_1'] = array(
            'name' => 'Testimonial Slider 1',
            'base' => 'testimonial_slider_1',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/testimonial_slider_1.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "type"      =>  "select",
                    "title"     =>  "Element Style",
                    "id"        =>  "element_style",
                    "options"   =>  array(
                                "1"   => "Style 1",
                                "2"   => "Style 2",
                                "3"   => "Style 3"
                            ),
                    "default"   =>  '1',
                    "group"     =>  "General"
                ),
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'Title',
                    "id"            => "title",
                    "default"       => "Success Stories: How Feedback Fuels Our Growth",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'SubTitle',
                    "id"            => "subtitle",
                    "group"         => 'General',
                ),
                array(
                    "type"          => "textarea",
                    "class"         => "",
                    "title"         => 'Description',
                    "id"            => "description",
                    "default"       => "Plexify is rated 4.5 / 5 average from 200 reviews on Google, Clutch!",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "multi_select",
                    "class"         => "",
                    "title"         => "Select Testimonial Category",
                    "id"            => "testimonial_categories",
                    "description"   => "",
                    "options"       => $this->getCPTCategories('testimonials'),
                    "group"         => "General",
                    "ajax_url"      => \url('/').'/admin/magic_editors/get_post_by_cpt_category',
                    "ajax_container"=> "testimonialsContainer",
                ),
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'Title',
                    "id"            => "card_title",
                    "default"       => "10 Years Experience in Digital marketing",
                    "group"         => 'Card'
                ),
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'Rating',
                    "id"            => "card_rating",
                    "default"       => "4.5",
                    "group"         => 'Card'
                ),
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'Rating Text',
                    "id"            => "card_rating_text",
                    "default"       => "Star Rating on",
                    "group"         => 'Card'
                ),
                array(
                    "type"          => "media",
                    "class"         => "",
                    "title"         => 'Rating Text Image',
                    "id"            => "card_rating_text_image",
                    "group"         => 'Card'
                ),
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'Button Text',
                    "id"            => "card_button_text",
                    "default"       => "Rate Us on Trustpilot",
                    "group"         => 'Card'
                ),
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'Button Link',
                    "id"            => "card_button_link",
                    "group"         => 'Card'
                ),
                array(
                    "id"        => "proof_card",
                    "type"      => "group",
                    "title"     => "Proof Cards",
                    "default"   => "",
                    "group"     => "Proof Cards",
                    "params" => array(
                        array(
                            "id"        => "logo",
                            "type"      => "media",
                            "title"     => "Logo",
                            "class"     => "",
                        ),
                        array(
                            "id"        => "title",
                            "type"      => "text",
                            "title"     => "Title",
                            "class"     => "",
                        ),
                        array(
                            'id'       => 'rating',
                            'type'     => 'select',
                            'title'    => __('Rating'), 
                            'desc'     => __('Select Rating.'),
                            'options'  => array(
                                '1' => '1 Star',
                                '2' => '2 Star',
                                '3' => '3 Star',
                                '4' => '4 Star',
                                '5' => '5 Star'
                            ),
                            'default'  => '5',
                            "group"         => "Rating"
                        ),
                        array(
                            "id"        => "review_text",
                            "type"      => "text",
                            "title"     => "Review Text",
                            "class"     => "",
                        ),
                    )
                ),
                array(
                    'type'         =>    'text',
                    'title'        =>    'No. of Posts Per Page',
                    'id'           =>    'no_of_posts',
                    'default'      =>     $this->limit,
                    'group'        =>    'Pagination'
                ),
                array(
                    'type'          =>  'select',
                    'title'         =>  'Order By',
                    'id'            =>  'orderby',
                    'default'       =>  array(),
                    'options'       =>  $this->orderby_options,
                    'group'         =>  'Pagination'
                ),
                array(
                    'type'          =>  'select',
                    'title'         =>  'Order',
                    'id'            =>  'order',
                    'default'       =>  array(),
                    'options'       =>  $this->order_options,
                    'group'         =>  'Pagination'
                ),
            )
        );

        $this->theme_elements['testimonial_slider_2'] = array(
            'name' => 'Testimonial Slider 2',
            'base' => 'testimonial_slider_2',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/testimonial_slider_2.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'Title',
                    "id"            => "title",
                    "default"       => "Our Clients Can’t Say Anything Bad About Us",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'SubTitle',
                    "id"            => "subtitle",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "textarea",
                    "class"         => "",
                    "title"         => 'Description',
                    "id"            => "description",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "multi_select",
                    "class"         => "",
                    "title"         => "Select Testimonial Category",
                    "id"            => "testimonial_categories",
                    "description"   => "",
                    "options"       => $this->getCPTCategories('testimonials'),
                    "group"         => "General",
                    "ajax_url"      => \url('/').'/admin/magic_editors/get_post_by_cpt_category',
                    "ajax_container"=> "testimonialsContainer",
                ),
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'Title',
                    "id"            => "card_title",
                    "default"       => "Step into the vibrant world of creativity with our agency!",
                    "group"         => 'Card'
                ),
                array(
                    "type"          => "textarea",
                    "class"         => "",
                    "title"         => 'Description',
                    "id"            => "card_description",
                    "default"       => "Explore a dynamic agency where creativity thrives, ideas flourish, and innovative solutions bring bold visions to life. Join us today!",
                    "group"         => 'Card'
                ),
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'Counter 1 Digit',
                    "id"            => "counter_1_digit",
                    "default"       => "500",
                    "group"         => 'Card'
                ),
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'Counter 1 Symbol',
                    "id"            => "counter_1_symbol",
                    "default"       => "+",
                    "group"         => 'Card'
                ),
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'Counter 1 Text',
                    "id"            => "counter_1_text",
                    "default"       => "Successful Projects",
                    "group"         => 'Card'
                ),
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'Counter 2 Digit',
                    "id"            => "counter_2_digit",
                    "default"       => "120",
                    "group"         => 'Card'
                ),
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'Counter 2 Symbol',
                    "id"            => "counter_2_symbol",
                    "default"       => "+",
                    "group"         => 'Card'
                ),
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'Counter 2 Text',
                    "id"            => "counter_2_text",
                    "default"       => "Talented Team Members",
                    "group"         => 'Card'
                ),
                array(
                    'type'         =>    'text',
                    'title'        =>    'No. of Posts Per Page',
                    'id'           =>    'no_of_posts',
                    'default'      =>     $this->limit,
                    'group'        =>    'Pagination'
                ),
                array(
                    'type'          =>  'select',
                    'title'         =>  'Order By',
                    'id'            =>  'orderby',
                    'default'       =>  array(),
                    'options'       =>  $this->orderby_options,
                    'group'         =>  'Pagination'
                ),
                array(
                    'type'          =>  'select',
                    'title'         =>  'Order',
                    'id'            =>  'order',
                    'default'       =>  array(),
                    'options'       =>  $this->order_options,
                    'group'         =>  'Pagination'
                ),
            )
        );
        
         $this->theme_elements['testimonial_slider_3'] = array(
            'name' => 'Testimonial Slider 3',
            'base' => 'testimonial_slider_3',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/testimonial_slider_3.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'Title',
                    "id"            => "title",
                    "default"       => "What Clients Says",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'SubTitle',
                    "id"            => "subtitle",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "textarea",
                    "class"         => "",
                    "title"         => 'Description',
                    "id"            => "description",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "multi_select",
                    "class"         => "",
                    "title"         => "Select Testimonial Category",
                    "id"            => "testimonial_categories",
                    "description"   => "",
                    "options"       => $this->getCPTCategories('testimonials'),
                    "group"         => "General",
                    "ajax_url"      => \url('/').'/admin/magic_editors/get_post_by_cpt_category',
                    "ajax_container"=> "testimonialsContainer",
                ),
                array(
                    'type'         =>    'text',
                    'title'        =>    'No. of Posts Per Page',
                    'id'           =>    'no_of_posts',
                    'default'      =>     $this->limit,
                    'group'        =>    'Pagination'
                ),
                array(
                    'type'          =>  'select',
                    'title'         =>  'Order By',
                    'id'            =>  'orderby',
                    'default'       =>  array(),
                    'options'       =>  $this->orderby_options,
                    'group'         =>  'Pagination'
                ),
                array(
                    'type'          =>  'select',
                    'title'         =>  'Order',
                    'id'            =>  'order',
                    'default'       =>  array(),
                    'options'       =>  $this->order_options,
                    'group'         =>  'Pagination'
                ),
            )
        );

        $this->theme_elements['video_box_1'] = array(
            'name' => 'Video Box 1',
            'base' => 'video_box_1',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/video_box_1.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "type"          => "media",
                    "class"         => "",
                    "title"         => 'Upload Video',
                    "id"            => "video_link",
                    "group"         => 'General'
                ),
            )
        );

        $this->theme_elements['video_box_2'] = array(
            'name' => 'Video Box 2',
            'base' => 'video_box_2',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/video_box_2.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "type"          => "media",
                    "class"         => "",
                    "title"         => 'Background Image',
                    "id"            => "background_image",
                    "group"         => 'General'
                ),
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'Youtube Link',
                    "id"            => "youtube_link",
                    "group"         => 'General'
                ),
            )
        );
        
        $this->theme_elements['category_listing_1'] = array(
            'name' => 'Category Listing 1',
            'base' => 'category_listing_1',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/category_listing_1.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "id"            => "title",
                    "type"          => "text",
                    "title"         => "Title",
                    "default"       => "Category",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "subtitle",
                    "type"          => "text",
                    "title"         => "Subtitle",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "description",
                    "type"          => "textarea",
                    "title"         => "Description",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "type"          => "multi_select",
                    "class"         => "",
                    "title"         => "Select Categories",
                    "id"            => 'category_ids',
                    'default'       =>  array(),
                    "options"       => $this->categories,
                    "group"         => 'General'
                ),
                array(
                    'type'          => 'checkbox',
                    'title'         => 'Category With Images Only',
                    'id'            => 'category_with_images',
                    'default'       => 'true',
                    "group"         => 'Advance'
                ),
                array(
                    'type'          =>  'checkbox',
                    'title'         =>  'Enable Pagination',
                    'id'            =>  'pagination',
                    'default'       =>  'true',
                    'group'         =>  'Pagination Section'
                ),
                array(
                    'type'          =>  'text',
                    'title'         =>  'No. of Category Per Page',
                    'id'            =>  'no_of_category',
                    'default'       =>  $this->limit,
                    'group'         =>  'Pagination Section'
                ),
                array(
                    'type'          =>  'select',
                    'title'         =>  'Order By',
                    'id'            =>  'orderby',
                    'default'       =>  array(),
                    'options'       =>  array(
                                            'title'      => 'Title',
                                            'created_at' => 'Created Date',
                                            'rand'       => 'Random'
                                        ),
                    'group'         =>  'Pagination Section'
                ),
                array(
                    'type'          =>  'select',
                    'title'         =>  'Order',
                    'id'            =>  'order',
                    'default'       =>  array(),
                    'options'       =>  $this->order_options,
                    'group'         =>  'Pagination Section'
                ),
                array(
                    'type'          =>  'checkbox',
                    'title'         =>  'View All Link',
                    'id'            =>  'view_all',
                    'default'       =>  'true',
                    'group'         =>  'Pagination Section'
                ),
                array(
                    'type'          =>  'select',
                    'title'         =>  'Select Page',
                    'id'            =>  'page_id',
                    'default'       =>  array(),
                    'options'       =>  $this->pages,
                    'group'         =>  'Pagination Section',
                    'depend_on'     =>  'view_all'
                ),
            )
        );
        
        $this->theme_elements['map_1'] = array(
            'name' => 'Map 1',
            'base' => 'map_1',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/map_1.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "id"            => "title",
                    "type"          => "text",
                    "title"         => "Title",
                    "default"       => "Visit us at below locations",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "subtitle",
                    "type"          => "text",
                    "title"         => "Subtitle",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "description",
                    "type"          => "textarea",
                    "title"         => "Description",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"        => "location",
                    "type"      => "group",
                    "title"     => "Location",
                    "default"   => "",
                    "group"     => "Location",
                    "params" => array(
                        array(
                            "id"        => "image",
                            "type"      => "media",
                            "title"     => "Image",
                            "class"     => "",
                        ),
                        array(
                            "id"        => "location_name",
                            "type"      => "text",
                            "title"     => "Location",
                            "class"     => "",
                        ),
                        array(
                            "id"        => "phone_number",
                            "type"      => "text",
                            "title"     => "Phone Number",
                            "class"     => "",
                        ),
                        array(
                            "id"        => "email",
                            "type"      => "text",
                            "title"     => "Email",
                            "class"     => "",
                        ),
                        array(
                            "id"        => "top_position",
                            "type"      => "text",
                            "title"     => "Top Position (In %)",
                            "class"     => "",
                        ),
                        array(
                            "id"        => "left_position",
                            "type"      => "text",
                            "title"     => "Left Position (In %)",
                            "class"     => "",
                        ),
                    )
                ),
            )
        );

        $this->theme_elements['map_2'] = array(
            'name' => 'Map 2',
            'base' => 'map_2',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/map_2.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "id"            => "title",
                    "type"          => "text",
                    "title"         => "Title",
                    "default"       => "Ready to Build a More Profitable, Sustainable Business?",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "subtitle",
                    "type"          => "text",
                    "title"         => "Subtitle",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "description",
                    "type"          => "textarea",
                    "title"         => "Description",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "button_text",
                    "type"          => "text",
                    "title"         => "Button Text",
                    "default"       => "Free Consultation",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "button_link",
                    "type"          => "text",
                    "title"         => "Button Link",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"        => "location",
                    "type"      => "group",
                    "title"     => "Location",
                    "default"   => "",
                    "group"     => "Location",
                    "params" => array(
                        array(
                            "id"        => "location_name",
                            "type"      => "text",
                            "title"     => "Location",
                            "class"     => "",
                        ),
                        array(
                            "id"        => "location_link",
                            "type"      => "text",
                            "title"     => "Location Link",
                            "class"     => "",
                        ),
                        array(
                            "id"        => "top_position",
                            "type"      => "text",
                            "title"     => "Top Position (In %)",
                            "class"     => "",
                        ),
                        array(
                            "id"        => "left_position",
                            "type"      => "text",
                            "title"     => "Left Position (In %)",
                            "class"     => "",
                        ),
                    )
                ),
            )
        );
        
        $this->theme_elements['gallery_slider_1'] = array(
            'name' => 'Gallery Slider 1',
            'base' => 'gallery_slider_1',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/gallery_slider_1.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "id"            => "image_gallery",
                    "type"          => "gallery",
                    "title"         => "Image Gallery",
                    "class"         => "",
                    "group"         => "General"
                ),
            )
        );

        $this->theme_elements['image_box_1'] = array(
            'name' => 'Image Box 1',
            'base' => 'image_box_1',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/image_box_1.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "id"            => "marquee_list",
                    "type"          => "textarea",
                    "title"         => "Marquee List",
                    "desc"          => "Add comma (,) to separate texts for marquee effect.",
                    "default"       => "Branding, Marketing, Design, Development, SEO, Advertising",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "image",
                    "type"          => "media",
                    "title"         => "Image",
                    "class"         => "",
                    "group"         => "General"
                ),
            )
        );

        $this->theme_elements['why_choose_us_1'] = array(
            'name' => 'Why Choose Us 1',
            'base' => 'why_choose_us_1',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/why_choose_us_1.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "id"            => "title",
                    "type"          => "text",
                    "title"         => "Title",
                    "default"       => "Why Choose Plexify",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "subtitle",
                    "type"          => "text",
                    "title"         => "Subtitle",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "description",
                    "type"          => "textarea",
                    "title"         => "Description",
                    "default"       => "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been.",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"        => "item",
                    "type"      => "group",
                    "title"     => "Item",
                    "default"   => "",
                    "group"     => "Item",
                    "params" => array(
                        array(
                            "id"        => "title",
                            "type"      => "text",
                            "title"     => "Title",
                            "class"     => "",
                        ),
                        array(
                            "id"        => "description",
                            "type"      => "textarea",
                            "title"     => "Description",
                            "class"     => "",
                        ),
                        array(
                            "id"        => "image",
                            "type"      => "media",
                            "title"     => "Image",
                            "class"     => "",
                        ),
                    )
                ),
                array(
                    "id"            => "partner_title",
                    "type"          => "text",
                    "title"         => "Title",
                    "default"       => "Trusted by Industry Leaders",
                    "class"         => "",
                    "group"         => "Partner"
                ),
                array(
                    "id"            => "image_gallery",
                    "type"          => "gallery",
                    "title"         => "Image Gallery",
                    "class"         => "",
                    "group"         => "Partner"
                ),
            )
        );

        $this->theme_elements['newsletter_box_1'] = array(
            'name' => 'Newsletter Box 1',
            'base' => 'newsletter_box_1',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/plexify/newsletter_box_1.png'),
            'description' => '',
            'css' => '',
            'params' => array(
                array(
                    "id"            => "title",
                    "type"          => "text",
                    "title"         => "Title",
                    "default"       => "Subscribe Our Newsletter for the Latest Updates",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "subtitle",
                    "type"          => "text",
                    "title"         => "Subtitle",
                    "class"         => "",
                    "group"         => "General"
                ),
                array(
                    "id"            => "description",
                    "type"          => "textarea",
                    "title"         => "Description",
                    "class"         => "",
                    "group"         => "General"
                ),
            )
        );

    }

    public function setWidgetElements() {


        $this->widget_elements['menu_list'] = array(
            'name' => 'Menus List',
            'base' => 'menu_list',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/widgets/menu_list.png'),
            'description' => 'Shows Block.',
            'css' => '',
            'params' => array(              
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'Title',
                    "id"            => "title",
                    "group"         => "General"
                ), 
                 array(
                    "type"          =>  "select",
                    "title"         =>  "Select Menus",
                    "id"            =>  "menu",
                    "options"       =>  $this->menus,
                    "group"         =>  "General",
                ),              
                
            )
        );

        $this->widget_elements['widget_contact'] = array(
            'name' => 'Contact Info',
            'base' => 'widget_contact',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/widgets/widget_contact.png'),
            'description' => 'Shows Block.',
            'css' => '',
            'params' => array(              
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'Title',
                    "id"            => "title",
                    "group"         => "General"
                ),
                array(
                    "id"        => "item_list",
                    "type"      => "group",
                    "title"     => "Items",
                    "default"   => "",
                    "group"     => "Items",
                    "params" => array(
                        array(
                            "id"        => "title",
                            "type"      => "text",
                            "title"     => "Title",
                            "class"     => "",
                        ),
                        array(
                            "id"        => "url",
                            "type"      => "text",
                            "title"     => "Url",
                            "class"     => "",
                        ),
                    )
                ),
            )
        );

        $this->widget_elements['link_item'] = array(
            'name' => 'Link Item',
            'base' => 'link_item',
            'class' => '',
            'category' => 'Plexify',
            'icon' => asset('/themes/frontend/plexify/images/MagicEditor/theme-elements/widgets/link_item.png'),
            'description' => 'Shows Block.',
            'css' => '',
            'params' => array(              
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'Heading',
                    "id"            => "heading",
                    "group"         => "General"
                ), 
                array(
                    "type"          => "text",
                    "class"         => "",
                    "title"         => 'Title',
                    "id"            => "title",
                    "group"         => "General"
                ), 
                array(
                    'type'          =>  'select',
                    'title'         =>  'Select Page',
                    'id'            =>  'page_id',
                    'default'       =>  array(),
                    'options'       =>  $this->pages,
                    'group'         =>  'General',
                ),
                array(
                    "id"            => "show_icon",
                    "type"          => "switch",
                    "title"         => "Show Icon",
                    'on'            => __('On') ,
                    'off'           => __('Off') ,
                    'default'       => false,
                    "class"         => "",
                    "group"         => "General"
                ),
            )
        );

    }

}
?>