← All changes
|
elementor-elements/classes/wdk-listing-sliders.php
+132
-132
1.3.1
→
1.5.9
View file →
| @@ -28,19 +28,19 @@ | ||
| 28 | 28 | public function __construct($data = array(), $args = null) { |
| 29 | 29 | |
| 30 | 30 | \Elementor\Controls_Manager::add_tab( |
| 31 | 31 | 'tab_conf', |
| 32 | - esc_html__('Settings', 'wdk-listing-sliders') | |
| 32 | + esc_html__('Settings', 'wpdirectorykit') | |
| 33 | 33 | ); |
| 34 | 34 | |
| 35 | 35 | \Elementor\Controls_Manager::add_tab( |
| 36 | 36 | 'tab_slider_main', |
| 37 | - esc_html__('Slider Main', 'wdk-listing-sliders') | |
| 37 | + esc_html__('Slider Main', 'wpdirectorykit') | |
| 38 | 38 | ); |
| 39 | 39 | |
| 40 | 40 | \Elementor\Controls_Manager::add_tab( |
| 41 | 41 | 'tab_slider_nav', |
| 42 | - esc_html__('Slider Nav', 'wdk-listing-sliders') | |
| 42 | + esc_html__('Slider Nav', 'wpdirectorykit') | |
| 43 | 43 | ); |
| 44 | 44 | |
| 45 | 45 | if ($this->is_edit_mode_load()) { |
| 46 | 46 | $this->enqueue_styles_scripts(); |
| @@ -88,9 +88,9 @@ | ||
| 88 | 88 | * |
| 89 | 89 | * @return string Widget title. |
| 90 | 90 | */ |
| 91 | 91 | public function get_title() { |
| 92 | - return esc_html__('Wdk Listing Slider + Carousel', 'wdk-listing-sliders'); | |
| 92 | + return esc_html__('Wdk Listing Slider + Carousel', 'wpdirectorykit'); | |
| 93 | 93 | } |
| 94 | 94 | |
| 95 | 95 | /** |
| 96 | 96 | * Retrieve the widget icon. |
| @@ -154,9 +154,9 @@ | ||
| 154 | 154 | } else { |
| 155 | 155 | /* return false if no content */ |
| 156 | 156 | } |
| 157 | 157 | |
| 158 | - echo $this->view('wdk-listing-sliders', $this->data); | |
| 158 | + $this->view('wdk-listing-sliders', $this->data, true); | |
| 159 | 159 | } |
| 160 | 160 | |
| 161 | 161 | |
| 162 | 162 | private function generate_controls_conf() { |
| @@ -162,9 +162,9 @@ | ||
| 162 | 162 | private function generate_controls_conf() { |
| 163 | 163 | $this->start_controls_section( |
| 164 | 164 | 'tab_conf_main_section', |
| 165 | 165 | [ |
| 166 | - 'label' => esc_html__('Main', 'wdk-listing-sliders'), | |
| 166 | + 'label' => esc_html__('Main', 'wpdirectorykit'), | |
| 167 | 167 | 'tab' => 'tab_conf', |
| 168 | 168 | ] |
| 169 | 169 | ); |
| 170 | 170 | |
| @@ -170,9 +170,9 @@ | ||
| 170 | 170 | |
| 171 | 171 | $this->add_control( |
| 172 | 172 | 'limit_images', |
| 173 | 173 | [ |
| 174 | - 'label' => __( 'Limit Images', 'wdk-listing-sliders' ), | |
| 174 | + 'label' => __( 'Limit Images', 'wpdirectorykit' ), | |
| 175 | 175 | 'type' => \Elementor\Controls_Manager::NUMBER, |
| 176 | 176 | 'min' => 1, |
| 177 | 177 | 'max' => 100, |
| 178 | 178 | 'step' => 1, |
| @@ -182,9 +182,9 @@ | ||
| 182 | 182 | |
| 183 | 183 | $this->add_control( |
| 184 | 184 | 'offset_images', |
| 185 | 185 | [ |
| 186 | - 'label' => __( 'Offset Images', 'wdk-listing-sliders' ), | |
| 186 | + 'label' => __( 'Offset Images', 'wpdirectorykit' ), | |
| 187 | 187 | 'type' => \Elementor\Controls_Manager::NUMBER, |
| 188 | 188 | 'min' => 1, |
| 189 | 189 | 'max' => 100, |
| 190 | 190 | 'step' => 1, |
| @@ -214,9 +214,9 @@ | ||
| 214 | 214 | |
| 215 | 215 | $this->start_controls_section( |
| 216 | 216 | 'tab_slider_nav', |
| 217 | 217 | [ |
| 218 | - 'label' => esc_html__('Basic', 'wdk-listing-sliders'), | |
| 218 | + 'label' => esc_html__('Basic', 'wpdirectorykit'), | |
| 219 | 219 | 'tab' => 'tab_slider_main', |
| 220 | 220 | ] |
| 221 | 221 | ); |
| 222 | 222 | |
| @@ -225,9 +225,9 @@ | ||
| 225 | 225 | |
| 226 | 226 | $this->start_controls_section( |
| 227 | 227 | 'layout_carousel_sec', |
| 228 | 228 | [ |
| 229 | - 'label' => esc_html__('Carousel Options', 'wdk-listing-sliders'), | |
| 229 | + 'label' => esc_html__('Carousel Options', 'wpdirectorykit'), | |
| 230 | 230 | 'tab' => 'tab_slider_main', |
| 231 | 231 | ] |
| 232 | 232 | ); |
| 233 | 233 | |
| @@ -233,12 +233,12 @@ | ||
| 233 | 233 | |
| 234 | 234 | $this->add_control( |
| 235 | 235 | 'layout_carousel_is_infinite', |
| 236 | 236 | [ |
| 237 | - 'label' => __( 'Infinite', 'wdk-listing-sliders' ), | |
| 237 | + 'label' => __( 'Infinite', 'wpdirectorykit' ), | |
| 238 | 238 | 'type' => \Elementor\Controls_Manager::SWITCHER, |
| 239 | - 'label_on' => __( 'On', 'wdk-listing-sliders' ), | |
| 240 | - 'label_off' => __( 'Off', 'wdk-listing-sliders' ), | |
| 239 | + 'label_on' => __( 'On', 'wpdirectorykit' ), | |
| 240 | + 'label_off' => __( 'Off', 'wpdirectorykit' ), | |
| 241 | 241 | 'return_value' => 'true', |
| 242 | 242 | 'default' => 'true', |
| 243 | 243 | ] |
| 244 | 244 | ); |
| @@ -245,12 +245,12 @@ | ||
| 245 | 245 | |
| 246 | 246 | $this->add_control( |
| 247 | 247 | 'layout_carousel_is_autoplay', |
| 248 | 248 | [ |
| 249 | - 'label' => __( 'Autoplay', 'wdk-listing-sliders' ), | |
| 249 | + 'label' => __( 'Autoplay', 'wpdirectorykit' ), | |
| 250 | 250 | 'type' => \Elementor\Controls_Manager::SWITCHER, |
| 251 | - 'label_on' => __( 'On', 'wdk-listing-sliders' ), | |
| 252 | - 'label_off' => __( 'Off', 'wdk-listing-sliders' ), | |
| 251 | + 'label_on' => __( 'On', 'wpdirectorykit' ), | |
| 252 | + 'label_off' => __( 'Off', 'wpdirectorykit' ), | |
| 253 | 253 | 'return_value' => 'true', |
| 254 | 254 | 'default' => '', |
| 255 | 255 | ] |
| 256 | 256 | ); |
| @@ -257,9 +257,9 @@ | ||
| 257 | 257 | |
| 258 | 258 | $this->add_control( |
| 259 | 259 | 'layout_carousel_speed', |
| 260 | 260 | [ |
| 261 | - 'label' => __( 'Speed', 'wdk-listing-sliders' ), | |
| 261 | + 'label' => __( 'Speed', 'wpdirectorykit' ), | |
| 262 | 262 | 'type' => \Elementor\Controls_Manager::NUMBER, |
| 263 | 263 | 'min' => 0, |
| 264 | 264 | 'max' => 100000, |
| 265 | 265 | 'step' => 100, |
| @@ -269,15 +269,15 @@ | ||
| 269 | 269 | |
| 270 | 270 | $this->add_control( |
| 271 | 271 | 'layout_carousel_animation_style', |
| 272 | 272 | [ |
| 273 | - 'label' => __( 'Animation Style', 'wdk-listing-sliders' ), | |
| 273 | + 'label' => __( 'Animation Style', 'wpdirectorykit' ), | |
| 274 | 274 | 'type' => \Elementor\Controls_Manager::SELECT, |
| 275 | 275 | 'default' => 'fade_in', |
| 276 | 276 | 'options' => [ |
| 277 | - 'slide' => __( 'Slide', 'wdk-listing-sliders' ), | |
| 278 | - 'fade' => __( 'Fade', 'wdk-listing-sliders' ), | |
| 279 | - 'fade_in' => __( 'Fade in', 'wdk-listing-sliders' ), | |
| 277 | + 'slide' => __( 'Slide', 'wpdirectorykit' ), | |
| 278 | + 'fade' => __( 'Fade', 'wpdirectorykit' ), | |
| 279 | + 'fade_in' => __( 'Fade in', 'wpdirectorykit' ), | |
| 280 | 280 | ], |
| 281 | 281 | ] |
| 282 | 282 | ); |
| 283 | 283 | |
| @@ -283,19 +283,19 @@ | ||
| 283 | 283 | |
| 284 | 284 | $this->add_control( |
| 285 | 285 | 'layout_carousel_cssease', |
| 286 | 286 | [ |
| 287 | - 'label' => __( 'cssEase ', 'wdk-listing-sliders' ), | |
| 287 | + 'label' => __( 'cssEase ', 'wpdirectorykit' ), | |
| 288 | 288 | 'type' => \Elementor\Controls_Manager::SELECT, |
| 289 | 289 | 'default' => 'linear', |
| 290 | 290 | 'options' => [ |
| 291 | - 'linear' => __( 'linear', 'wdk-listing-sliders' ), | |
| 292 | - 'ease' => __( 'ease', 'wdk-listing-sliders' ), | |
| 293 | - 'ease-in' => __( 'ease-in', 'wdk-listing-sliders' ), | |
| 294 | - 'ease-out' => __( 'ease-out', 'wdk-listing-sliders' ), | |
| 295 | - 'ease-in-out' => __( 'ease-in-out', 'wdk-listing-sliders' ), | |
| 296 | - 'step-start' => __( 'step-start', 'wdk-listing-sliders' ), | |
| 297 | - 'step-end' => __( 'step-end', 'wdk-listing-sliders' ), | |
| 291 | + 'linear' => __( 'linear', 'wpdirectorykit' ), | |
| 292 | + 'ease' => __( 'ease', 'wpdirectorykit' ), | |
| 293 | + 'ease-in' => __( 'ease-in', 'wpdirectorykit' ), | |
| 294 | + 'ease-out' => __( 'ease-out', 'wpdirectorykit' ), | |
| 295 | + 'ease-in-out' => __( 'ease-in-out', 'wpdirectorykit' ), | |
| 296 | + 'step-start' => __( 'step-start', 'wpdirectorykit' ), | |
| 297 | + 'step-end' => __( 'step-end', 'wpdirectorykit' ), | |
| 298 | 298 | ], |
| 299 | 299 | ] |
| 300 | 300 | ); |
| 301 | 301 | |
| @@ -304,9 +304,9 @@ | ||
| 304 | 304 | |
| 305 | 305 | $this->start_controls_section( |
| 306 | 306 | 'layout_carousel_nav_sec', |
| 307 | 307 | [ |
| 308 | - 'label' => esc_html__('Carousel Nav Options', 'wdk-listing-sliders'), | |
| 308 | + 'label' => esc_html__('Carousel Nav Options', 'wpdirectorykit'), | |
| 309 | 309 | 'tab' => '1', |
| 310 | 310 | ] |
| 311 | 311 | ); |
| 312 | 312 | |
| @@ -312,12 +312,12 @@ | ||
| 312 | 312 | |
| 313 | 313 | $this->add_responsive_control( |
| 314 | 314 | 'styles_thmbn_nav_section_hide', |
| 315 | 315 | [ |
| 316 | - 'label' => esc_html__( 'Hide Element', 'wdk-listing-sliders' ), | |
| 316 | + 'label' => esc_html__( 'Hide Element', 'wpdirectorykit' ), | |
| 317 | 317 | 'type' => Controls_Manager::SWITCHER, |
| 318 | - 'none' => esc_html__( 'Hide', 'wdk-listing-sliders' ), | |
| 319 | - 'block' => esc_html__( 'Show', 'wdk-listing-sliders' ), | |
| 318 | + 'none' => esc_html__( 'Hide', 'wpdirectorykit' ), | |
| 319 | + 'block' => esc_html__( 'Show', 'wpdirectorykit' ), | |
| 320 | 320 | 'return_value' => 'none', |
| 321 | 321 | 'default' => '', |
| 322 | 322 | 'selectors' => [ |
| 323 | 323 | '{{WRAPPER}} .banner-thumbs' => 'display: {{VALUE}};', |
| @@ -327,9 +327,9 @@ | ||
| 327 | 327 | |
| 328 | 328 | $this->add_responsive_control( |
| 329 | 329 | 'styles_thmbn_nav_columns', |
| 330 | 330 | [ |
| 331 | - 'label' => __( 'Count grid', 'wdk-listing-sliders' ), | |
| 331 | + 'label' => __( 'Count grid', 'wpdirectorykit' ), | |
| 332 | 332 | 'type' => \Elementor\Controls_Manager::NUMBER, |
| 333 | 333 | 'min' => 1, |
| 334 | 334 | 'max' => 10, |
| 335 | 335 | 'step' => 1, |
| @@ -339,12 +339,12 @@ | ||
| 339 | 339 | |
| 340 | 340 | $this->add_control( |
| 341 | 341 | 'layout_carousel_nav_is_infinite', |
| 342 | 342 | [ |
| 343 | - 'label' => __( 'Infinite', 'wdk-listing-sliders' ), | |
| 343 | + 'label' => __( 'Infinite', 'wpdirectorykit' ), | |
| 344 | 344 | 'type' => \Elementor\Controls_Manager::SWITCHER, |
| 345 | - 'label_on' => __( 'On', 'wdk-listing-sliders' ), | |
| 346 | - 'label_off' => __( 'Off', 'wdk-listing-sliders' ), | |
| 345 | + 'label_on' => __( 'On', 'wpdirectorykit' ), | |
| 346 | + 'label_off' => __( 'Off', 'wpdirectorykit' ), | |
| 347 | 347 | 'return_value' => 'true', |
| 348 | 348 | 'default' => 'true', |
| 349 | 349 | ] |
| 350 | 350 | ); |
| @@ -351,13 +351,13 @@ | ||
| 351 | 351 | |
| 352 | 352 | $this->add_control( |
| 353 | 353 | 'layout_carousel_nav_variableWidth', |
| 354 | 354 | [ |
| 355 | - 'label' => __( 'Variable width slides', 'wdk-listing-sliders' ), | |
| 356 | - 'description' => __( 'Ignore columns', 'wdk-listing-sliders' ), | |
| 355 | + 'label' => __( 'Variable width slides', 'wpdirectorykit' ), | |
| 356 | + 'description' => __( 'Ignore columns', 'wpdirectorykit' ), | |
| 357 | 357 | 'type' => \Elementor\Controls_Manager::SWITCHER, |
| 358 | - 'label_on' => __( 'On', 'wdk-listing-sliders' ), | |
| 359 | - 'label_off' => __( 'Off', 'wdk-listing-sliders' ), | |
| 358 | + 'label_on' => __( 'On', 'wpdirectorykit' ), | |
| 359 | + 'label_off' => __( 'Off', 'wpdirectorykit' ), | |
| 360 | 360 | 'return_value' => 'true', |
| 361 | 361 | 'default' => 'true', |
| 362 | 362 | ] |
| 363 | 363 | ); |
| @@ -364,12 +364,12 @@ | ||
| 364 | 364 | |
| 365 | 365 | $this->add_control( |
| 366 | 366 | 'layout_carousel_nav_is_center', |
| 367 | 367 | [ |
| 368 | - 'label' => __( 'Center Mode', 'wdk-listing-sliders' ), | |
| 368 | + 'label' => __( 'Center Mode', 'wpdirectorykit' ), | |
| 369 | 369 | 'type' => \Elementor\Controls_Manager::SWITCHER, |
| 370 | - 'label_on' => __( 'On', 'wdk-listing-sliders' ), | |
| 371 | - 'label_off' => __( 'Off', 'wdk-listing-sliders' ), | |
| 370 | + 'label_on' => __( 'On', 'wpdirectorykit' ), | |
| 371 | + 'label_off' => __( 'Off', 'wpdirectorykit' ), | |
| 372 | 372 | 'return_value' => 'true', |
| 373 | 373 | 'default' => '', |
| 374 | 374 | ] |
| 375 | 375 | ); |
| @@ -376,9 +376,9 @@ | ||
| 376 | 376 | |
| 377 | 377 | $this->add_control( |
| 378 | 378 | 'layout_carousel_nav_speed', |
| 379 | 379 | [ |
| 380 | - 'label' => __( 'Animations Speed', 'wdk-listing-sliders' ), | |
| 380 | + 'label' => __( 'Animations Speed', 'wpdirectorykit' ), | |
| 381 | 381 | 'type' => \Elementor\Controls_Manager::NUMBER, |
| 382 | 382 | 'min' => 0, |
| 383 | 383 | 'max' => 100000, |
| 384 | 384 | 'step' => 100, |
| @@ -389,12 +389,12 @@ | ||
| 389 | 389 | |
| 390 | 390 | $this->add_control( |
| 391 | 391 | 'layout_carousel_nav_is_autoplay', |
| 392 | 392 | [ |
| 393 | - 'label' => __( 'Autoplay', 'wdk-listing-sliders' ), | |
| 393 | + 'label' => __( 'Autoplay', 'wpdirectorykit' ), | |
| 394 | 394 | 'type' => \Elementor\Controls_Manager::SWITCHER, |
| 395 | - 'label_on' => __( 'On', 'wdk-listing-sliders' ), | |
| 396 | - 'label_off' => __( 'Off', 'wdk-listing-sliders' ), | |
| 395 | + 'label_on' => __( 'On', 'wpdirectorykit' ), | |
| 396 | + 'label_off' => __( 'Off', 'wpdirectorykit' ), | |
| 397 | 397 | 'return_value' => 'true', |
| 398 | 398 | 'default' => '', |
| 399 | 399 | ] |
| 400 | 400 | ); |
| @@ -401,9 +401,9 @@ | ||
| 401 | 401 | |
| 402 | 402 | $this->add_control( |
| 403 | 403 | 'layout_carousel_nav_autoplay_speed', |
| 404 | 404 | [ |
| 405 | - 'label' => __( 'Autoplay Speed', 'wdk-listing-sliders' ), | |
| 405 | + 'label' => __( 'Autoplay Speed', 'wpdirectorykit' ), | |
| 406 | 406 | 'type' => \Elementor\Controls_Manager::NUMBER, |
| 407 | 407 | 'min' => 0, |
| 408 | 408 | 'max' => 100000, |
| 409 | 409 | 'step' => 100, |
| @@ -413,15 +413,15 @@ | ||
| 413 | 413 | |
| 414 | 414 | $this->add_control( |
| 415 | 415 | 'layout_carousel_nav_animation_style', |
| 416 | 416 | [ |
| 417 | - 'label' => __( 'Animation Style', 'wdk-listing-sliders' ), | |
| 417 | + 'label' => __( 'Animation Style', 'wpdirectorykit' ), | |
| 418 | 418 | 'type' => \Elementor\Controls_Manager::SELECT, |
| 419 | 419 | 'default' => 'fade_in', |
| 420 | 420 | 'options' => [ |
| 421 | - 'slide' => __( 'Slide', 'wdk-listing-sliders' ), | |
| 422 | - 'fade' => __( 'Fade', 'wdk-listing-sliders' ), | |
| 423 | - 'fade_in' => __( 'Fade in', 'wdk-listing-sliders' ), | |
| 421 | + 'slide' => __( 'Slide', 'wpdirectorykit' ), | |
| 422 | + 'fade' => __( 'Fade', 'wpdirectorykit' ), | |
| 423 | + 'fade_in' => __( 'Fade in', 'wpdirectorykit' ), | |
| 424 | 424 | ], |
| 425 | 425 | ] |
| 426 | 426 | ); |
| 427 | 427 | |
| @@ -427,19 +427,19 @@ | ||
| 427 | 427 | |
| 428 | 428 | $this->add_control( |
| 429 | 429 | 'layout_carousel_nav_cssease', |
| 430 | 430 | [ |
| 431 | - 'label' => __( 'cssEase ', 'wdk-listing-sliders' ), | |
| 431 | + 'label' => __( 'cssEase ', 'wpdirectorykit' ), | |
| 432 | 432 | 'type' => \Elementor\Controls_Manager::SELECT, |
| 433 | 433 | 'default' => 'linear', |
| 434 | 434 | 'options' => [ |
| 435 | - 'linear' => __( 'linear', 'wdk-listing-sliders' ), | |
| 436 | - 'ease' => __( 'ease', 'wdk-listing-sliders' ), | |
| 437 | - 'ease-in' => __( 'ease-in', 'wdk-listing-sliders' ), | |
| 438 | - 'ease-out' => __( 'ease-out', 'wdk-listing-sliders' ), | |
| 439 | - 'ease-in-out' => __( 'ease-in-out', 'wdk-listing-sliders' ), | |
| 440 | - 'step-start' => __( 'step-start', 'wdk-listing-sliders' ), | |
| 441 | - 'step-end' => __( 'step-end', 'wdk-listing-sliders' ), | |
| 435 | + 'linear' => __( 'linear', 'wpdirectorykit' ), | |
| 436 | + 'ease' => __( 'ease', 'wpdirectorykit' ), | |
| 437 | + 'ease-in' => __( 'ease-in', 'wpdirectorykit' ), | |
| 438 | + 'ease-out' => __( 'ease-out', 'wpdirectorykit' ), | |
| 439 | + 'ease-in-out' => __( 'ease-in-out', 'wpdirectorykit' ), | |
| 440 | + 'step-start' => __( 'step-start', 'wpdirectorykit' ), | |
| 441 | + 'step-end' => __( 'step-end', 'wpdirectorykit' ), | |
| 442 | 442 | ], |
| 443 | 443 | ] |
| 444 | 444 | ); |
| 445 | 445 | |
| @@ -451,9 +451,9 @@ | ||
| 451 | 451 | |
| 452 | 452 | $items = [ |
| 453 | 453 | [ |
| 454 | 454 | 'key'=>'card', |
| 455 | - 'label'=> esc_html__('Slider', 'wdk-listing-sliders'), | |
| 455 | + 'label'=> esc_html__('Slider', 'wpdirectorykit'), | |
| 456 | 456 | 'selector'=>'.wdk_listing_slider_box .wdk-listing-image-card', |
| 457 | 457 | 'selector_hover'=>'.wdk_listing_slider_box .wdk-listing-image-card%1$s', |
| 458 | 458 | 'options'=>['background','border','border_radius','padding','shadow','transition'], |
| 459 | 459 | ], |
| @@ -479,9 +479,9 @@ | ||
| 479 | 479 | |
| 480 | 480 | $this->start_controls_section( |
| 481 | 481 | 'styles_thmbn_type', |
| 482 | 482 | [ |
| 483 | - 'label' => esc_html__('Image Slide', 'wdk-listing-sliders'), | |
| 483 | + 'label' => esc_html__('Image Slide', 'wpdirectorykit'), | |
| 484 | 484 | 'tab' => 'tab_slider_main', |
| 485 | 485 | ] |
| 486 | 486 | ); |
| 487 | 487 | |
| @@ -487,16 +487,16 @@ | ||
| 487 | 487 | |
| 488 | 488 | $this->add_control( |
| 489 | 489 | 'layout_image_design', |
| 490 | 490 | [ |
| 491 | - 'label' => __( 'Size style thumbnail', 'wdk-listing-sliders' ), | |
| 491 | + 'label' => __( 'Size style thumbnail', 'wpdirectorykit' ), | |
| 492 | 492 | 'type' => \Elementor\Controls_Manager::SELECT, |
| 493 | 493 | 'options' => [ |
| 494 | - '' => __( 'Default', 'wdk-listing-sliders' ), | |
| 495 | - 'none' => __( 'None', 'wdk-listing-sliders' ), | |
| 496 | - 'contain' => __( 'Contain', 'wdk-listing-sliders' ), | |
| 497 | - 'cover' => __( 'Cover', 'wdk-listing-sliders' ), | |
| 498 | - 'fill' => __( 'Fill', 'wdk-listing-sliders' ), | |
| 494 | + '' => __( 'Default', 'wpdirectorykit' ), | |
| 495 | + 'none' => __( 'None', 'wpdirectorykit' ), | |
| 496 | + 'contain' => __( 'Contain', 'wpdirectorykit' ), | |
| 497 | + 'cover' => __( 'Cover', 'wpdirectorykit' ), | |
| 498 | + 'fill' => __( 'Fill', 'wpdirectorykit' ), | |
| 499 | 499 | ], |
| 500 | 500 | 'selectors' => [ |
| 501 | 501 | '{{WRAPPER}} .wdk_listing_slider_box .wdk-listing-image' => 'object-fit: {{VALUE}}', |
| 502 | 502 | ], |
| @@ -505,9 +505,9 @@ | ||
| 505 | 505 | |
| 506 | 506 | $this->add_responsive_control( |
| 507 | 507 | 'layout_image_mask_header', |
| 508 | 508 | [ |
| 509 | - 'label' => esc_html__('Mask', 'wdk-listing-sliders'), | |
| 509 | + 'label' => esc_html__('Mask', 'wpdirectorykit'), | |
| 510 | 510 | 'type' => Controls_Manager::HEADING, |
| 511 | 511 | 'separator' => 'before', |
| 512 | 512 | ] |
| 513 | 513 | ); |
| @@ -525,12 +525,12 @@ | ||
| 525 | 525 | |
| 526 | 526 | $this->add_control( |
| 527 | 527 | 'enable_fixed_height', |
| 528 | 528 | [ |
| 529 | - 'label' => __( 'Fixed Height', 'wdk-listing-sliders' ), | |
| 529 | + 'label' => __( 'Fixed Height', 'wpdirectorykit' ), | |
| 530 | 530 | 'type' => \Elementor\Controls_Manager::SWITCHER, |
| 531 | - 'label_on' => __( 'True', 'wdk-listing-sliders' ), | |
| 532 | - 'label_off' => __( 'False', 'wdk-listing-sliders' ), | |
| 531 | + 'label_on' => __( 'True', 'wpdirectorykit' ), | |
| 532 | + 'label_off' => __( 'False', 'wpdirectorykit' ), | |
| 533 | 533 | 'return_value' => 'yes', |
| 534 | 534 | 'default' => 'yes', |
| 535 | 535 | ] |
| 536 | 536 | ); |
| @@ -537,9 +537,9 @@ | ||
| 537 | 537 | |
| 538 | 538 | $this->add_responsive_control ( |
| 539 | 539 | 'styles_thmbn_des_height', |
| 540 | 540 | [ |
| 541 | - 'label' => esc_html__('Height', 'wdk-listing-sliders'), | |
| 541 | + 'label' => esc_html__('Height', 'wpdirectorykit'), | |
| 542 | 542 | 'type' => Controls_Manager::SLIDER, |
| 543 | 543 | 'range' => [ |
| 544 | 544 | 'px' => [ |
| 545 | 545 | 'min' => 100, |
| @@ -566,9 +566,9 @@ | ||
| 566 | 566 | |
| 567 | 567 | $this->start_controls_section( |
| 568 | 568 | 'styles_thmbn_nav_section', |
| 569 | 569 | [ |
| 570 | - 'label' => esc_html__('Thumbnail Navs', 'wdk-listing-sliders'), | |
| 570 | + 'label' => esc_html__('Thumbnail Navs', 'wpdirectorykit'), | |
| 571 | 571 | 'tab' => '1', |
| 572 | 572 | ] |
| 573 | 573 | ); |
| 574 | 574 | |
| @@ -581,9 +581,9 @@ | ||
| 581 | 581 | |
| 582 | 582 | $this->add_responsive_control( |
| 583 | 583 | 'layout_image_nav_image_header', |
| 584 | 584 | [ |
| 585 | - 'label' => esc_html__('Mask', 'wdk-listing-sliders'), | |
| 585 | + 'label' => esc_html__('Mask', 'wpdirectorykit'), | |
| 586 | 586 | 'type' => Controls_Manager::HEADING, |
| 587 | 587 | 'separator' => 'before', |
| 588 | 588 | ] |
| 589 | 589 | ); |
| @@ -597,9 +597,9 @@ | ||
| 597 | 597 | |
| 598 | 598 | $this->add_responsive_control( |
| 599 | 599 | 'layout_image_nav_mask_header', |
| 600 | 600 | [ |
| 601 | - 'label' => esc_html__('Mask', 'wdk-listing-sliders'), | |
| 601 | + 'label' => esc_html__('Mask', 'wpdirectorykit'), | |
| 602 | 602 | 'type' => Controls_Manager::HEADING, |
| 603 | 603 | 'separator' => 'before', |
| 604 | 604 | ] |
| 605 | 605 | ); |
| @@ -613,9 +613,9 @@ | ||
| 613 | 613 | |
| 614 | 614 | $this->add_responsive_control ( |
| 615 | 615 | 'styles_thmbn_nav_height', |
| 616 | 616 | [ |
| 617 | - 'label' => esc_html__('Height', 'wdk-listing-sliders'), | |
| 617 | + 'label' => esc_html__('Height', 'wpdirectorykit'), | |
| 618 | 618 | 'type' => Controls_Manager::SLIDER, |
| 619 | 619 | 'range' => [ |
| 620 | 620 | 'px' => [ |
| 621 | 621 | 'min' => 100, |
| @@ -625,9 +625,9 @@ | ||
| 625 | 625 | 'min' => 0, |
| 626 | 626 | 'max' => 100, |
| 627 | 627 | ], |
| 628 | 628 | ], |
| 629 | - 'size_units' => [ 'px', 'vw' ], | |
| 629 | + 'size_units' => [ 'px','em', 'vw', '%', 'custom' ], | |
| 630 | 630 | 'default' => [ |
| 631 | 631 | 'size' => 80, |
| 632 | 632 | 'unit' => 'px', |
| 633 | 633 | ], |
| @@ -640,9 +640,9 @@ | ||
| 640 | 640 | |
| 641 | 641 | $this->add_responsive_control( |
| 642 | 642 | 'styles_thmbn_nav_box', |
| 643 | 643 | [ |
| 644 | - 'label' => esc_html__('Nav container', 'wdk-listing-sliders'), | |
| 644 | + 'label' => esc_html__('Nav container', 'wpdirectorykit'), | |
| 645 | 645 | 'type' => Controls_Manager::HEADING, |
| 646 | 646 | 'separator' => 'before', |
| 647 | 647 | ] |
| 648 | 648 | ); |
| @@ -656,9 +656,9 @@ | ||
| 656 | 656 | |
| 657 | 657 | $this->start_controls_section( |
| 658 | 658 | 'styles_carousel_arrows_section', |
| 659 | 659 | [ |
| 660 | - 'label' => esc_html__('Carousel Arrows', 'wdk-listing-sliders'), | |
| 660 | + 'label' => esc_html__('Carousel Arrows', 'wpdirectorykit'), | |
| 661 | 661 | 'tab' => 'tab_slider_main', |
| 662 | 662 | ] |
| 663 | 663 | ); |
| 664 | 664 | |
| @@ -664,12 +664,12 @@ | ||
| 664 | 664 | |
| 665 | 665 | $this->add_responsive_control( |
| 666 | 666 | 'styles_carousel_arrows_hide', |
| 667 | 667 | [ |
| 668 | - 'label' => esc_html__( 'Hide Element', 'wdk-listing-sliders' ), | |
| 668 | + 'label' => esc_html__( 'Hide Element', 'wpdirectorykit' ), | |
| 669 | 669 | 'type' => Controls_Manager::SWITCHER, |
| 670 | - 'none' => esc_html__( 'Hide', 'wdk-listing-sliders' ), | |
| 671 | - 'block' => esc_html__( 'Show', 'wdk-listing-sliders' ), | |
| 670 | + 'none' => esc_html__( 'Hide', 'wpdirectorykit' ), | |
| 671 | + 'block' => esc_html__( 'Show', 'wpdirectorykit' ), | |
| 672 | 672 | 'return_value' => 'none', |
| 673 | 673 | 'default' => '', |
| 674 | 674 | 'selectors' => [ |
| 675 | 675 | '{{WRAPPER}} .wdk-listing-sliders .wdk-listing-sliders_arrows' => 'display: {{VALUE}};', |
| @@ -679,16 +679,16 @@ | ||
| 679 | 679 | |
| 680 | 680 | $this->add_responsive_control( |
| 681 | 681 | 'styles_carousel_arrows_position', |
| 682 | 682 | [ |
| 683 | - 'label' => __( 'Position', 'wdk-listing-sliders' ), | |
| 683 | + 'label' => __( 'Position', 'wpdirectorykit' ), | |
| 684 | 684 | 'type' => \Elementor\Controls_Manager::SELECT, |
| 685 | 685 | 'default' => 'wdk-listing-sliders_arrows_middle', |
| 686 | 686 | 'options' => [ |
| 687 | - '' => __( 'Default', 'wdk-listing-sliders' ), | |
| 688 | - 'wdk-listing-sliders_arrows_bottom' => __( 'Bottom', 'wdk-listing-sliders' ), | |
| 689 | - 'wdk-listing-sliders_arrows_middle' => __( 'Center', 'wdk-listing-sliders' ), | |
| 690 | - 'wdk-listing-sliders_arrows_top' => __( 'Top', 'wdk-listing-sliders' ), | |
| 687 | + '' => __( 'Default', 'wpdirectorykit' ), | |
| 688 | + 'wdk-listing-sliders_arrows_bottom' => __( 'Bottom', 'wpdirectorykit' ), | |
| 689 | + 'wdk-listing-sliders_arrows_middle' => __( 'Center', 'wpdirectorykit' ), | |
| 690 | + 'wdk-listing-sliders_arrows_top' => __( 'Top', 'wpdirectorykit' ), | |
| 691 | 691 | ], |
| 692 | 692 | ] |
| 693 | 693 | ); |
| 694 | 694 | |
| @@ -694,15 +694,15 @@ | ||
| 694 | 694 | |
| 695 | 695 | $this->add_responsive_control( |
| 696 | 696 | 'styles_carousel_arrows_position_style', |
| 697 | 697 | [ |
| 698 | - 'label' => __( 'Position Style', 'wdk-listing-sliders' ), | |
| 698 | + 'label' => __( 'Position Style', 'wpdirectorykit' ), | |
| 699 | 699 | 'type' => \Elementor\Controls_Manager::SELECT, |
| 700 | 700 | 'default' => 'wdk-listing-sliders_arrows_in', |
| 701 | 701 | 'options' => [ |
| 702 | - '' => __( 'Default', 'wdk-listing-sliders' ), | |
| 703 | - 'wdk-listing-sliders_arrows_out' => __( 'Out', 'wdk-listing-sliders' ), | |
| 704 | - 'wdk-listing-sliders_arrows_in' => __( 'In', 'wdk-listing-sliders' ), | |
| 702 | + '' => __( 'Default', 'wpdirectorykit' ), | |
| 703 | + 'wdk-listing-sliders_arrows_out' => __( 'Out', 'wpdirectorykit' ), | |
| 704 | + 'wdk-listing-sliders_arrows_in' => __( 'In', 'wpdirectorykit' ), | |
| 705 | 705 | ], |
| 706 | 706 | ] |
| 707 | 707 | ); |
| 708 | 708 | |
| @@ -708,25 +708,25 @@ | ||
| 708 | 708 | |
| 709 | 709 | $this->add_responsive_control( |
| 710 | 710 | 'styles_carousel_arrows_align', |
| 711 | 711 | [ |
| 712 | - 'label' => __( 'Align', 'wdk-listing-sliders' ), | |
| 712 | + 'label' => __( 'Align', 'wpdirectorykit' ), | |
| 713 | 713 | 'type' => Controls_Manager::CHOOSE, |
| 714 | 714 | 'options' => [ |
| 715 | 715 | 'left' => [ |
| 716 | - 'title' => esc_html__( 'Left', 'wdk-listing-sliders' ), | |
| 716 | + 'title' => esc_html__( 'Left', 'wpdirectorykit' ), | |
| 717 | 717 | 'icon' => 'eicon-text-align-left', |
| 718 | 718 | ], |
| 719 | 719 | 'center' => [ |
| 720 | - 'title' => esc_html__( 'Center', 'wdk-listing-sliders' ), | |
| 720 | + 'title' => esc_html__( 'Center', 'wpdirectorykit' ), | |
| 721 | 721 | 'icon' => 'eicon-text-align-center', |
| 722 | 722 | ], |
| 723 | 723 | 'right' => [ |
| 724 | - 'title' => esc_html__( 'Right', 'wdk-listing-sliders' ), | |
| 724 | + 'title' => esc_html__( 'Right', 'wpdirectorykit' ), | |
| 725 | 725 | 'icon' => 'eicon-text-align-right', |
| 726 | 726 | ], |
| 727 | 727 | 'justify' => [ |
| 728 | - 'title' => esc_html__( 'Justified', 'wdk-listing-sliders' ), | |
| 728 | + 'title' => esc_html__( 'Justified', 'wpdirectorykit' ), | |
| 729 | 729 | 'icon' => 'eicon-text-align-justify', |
| 730 | 730 | ], |
| 731 | 731 | ], |
| 732 | 732 | 'render_type' => 'ui', |
| @@ -753,9 +753,9 @@ | ||
| 753 | 753 | |
| 754 | 754 | $this->add_responsive_control( |
| 755 | 755 | 'styles_carousel_arrows_icon_left_h', |
| 756 | 756 | [ |
| 757 | - 'label' => esc_html__('Arrow left', 'wdk-listing-sliders'), | |
| 757 | + 'label' => esc_html__('Arrow left', 'wpdirectorykit'), | |
| 758 | 758 | 'type' => Controls_Manager::HEADING, |
| 759 | 759 | 'separator' => 'before', |
| 760 | 760 | ] |
| 761 | 761 | ); |
| @@ -766,9 +766,9 @@ | ||
| 766 | 766 | |
| 767 | 767 | $this->add_responsive_control( |
| 768 | 768 | 'styles_carousel_arrows_icon_left', |
| 769 | 769 | [ |
| 770 | - 'label' => esc_html__('Icon', 'wdk-listing-sliders'), | |
| 770 | + 'label' => esc_html__('Icon', 'wpdirectorykit'), | |
| 771 | 771 | 'type' => Controls_Manager::ICONS, |
| 772 | 772 | 'label_block' => true, |
| 773 | 773 | 'default' => [ |
| 774 | 774 | 'value' => 'fa fa-angle-left', |
| @@ -779,9 +779,9 @@ | ||
| 779 | 779 | |
| 780 | 780 | $this->add_responsive_control( |
| 781 | 781 | 'styles_carousel_arrows_icon_right_h', |
| 782 | 782 | [ |
| 783 | - 'label' => esc_html__('Arrow right', 'wdk-listing-sliders'), | |
| 783 | + 'label' => esc_html__('Arrow right', 'wpdirectorykit'), | |
| 784 | 784 | 'type' => Controls_Manager::HEADING, |
| 785 | 785 | 'separator' => 'before', |
| 786 | 786 | ] |
| 787 | 787 | ); |
| @@ -792,9 +792,9 @@ | ||
| 792 | 792 | |
| 793 | 793 | $this->add_responsive_control( |
| 794 | 794 | 'styles_carousel_arrows_icon_right', |
| 795 | 795 | [ |
| 796 | - 'label' => esc_html__('Icon', 'wdk-listing-sliders'), | |
| 796 | + 'label' => esc_html__('Icon', 'wpdirectorykit'), | |
| 797 | 797 | 'type' => Controls_Manager::ICONS, |
| 798 | 798 | 'label_block' => true, |
| 799 | 799 | 'default' => [ |
| 800 | 800 | 'value' => 'fa fa-angle-right', |
| @@ -813,9 +813,9 @@ | ||
| 813 | 813 | |
| 814 | 814 | $this->start_controls_section( |
| 815 | 815 | 'styles_carousel_dots_section', |
| 816 | 816 | [ |
| 817 | - 'label' => esc_html__('Section Dots', 'wdk-listing-sliders'), | |
| 817 | + 'label' => esc_html__('Section Dots', 'wpdirectorykit'), | |
| 818 | 818 | 'tab' => 'tab_slider_main', |
| 819 | 819 | ] |
| 820 | 820 | ); |
| 821 | 821 | |
| @@ -821,12 +821,12 @@ | ||
| 821 | 821 | |
| 822 | 822 | $this->add_responsive_control( |
| 823 | 823 | 'styles_carousel_dots_hide', |
| 824 | 824 | [ |
| 825 | - 'label' => esc_html__( 'Hide Element', 'wdk-listing-sliders' ), | |
| 825 | + 'label' => esc_html__( 'Hide Element', 'wpdirectorykit' ), | |
| 826 | 826 | 'type' => Controls_Manager::SWITCHER, |
| 827 | - 'none' => esc_html__( 'Hide', 'wdk-listing-sliders' ), | |
| 828 | - 'block' => esc_html__( 'Show', 'wdk-listing-sliders' ), | |
| 827 | + 'none' => esc_html__( 'Hide', 'wpdirectorykit' ), | |
| 828 | + 'block' => esc_html__( 'Show', 'wpdirectorykit' ), | |
| 829 | 829 | 'return_value' => 'none', |
| 830 | 830 | 'default' => '', |
| 831 | 831 | 'selectors' => [ |
| 832 | 832 | '{{WRAPPER}} .wdk-listing-sliders .slick-dots' => 'display: {{VALUE}} !important;', |
| @@ -836,15 +836,15 @@ | ||
| 836 | 836 | |
| 837 | 837 | $this->add_responsive_control( |
| 838 | 838 | 'styles_carousel_dots_position_style', |
| 839 | 839 | [ |
| 840 | - 'label' => __( 'Position Style', 'wdk-listing-sliders' ), | |
| 840 | + 'label' => __( 'Position Style', 'wpdirectorykit' ), | |
| 841 | 841 | 'type' => \Elementor\Controls_Manager::SELECT, |
| 842 | 842 | 'default' => 'wdk-listing-sliders_dots_in', |
| 843 | 843 | 'options' => [ |
| 844 | - '' => __( 'Default', 'wdk-listing-sliders' ), | |
| 845 | - 'wdk-listing-sliders_dots_out' => __( 'Out', 'wdk-listing-sliders' ), | |
| 846 | - 'wdk-listing-sliders_dots_in' => __( 'In', 'wdk-listing-sliders' ), | |
| 844 | + '' => __( 'Default', 'wpdirectorykit' ), | |
| 845 | + 'wdk-listing-sliders_dots_out' => __( 'Out', 'wpdirectorykit' ), | |
| 846 | + 'wdk-listing-sliders_dots_in' => __( 'In', 'wpdirectorykit' ), | |
| 847 | 847 | ], |
| 848 | 848 | ] |
| 849 | 849 | ); |
| 850 | 850 | |
| @@ -850,16 +850,16 @@ | ||
| 850 | 850 | |
| 851 | 851 | $this->add_responsive_control( |
| 852 | 852 | 'styles_carousel_dots_direction', |
| 853 | 853 | [ |
| 854 | - 'label' => __( 'Direction Dots', 'wdk-listing-sliders' ), | |
| 854 | + 'label' => __( 'Direction Dots', 'wpdirectorykit' ), | |
| 855 | 855 | 'type' => Controls_Manager::SELECT, |
| 856 | 856 | 'options' => [ |
| 857 | - '' => esc_html__('Default', 'wdk-listing-sliders'), | |
| 858 | - 'column' => esc_html__('Column', 'wdk-listing-sliders'), | |
| 859 | - 'column-reverse' => esc_html__('Column Reverse', 'wdk-listing-sliders'), | |
| 860 | - 'row' => esc_html__('Row', 'wdk-listing-sliders'), | |
| 861 | - 'row-reverse' => esc_html__('Row Reverse', 'wdk-listing-sliders'), | |
| 857 | + '' => esc_html__('Default', 'wpdirectorykit'), | |
| 858 | + 'column' => esc_html__('Column', 'wpdirectorykit'), | |
| 859 | + 'column-reverse' => esc_html__('Column Reverse', 'wpdirectorykit'), | |
| 860 | + 'row' => esc_html__('Row', 'wpdirectorykit'), | |
| 861 | + 'row-reverse' => esc_html__('Row Reverse', 'wpdirectorykit'), | |
| 862 | 862 | ], |
| 863 | 863 | 'selectors_dictionary' => [ |
| 864 | 864 | 'column' => 'display: flex !important; flex-direction: column;', |
| 865 | 865 | 'column-reverse' => 'display: flex !important; flex-direction: column-reverse;', |
| @@ -876,25 +876,25 @@ | ||
| 876 | 876 | |
| 877 | 877 | $this->add_responsive_control( |
| 878 | 878 | 'styles_carousel_dots_align', |
| 879 | 879 | [ |
| 880 | - 'label' => __( 'Position', 'wdk-listing-sliders' ), | |
| 880 | + 'label' => __( 'Position', 'wpdirectorykit' ), | |
| 881 | 881 | 'type' => Controls_Manager::CHOOSE, |
| 882 | 882 | 'options' => [ |
| 883 | 883 | 'left' => [ |
| 884 | - 'title' => esc_html__( 'Left', 'wdk-listing-sliders' ), | |
| 884 | + 'title' => esc_html__( 'Left', 'wpdirectorykit' ), | |
| 885 | 885 | 'icon' => 'eicon-text-align-left', |
| 886 | 886 | ], |
| 887 | 887 | 'center' => [ |
| 888 | - 'title' => esc_html__( 'Center', 'wdk-listing-sliders' ), | |
| 888 | + 'title' => esc_html__( 'Center', 'wpdirectorykit' ), | |
| 889 | 889 | 'icon' => 'eicon-text-align-center', |
| 890 | 890 | ], |
| 891 | 891 | 'right' => [ |
| 892 | - 'title' => esc_html__( 'Right', 'wdk-listing-sliders' ), | |
| 892 | + 'title' => esc_html__( 'Right', 'wpdirectorykit' ), | |
| 893 | 893 | 'icon' => 'eicon-text-align-right', |
| 894 | 894 | ], |
| 895 | 895 | 'justify' => [ |
| 896 | - 'title' => esc_html__( 'Justified', 'wdk-listing-sliders' ), | |
| 896 | + 'title' => esc_html__( 'Justified', 'wpdirectorykit' ), | |
| 897 | 897 | 'icon' => 'eicon-text-align-justify', |
| 898 | 898 | ], |
| 899 | 899 | ], |
| 900 | 900 | 'render_type' => 'ui', |
| @@ -921,21 +921,21 @@ | ||
| 921 | 921 | |
| 922 | 922 | $this->add_responsive_control( |
| 923 | 923 | 'styles_carousel_dots_in_align', |
| 924 | 924 | [ |
| 925 | - 'label' => __( 'Position', 'wdk-listing-sliders' ), | |
| 925 | + 'label' => __( 'Position', 'wpdirectorykit' ), | |
| 926 | 926 | 'type' => Controls_Manager::CHOOSE, |
| 927 | 927 | 'options' => [ |
| 928 | 928 | 'left' => [ |
| 929 | - 'title' => esc_html__( 'Left', 'wdk-listing-sliders' ), | |
| 929 | + 'title' => esc_html__( 'Left', 'wpdirectorykit' ), | |
| 930 | 930 | 'icon' => 'eicon-text-align-left', |
| 931 | 931 | ], |
| 932 | 932 | 'center' => [ |
| 933 | - 'title' => esc_html__( 'Center', 'wdk-listing-sliders' ), | |
| 933 | + 'title' => esc_html__( 'Center', 'wpdirectorykit' ), | |
| 934 | 934 | 'icon' => 'eicon-text-align-center', |
| 935 | 935 | ], |
| 936 | 936 | 'right' => [ |
| 937 | - 'title' => esc_html__( 'Right', 'wdk-listing-sliders' ), | |
| 937 | + 'title' => esc_html__( 'Right', 'wpdirectorykit' ), | |
| 938 | 938 | 'icon' => 'eicon-text-align-right', |
| 939 | 939 | ], |
| 940 | 940 | ], |
| 941 | 941 | 'default' => 'center', |
| @@ -962,21 +962,21 @@ | ||
| 962 | 962 | |
| 963 | 963 | $this->add_responsive_control( |
| 964 | 964 | 'styles_carousel_dots_in_align_y', |
| 965 | 965 | [ |
| 966 | - 'label' => __( 'Position Vertical', 'wdk-listing-sliders' ), | |
| 966 | + 'label' => __( 'Position Vertical', 'wpdirectorykit' ), | |
| 967 | 967 | 'type' => Controls_Manager::CHOOSE, |
| 968 | 968 | 'options' => [ |
| 969 | 969 | 'top' => [ |
| 970 | - 'title' => esc_html__( 'Top', 'wdk-listing-sliders' ), | |
| 970 | + 'title' => esc_html__( 'Top', 'wpdirectorykit' ), | |
| 971 | 971 | 'icon' => 'eicon-justify-start-v', |
| 972 | 972 | ], |
| 973 | 973 | 'center' => [ |
| 974 | - 'title' => esc_html__( 'Center', 'wdk-listing-sliders' ), | |
| 974 | + 'title' => esc_html__( 'Center', 'wpdirectorykit' ), | |
| 975 | 975 | 'icon' => 'eicon-text-align-center', |
| 976 | 976 | ], |
| 977 | 977 | 'bottom' => [ |
| 978 | - 'title' => esc_html__( 'Bottom', 'wdk-listing-sliders' ), | |
| 978 | + 'title' => esc_html__( 'Bottom', 'wpdirectorykit' ), | |
| 979 | 979 | 'icon' => ' eicon-justify-end-v', |
| 980 | 980 | ], |
| 981 | 981 | ], |
| 982 | 982 | 'render_type' => 'ui', |
| @@ -1002,9 +1002,9 @@ | ||
| 1002 | 1002 | |
| 1003 | 1003 | $this->add_responsive_control( |
| 1004 | 1004 | 'styles_carousel_dots_icon', |
| 1005 | 1005 | [ |
| 1006 | - 'label' => esc_html__('Icon', 'wdk-listing-sliders'), | |
| 1006 | + 'label' => esc_html__('Icon', 'wpdirectorykit'), | |
| 1007 | 1007 | 'type' => Controls_Manager::ICONS, |
| 1008 | 1008 | 'label_block' => true, |
| 1009 | 1009 | 'default' => [ |
| 1010 | 1010 | 'value' => 'fas fa-circle', |
| @@ -1023,9 +1023,9 @@ | ||
| 1023 | 1023 | |
| 1024 | 1024 | $this->add_responsive_control( |
| 1025 | 1025 | 'styles_carousel_dots_hover_header', |
| 1026 | 1026 | [ |
| 1027 | - 'label' => esc_html__('Hover Animation', 'wdk-listing-sliders'), | |
| 1027 | + 'label' => esc_html__('Hover Animation', 'wpdirectorykit'), | |
| 1028 | 1028 | 'type' => Controls_Manager::HEADING, |
| 1029 | 1029 | 'separator' => 'before', |
| 1030 | 1030 | ] |
| 1031 | 1031 | ); |
| @@ -1038,9 +1038,9 @@ | ||
| 1038 | 1038 | |
| 1039 | 1039 | $this->add_responsive_control( |
| 1040 | 1040 | 'styles_carousel_dots_box_header', |
| 1041 | 1041 | [ |
| 1042 | - 'label' => esc_html__('Dots container', 'wdk-listing-sliders'), | |
| 1042 | + 'label' => esc_html__('Dots container', 'wpdirectorykit'), | |
| 1043 | 1043 | 'type' => Controls_Manager::HEADING, |
| 1044 | 1044 | 'separator' => 'before', |
| 1045 | 1045 | ] |
| 1046 | 1046 | ); |