__('Social Proof', 'wpvr'), 'discount_button' => __('Simple Discount Button', 'wpvr'), 'button_with_separate_icon' => __('Button with separate icon', 'wpvr'), 'add_to_cart' => __('Add to cart', 'wpvr'), 'social_share' => __('Social Share', 'wpvr'), ); $template = $hotspot['hotspot-sticker-template'] ?? 'social_proof'; if (!isset($templates[$template])) $template = 'social_proof'; $buttons = 'discount_button button_with_separate_icon add_to_cart social_share'; // name => label, control type, default, applicable templates (empty means all). $fields = array( 'client-name' => array(__('Client Name', 'wpvr'), 'text', 'Elena R.', 'social_proof'), 'client-avatar' => array(__('Client Avatar', 'wpvr'), 'media', '', 'social_proof'), 'review-text' => array(__('Review Text', 'wpvr'), 'textarea', 'The support is super responsive and responds without worries to our requests and needs! Big up to the entire RexTheme team!', 'social_proof'), 'rating' => array(__('Star Rating', 'wpvr'), 'number', 5, 'social_proof', 1, 5), 'star-color' => array(__('Star Color', 'wpvr'), 'text', '#EF991F', 'social_proof'), 'text-color' => array(__('Text Color', 'wpvr'), 'text', '#ffffff', 'social_proof add_to_cart'), 'prefix-text' => array(__('Text Before Button', 'wpvr'), 'text', '$1,090 -', 'add_to_cart'), 'sub-text' => array(__('Sub Text', 'wpvr'), 'text', 'Ready to ship', 'add_to_cart'), 'show-placeholder-text' => array(__('Show Additional Text', 'wpvr'), 'toggle', 'on', 'add_to_cart social_share'), 'main-bg' => array(__('Main Background', 'wpvr'), 'toggle', 'on', $buttons), 'bg-color' => array(__('Background Color', 'wpvr'), 'text', '#201b2c', ''), 'bg-opacity' => array(__('Background Opacity (%)', 'wpvr'), 'number', 95, '', 0, 100), 'blur' => array(__('Blur (px)', 'wpvr'), 'number', 12, '', 0, 40), 'brightness' => array(__('Brightness (%)', 'wpvr'), 'number', 100, '', 0, 200), 'border-color' => array(__('Border Color', 'wpvr'), 'text', '#3a3051', ''), 'border-radius' => array(__('Border Radius (px)', 'wpvr'), 'corners', 20, ''), 'padding' => array(__('Padding (px)', 'wpvr'), 'sides', 21, $buttons), 'btn-text' => array(__('Button Text', 'wpvr'), 'text', 'GET 20% OFF NOW', $buttons), 'btn-url' => array(__('Button URL', 'wpvr'), 'url', '', 'discount_button button_with_separate_icon add_to_cart'), 'btn-new-tab' => array(__('Open in New Tab', 'wpvr'), 'toggle', 'off', 'discount_button button_with_separate_icon add_to_cart'), 'btn-bg' => array(__('Button Background', 'wpvr'), 'toggle', 'on', $buttons), 'btn-color' => array(__('Button Color', 'wpvr'), 'text', '#EF991F', $buttons), 'btn-text-color' => array(__('Button Text Color', 'wpvr'), 'text', '#000000', $buttons), 'btn-width' => array(__('Button Width (px)', 'wpvr'), 'number', '', $buttons, 0), 'btn-height' => array(__('Button Height (px)', 'wpvr'), 'number', '', $buttons, 0), 'btn-radius' => array(__('Button Radius (px)', 'wpvr'), 'number', 10, $buttons, 0), 'btn-border' => array(__('Button Border Width (px)', 'wpvr'), 'number', 0, $buttons, 0), 'btn-border-color' => array(__('Button Border Color', 'wpvr'), 'text', '#EF991F', $buttons), 'btn-text-size' => array(__('Button Text Size (px)', 'wpvr'), 'number', 18, $buttons, 8), 'btn-text-weight' => array(__('Button Font Weight', 'wpvr'), 'number', 700, $buttons, 100, 900), 'btn-icon' => array(__('Button Icon', 'wpvr'), 'text', 'fas fa-tag', 'discount_button button_with_separate_icon'), 'btn-icon-color' => array(__('Button Icon Color', 'wpvr'), 'text', '#000000', 'discount_button button_with_separate_icon'), 'icon-box-bg-color' => array(__('Icon Box Background Color', 'wpvr'), 'text', '#ffffff', 'button_with_separate_icon'), 'icon-box-radius' => array(__('Icon Box Radius (px)', 'wpvr'), 'number', 30, 'button_with_separate_icon', 0), 'icon-box-border' => array(__('Icon Box Border Width (px)', 'wpvr'), 'number', 0, 'button_with_separate_icon', 0), 'icon-box-border-color' => array(__('Icon Box Border Color', 'wpvr'), 'text', '#ffffff', 'button_with_separate_icon'), 'icon-box-size' => array(__('Icon Box Size (px)', 'wpvr'), 'number', 60, 'button_with_separate_icon', 20), 'social-color' => array(__('Social Icon Color', 'wpvr'), 'text', '#ffffff', 'social_share'), 'social-size' => array(__('Social Icon Size (px)', 'wpvr'), 'number', 20, 'social_share', 10), 'social-gap' => array(__('Social Icon Gap (px)', 'wpvr'), 'number', 16, 'social_share', 0), 'social-links' => array(__('Social Links', 'wpvr'), 'links', array( array('id' => '1', 'icon' => 'fab fa-linkedin-in', 'customSvg' => '', 'url' => 'https://linkedin.com', 'openNewTab' => 'on'), array('id' => '2', 'icon' => 'fab fa-facebook-f', 'customSvg' => '', 'url' => 'https://facebook.com', 'openNewTab' => 'on'), array('id' => '3', 'icon' => 'fab fa-instagram', 'customSvg' => '', 'url' => 'https://instagram.com', 'openNewTab' => 'on'), array('id' => '4', 'icon' => 'fab fa-dribbble', 'customSvg' => '', 'url' => 'https://dribbble.com', 'openNewTab' => 'on'), ), 'social_share'), ); $special = array('bg-opacity' => 75, 'border-color' => '#40355a', 'btn-height' => 60, 'btn-text-weight' => 600); $overrides = array( 'discount_button' => array('border-radius' => 15), 'button_with_separate_icon' => array_merge($special, array('border-radius' => 135, 'btn-text' => 'Limited “Midnight Horizon” Edition', 'btn-color' => '#ffffff', 'btn-width' => 356, 'btn-radius' => 30, 'btn-border-color' => '#ffffff')), 'add_to_cart' => array_merge($special, array('border-radius' => 15, 'btn-text' => 'ADD TO CART', 'btn-color' => '#3f04fe', 'btn-text-color' => '#ffffff', 'btn-width' => 163, 'btn-border-color' => '#ffffff', 'btn-icon' => 'none')), 'social_share' => array_merge($special, array('border-radius' => 15, 'btn-text' => 'SHARE EXPERIENCE', 'btn-color' => '#201a2b', 'btn-text-color' => '#ffffff', 'btn-width' => 222, 'btn-border' => 1, 'btn-border-color' => '#3a3051', 'btn-icon' => 'none')), ); $sections = array( 'client-name' => array(__('Testimonial', 'wpvr'), 'social_proof'), 'prefix-text' => array(__('Product Text', 'wpvr'), 'add_to_cart'), 'main-bg' => array(__('Card Appearance', 'wpvr'), ''), 'btn-text' => array(__('Button', 'wpvr'), $buttons), 'icon-box-bg-color' => array(__('Separate Icon', 'wpvr'), 'button_with_separate_icon'), 'social-color' => array(__('Social Icons', 'wpvr'), 'social_share'), ); ?>