| | |
| | | 'enable_gmb_review_sync', |
| | | [ |
| | | 'type' => 'true_false', |
| | | 'label' => __('Enable Google My Business Sync', 'jvb'), |
| | | 'label' => 'Enable Google My Business Sync', |
| | | 'hint' => 'Automagically fetch your latest positive reviews from your Google Business Listing. |
| | | Note: you must enable your GMB integration in settings.', |
| | | ] |
| | |
| | | 'reviews', |
| | | [ |
| | | 'type' => 'repeater', |
| | | 'label' => __('Reviews', 'jvb'), |
| | | 'label' => 'Reviews', |
| | | 'fields' => [ |
| | | 'author' => [ |
| | | 'type' => 'text', |
| | | 'label' => __('Review Author', 'jvb'), |
| | | 'label' => 'Review Author', |
| | | 'required' => true, |
| | | ], |
| | | 'reviewRating' => [ |
| | | 'type' => 'number', |
| | | 'min' => 1, |
| | | 'max' => 5, |
| | | 'label' => __('Review Rating', 'jvb'), |
| | | 'label' => 'Review Rating', |
| | | 'required' => true, |
| | | ], |
| | | 'reviewBody' => [ |
| | | 'type' => 'textarea', |
| | | 'label' => __('Review Text Content', 'jvb'), |
| | | 'label' => 'Review Text Content', |
| | | ], |
| | | 'url' => [ |
| | | 'type' => 'url', |
| | | 'label' => __('Link to actual review'), |
| | | 'label' => 'Link to actual review', |
| | | 'hint' => 'Optional. Link directly to the review source for added authenticity.' |
| | | ] |
| | | ], |