| @@ -397,9 +397,9 @@ | ||
| 397 | 397 | [ |
| 398 | 398 | 'label' => esc_html__('Color', 'ultimate-post-kit'), |
| 399 | 399 | 'type' => Controls_Manager::COLOR, |
| 400 | 400 | 'selectors' => [ |
| 401 | - '{{WRAPPER}} ul.upk-pagination li a:hover' => 'color: {{VALUE}};', | |
| 401 | + '{{WRAPPER}} ul.upk-pagination li a:hover, {{WRAPPER}} ul.upk-pagination li a:hover span, {{WRAPPER}} ul.upk-pagination li a:hover i' => 'color: {{VALUE}};', | |
| 402 | 402 | ], |
| 403 | 403 | ] |
| 404 | 404 | ); |
| 405 | 405 | |
| @@ -554,8 +554,30 @@ | ||
| 554 | 554 | ] |
| 555 | 555 | ] |
| 556 | 556 | ); |
| 557 | 557 | |
| 558 | + $this->add_control( | |
| 559 | + 'hide_seconds', | |
| 560 | + [ | |
| 561 | + 'label' => esc_html__('Hide Seconds', 'ultimate-post-kit'), | |
| 562 | + 'type' => Controls_Manager::SWITCHER, | |
| 563 | + 'condition' => [ | |
| 564 | + 'show_reading_time' => 'yes' | |
| 565 | + ] | |
| 566 | + ] | |
| 567 | + ); | |
| 568 | + | |
| 569 | + $this->add_control( | |
| 570 | + 'hide_minutes', | |
| 571 | + [ | |
| 572 | + 'label' => esc_html__('Hide Minutes', 'ultimate-post-kit'), | |
| 573 | + 'type' => Controls_Manager::SWITCHER, | |
| 574 | + 'condition' => [ | |
| 575 | + 'show_reading_time' => 'yes' | |
| 576 | + ] | |
| 577 | + ] | |
| 578 | + ); | |
| 579 | + | |
| 558 | 580 | /** |
| 559 | 581 | * Global upk_link_new_tab control |
| 560 | 582 | */ |
| 561 | 583 | $this->register_upk_link_new_tab_controls(); |
| @@ -1021,10 +1043,13 @@ | ||
| 1021 | 1043 | |
| 1022 | 1044 | $this->add_control( |
| 1023 | 1045 | 'pauseonhover', |
| 1024 | 1046 | [ |
| 1025 | - 'label' => esc_html__('Pause on Hover', 'ultimate-post-kit'), | |
| 1026 | - 'type' => Controls_Manager::SWITCHER, | |
| 1047 | + 'label' => esc_html__('Pause on Hover', 'ultimate-post-kit'), | |
| 1048 | + 'type' => Controls_Manager::SWITCHER, | |
| 1049 | + 'condition' => [ | |
| 1050 | + 'autoplay' => 'yes', | |
| 1051 | + ], | |
| 1027 | 1052 | ] |
| 1028 | 1053 | ); |
| 1029 | 1054 | |
| 1030 | 1055 | $this->add_responsive_control( |