Changeset 3485555
- Timestamp:
- 03/18/2026 11:01:40 AM (2 weeks ago)
- Location:
- yps-bundle
- Files:
-
- 2 added
- 5 edited
-
assets/screenshot-3.jpg (added)
-
assets/screenshot-4.jpg (added)
-
trunk/assets/admin.css (modified) (2 diffs)
-
trunk/includes/class-yps-admin.php (modified) (2 diffs)
-
trunk/includes/class-yps-frontend.php (modified) (1 diff)
-
trunk/readme.txt (modified) (12 diffs)
-
trunk/yps-bundle.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
yps-bundle/trunk/assets/admin.css
r3484054 r3485555 173 173 .yps-widget-grid { 174 174 display: grid; 175 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));175 grid-template-columns: 1fr; 176 176 gap: 20px; 177 177 margin-bottom: 28px; … … 334 334 } 335 335 336 @media (min-width: 900px) { 337 .yps-widget-grid { 338 grid-template-columns: repeat(2, minmax(0, 1fr)); 339 } 340 } 341 342 @media (min-width: 1280px) { 343 .yps-widget-grid { 344 grid-template-columns: repeat(3, minmax(0, 1fr)); 345 } 346 } 347 336 348 @media (max-width: 782px) { 337 349 .yps-wrap { -
yps-bundle/trunk/includes/class-yps-admin.php
r3484915 r3485555 38 38 } 39 39 40 wp_enqueue_style( 'yps-bundle-admin', YPS_BUNDLE_PLUGIN_URL . 'assets/admin.css', array(), '1.0.0');41 wp_enqueue_script( 'yps-bundle-admin', YPS_BUNDLE_PLUGIN_URL . 'assets/admin.js', array(), '1.0.0', true );40 wp_enqueue_style( 'yps-bundle-admin', YPS_BUNDLE_PLUGIN_URL . 'assets/admin.css', array(), YPS_BUNDLE_VERSION ); 41 wp_enqueue_script( 'yps-bundle-admin', YPS_BUNDLE_PLUGIN_URL . 'assets/admin.js', array(), YPS_BUNDLE_VERSION, true ); 42 42 43 43 $widget_settings = yps_bundle_get_widget_settings(); … … 552 552 } 553 553 554 if ( 'review' === $icon ) { 555 return '<svg viewBox="0 0 24 24" aria-hidden="true"><path d="m12 2.5 2.78 5.63 6.22.9-4.5 4.38 1.06 6.19L12 16.68 6.44 19.6l1.06-6.19L3 9.03l6.22-.9L12 2.5Z"/></svg>'; 556 } 557 554 558 return '<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 2a7 7 0 0 1 7 7c0 4.3-4.74 10.34-6.24 12.13a1 1 0 0 1-1.52 0C9.74 19.34 5 13.3 5 9a7 7 0 0 1 7-7Zm0 9.5A2.5 2.5 0 1 0 12 6a2.5 2.5 0 0 0 0 5.5Z"/></svg>'; 555 559 } -
yps-bundle/trunk/includes/class-yps-frontend.php
r3484915 r3485555 21 21 esc_url_raw( yps_bundle_get_widget_script_url( $widget ) ), 22 22 array(), 23 '1.0.0',23 YPS_BUNDLE_VERSION, 24 24 false 25 25 ); -
yps-bundle/trunk/readme.txt
r3484922 r3485555 1 1 === Jinkosoft === 2 2 Contributors: jinkosoft 3 Tags: widgets, booking, store locator, lead capture, embeddable, shortcode3 Tags: widgets, booking, store locator, lead capture, reviews, embeddable, shortcode 4 4 Requires at least: 5.0 5 5 Tested up to: 6.7 6 6 Requires PHP: 7.4 7 Stable tag: 1. 1.07 Stable tag: 1.2.0 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html 10 10 11 Connect your Jinkosoft account and embed booking, lead capture, and store locator widgets in WordPress without adding heavy app logic to your site.11 Connect your Jinkosoft account and embed booking, lead capture, review, and store locator widgets in WordPress without adding heavy app logic to your site. 12 12 13 13 == Description == … … 21 21 * Slotflow: an embeddable booking widget for appointments and calls 22 22 * Lead Capture Widget: an embeddable popup widget for collecting leads and contact requests 23 * Review Widget: an embeddable social proof widget for collecting and displaying reviews 23 24 * Locate My Store: an embeddable store locator that points visitors to the right location 24 25 … … 38 39 For more information, visit: 39 40 40 * [https://jinkosoft.com/en/embeddable-widgets/slotflow](https://jinkosoft.com/en/embeddable-widgets/slotflow)41 * https://jinkosoft.com/en/embeddable-widgets/slotflow 41 42 42 43 = Lead Capture Widget = … … 54 55 For more information, visit: 55 56 56 * [https://jinkosoft.com/en/embeddable-widgets/leadcapture](https://jinkosoft.com/en/embeddable-widgets/leadcapture) 57 * https://jinkosoft.com/en/embeddable-widgets/lead-capture 58 59 = Review Widget = 60 61 Review Widget helps you collect reviews directly from your website and display them as embeddable social proof. 62 63 Visitors can: 64 65 * open a lightweight review form from the widget 66 * submit a star rating and written review without leaving the page 67 * add native reviews that you can moderate from the Jinkosoft dashboard 68 69 Review Widget is designed for testimonials, customer feedback, reputation building, and trust-focused landing pages. Depending on your Jinkosoft workspace setup, it can also support external review sync from sources such as Google Reviews, together with native review moderation managed from the external Jinkosoft dashboard. 70 71 For more information, visit: 72 73 * https://jinkosoft.com/en/embeddable-widgets/review-widget 57 74 58 75 = Locate My Store = … … 71 88 For more information, visit: 72 89 73 * [https://jinkosoft.com/en/embeddable-widgets/locatemystore](https://jinkosoft.com/en/embeddable-widgets/locatemystore)90 * https://jinkosoft.com/en/embeddable-widgets/locatemystore 74 91 75 92 = Why site owners use Jinkosoft = … … 78 95 * Enable the widgets you need from one plugin page 79 96 * Insert widgets with shortcode exactly where you want them 80 * Manage widget-specific settings such as form slug selection for Slotflow and Lead CaptureWidget97 * Manage widget-specific settings such as form slug selection for Slotflow, Lead Capture Widget, and Review Widget 81 98 * Open the related Jinkosoft dashboard directly from WordPress 82 99 … … 86 103 * Use different Slotflow forms on different pages with shortcode attributes 87 104 * Add a popup lead capture form to landing pages or campaign pages 105 * Show testimonials and collect new reviews from the same embeddable review widget 88 106 * Show a store locator on location or visit-us pages 89 107 … … 101 119 5. Click `Try` or `Configure` on the widget you want to use 102 120 6. Copy the shortcode and place it in the page, post, or block where the widget should appear 103 7. For Slotflow and Lead CaptureWidget, select the form you want to display121 7. For Slotflow, Lead Capture Widget, and Review Widget, select the form you want to display 104 122 105 123 == Frequently Asked Questions == … … 116 134 * choose the exact page position where the widget should appear 117 135 118 For Slotflow and Lead CaptureWidget, you can also use different forms on different pages with shortcode attributes such as:136 For Slotflow, Lead Capture Widget, and Review Widget, you can also use different forms on different pages with shortcode attributes such as: 119 137 120 138 `[jinkosoft-slotflow form="demo-booking"]` … … 122 140 `[jinkosoft-lead-capture form="newsletter-popup"]` 123 141 142 `[jinkosoft-review-widget form="homepage-reviews"]` 143 124 144 = Will this plugin slow down my WordPress site? = 125 145 126 The plugin is designed to stay lightweight on the WordPress side. It does not ship a large internal booking, lead capture, or locator application inside WordPress. Instead, it relies on the external Jinkosoft services and only loads the required embeddable widget scripts when the widget is actually used.146 The plugin is designed to stay lightweight on the WordPress side. It does not ship a large internal booking, lead capture, review, or locator application inside WordPress. Instead, it relies on the external Jinkosoft services and only loads the required embeddable widget scripts when the widget is actually used. 127 147 128 148 = Does this plugin use third-party services? = … … 136 156 The plugin communicates with the Jinkosoft API to create or log in administrator accounts, load active workspaces, provision widget workspaces, and serve widget data to the embeddable components. 137 157 138 * Service: [Jinkosoft API](https://server.jinkosoft.com)139 * Data sent: administrator name, email, password, workspace configuration requests, and visitor-submitted booking, lead capture, or store locator data when the widgets are used140 * Terms of Service: [https://jinkosoft.com/en/terms-and-conditions](https://jinkosoft.com/en/terms-and-conditions)141 * Privacy Policy: [https://jinkosoft.com/en/privacy-policy](https://jinkosoft.com/en/privacy-policy)158 * Service: https://server.jinkosoft.com 159 * Data sent: administrator name, email, password, workspace configuration requests, and visitor-submitted booking, lead capture, review, or store locator data when the widgets are used 160 * Terms of Service: https://jinkosoft.com/en/terms-and-conditions 161 * Privacy Policy: https://jinkosoft.com/en/privacy-policy 142 162 143 163 = Jinkosoft Widget CDN = … … 145 165 The plugin loads the widget scripts from the Jinkosoft CDN when the widgets are used on the website. 146 166 147 * Service: [Jinkosoft Widget CDN](https://cdn-widgets.jinkosoft.com)167 * Service: https://cdn-widgets.jinkosoft.com 148 168 * Used for: delivering the embeddable widget scripts to visitors' browsers 149 * Script loaded: [https://cdn-widgets.jinkosoft.com/widgets.iife.js](https://cdn-widgets.jinkosoft.com/widgets.iife.js)150 * Terms of Service: [https://jinkosoft.com/en/terms-and-conditions](https://jinkosoft.com/en/terms-and-conditions)151 * Privacy Policy: [https://jinkosoft.com/en/privacy-policy](https://jinkosoft.com/en/privacy-policy)169 * Script loaded: https://cdn-widgets.jinkosoft.com/widgets.iife.js 170 * Terms of Service: https://jinkosoft.com/en/terms-and-conditions 171 * Privacy Policy: https://jinkosoft.com/en/privacy-policy 152 172 153 173 == Changelog == 154 174 175 = 1.2.0 = 176 * Add Review Widget 177 155 178 = 1.0.1 = 156 AddingLead Capture Widget179 * Add Lead Capture Widget 157 180 158 181 = 1.0.0 = -
yps-bundle/trunk/yps-bundle.php
r3484915 r3485555 2 2 /** 3 3 * Plugin Name: Jinkosoft 4 * Description: Connect your Jinkosoft account and configure embeddable widgets like Locate My Store and Slotflow.5 * Version: 1. 1.04 * Description: Connect your Jinkosoft account and configure embeddable widgets like Slotflow, Lead Capture Widget, Locate My Store, and Review Widget. 5 * Version: 1.2.0 6 6 * Author: JinkoSoft 7 7 * Text Domain: yps-bundle … … 16 16 } 17 17 18 define( 'YPS_BUNDLE_VERSION', '1.2.0' ); 18 19 define( 'YPS_BUNDLE_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); 19 20 define( 'YPS_BUNDLE_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); … … 133 134 ), 134 135 ), 136 'reviewwidget' => array( 137 'slug' => 'reviewwidget', 138 'name' => 'Review Widget', 139 'tenant_type' => 'review_widget', 140 'default_plan' => 'free', 141 'shortcode_tag' => 'jinkosoft-review-widget', 142 'shortcode_label' => '[jinkosoft-review-widget]', 143 'tag_name' => 'review-widget', 144 'script_name' => 'widgets.iife.js', 145 'description' => 'Collect and display reviews with an embeddable social proof widget.', 146 'icon' => 'review', 147 'fields' => array( 148 array( 149 'key' => 'form_slug', 150 'label' => 'Form slug', 151 'type' => 'text', 152 'required' => true, 153 'description' => 'Choose the review widget form you want to display on the page.', 154 ), 155 ), 156 ), 135 157 ); 136 158
Note: See TracChangeset
for help on using the changeset viewer.