← All changes
|
includes/widgets/Quick_Post_Grid/Quick_Post_Grid.php
+8
-1
51.1.44
→
51.1.87
View file →
| @@ -63,9 +63,14 @@ | ||
| 63 | 63 | { |
| 64 | 64 | return ['posts', 'grid', 'blog', 'king-addons']; |
| 65 | 65 | } |
| 66 | 66 | |
| 67 | - public function register_controls(): void | |
| 67 | + public function get_custom_help_url() | |
| 68 | + { | |
| 69 | + return 'mailto:[email protected]?subject=Bug Report - King Addons&body=Please describe the issue'; | |
| 70 | + } | |
| 71 | + | |
| 72 | + public function register_controls(): void | |
| 68 | 73 | { |
| 69 | 74 | $this->register_query_controls(); |
| 70 | 75 | $this->register_layout_controls(); |
| 71 | 76 | $this->register_style_card_controls(); |
| @@ -420,8 +425,10 @@ | ||
| 420 | 425 | 'min' => 1, |
| 421 | 426 | 'max' => 6, |
| 422 | 427 | 'step' => 1, |
| 423 | 428 | 'default' => 3, |
| 429 | + 'tablet_default' => 2, | |
| 430 | + 'mobile_default' => 1, | |
| 424 | 431 | 'selectors' => [ |
| 425 | 432 | '{{WRAPPER}} .king-addons-post-grid__grid' => 'grid-template-columns: repeat({{VALUE}}, minmax(0, 1fr));', |
| 426 | 433 | ], |
| 427 | 434 | ] |