| @@ -1,430 +1,226 @@ | ||
| 1 | 1 | <?php |
| 2 | +/** | |
| 3 | + * Get Help | |
| 4 | + */ | |
| 5 | + | |
| 2 | 6 | // Do not allow directly accessing this file. |
| 3 | 7 | if ( ! defined( 'ABSPATH' ) ) { |
| 4 | 8 | exit( 'This script cannot be accessed directly.' ); |
| 5 | 9 | } |
| 6 | -/** | |
| 7 | - * Get Help | |
| 8 | - */ | |
| 9 | -$iframe = 'https://www.youtube.com/embed/videoseries?si=BRbMu5oVNJvsOtPY&list=PLSR3AlpVWfs6GVZtNTXZpAfjHimBGNvCG'; | |
| 10 | -$pro = 'https://www.radiustheme.com/downloads/woocommerce-bundle/'; | |
| 11 | -$doc = 'https://www.radiustheme.com/docs/shopbuilder/getting-started/installation/'; | |
| 12 | -$contact = 'https://www.radiustheme.com/contact/'; | |
| 13 | -$fb = 'https://www.facebook.com/groups/234799147426640/'; | |
| 14 | -$rt = 'https://www.radiustheme.com/'; | |
| 15 | -$review = 'https://wordpress.org/support/plugin/shopbuilder/reviews/?filter=5#new-post'; | |
| 16 | -$has_pro = rtsb()->has_pro(); | |
| 17 | 10 | |
| 11 | +$playlist = 'https://youtube.com/playlist?list=PLSR3AlpVWfs6GVZtNTXZpAfjHimBGNvCG&si=_wEdUpNVjEBJCvwa'; | |
| 12 | +$banner = rtsb()->get_assets_uri( 'images/help-banner.jpg' ); | |
| 13 | +$youtube = rtsb()->get_assets_uri( 'images/youtube-icon.svg' ); | |
| 14 | +$watch = rtsb()->get_assets_uri( 'images/watch-on-youtube.svg' ); | |
| 15 | +$pro = 'https://www.radiustheme.com/downloads/woocommerce-bundle/'; | |
| 16 | +$pro_banner = rtsb()->get_assets_uri( 'images/admin-banner.jpg' ); | |
| 17 | +$contact = 'https://www.radiustheme.com/contact/'; | |
| 18 | +$fb = 'https://www.facebook.com/groups/234799147426640/'; | |
| 19 | +$rt = 'https://www.radiustheme.com/'; | |
| 20 | +$has_pro = rtsb()->has_pro(); | |
| 21 | +$testimonials = [ | |
| 22 | + [ | |
| 23 | + 'content' => 'I don’t know much about coding and I am just trying to set up a simple online shop without it looking like a 3 year old made it! This plugin did it and saved me hours and hours! I love their simple layout and easy to import templates.', | |
| 24 | + 'image' => rtsb()->get_assets_uri( 'images/admin-testimonial/review-clients-2.png' ), | |
| 25 | + 'name' => 'Once Upon a Tree', | |
| 26 | + 'stars' => 5, | |
| 27 | + ], | |
| 28 | + [ | |
| 29 | + 'content' => 'I strongly recommend this solution for creating unique design for your next WooCommerce store. In comparison with alternatives – ShopBuilder is the best. Support is amazing and fast. Thanks for this plugin!', | |
| 30 | + 'image' => rtsb()->get_assets_uri( 'images/admin-testimonial/review-clients-3.png' ), | |
| 31 | + 'name' => 'codeorlov', | |
| 32 | + 'stars' => 5, | |
| 33 | + ], | |
| 34 | + [ | |
| 35 | + 'content' => 'I love this plugin. It’s simple but exactly what I was looking for. Easy install, quick response from the developer. Finally, an easy way to monetize my Shop.', | |
| 36 | + 'image' => rtsb()->get_assets_uri( 'images/admin-testimonial/review-clients-1.png' ), | |
| 37 | + 'name' => 'Mahabub Hasan', | |
| 38 | + 'stars' => 5, | |
| 39 | + ], | |
| 40 | +]; | |
| 41 | +$actions = [ | |
| 42 | + [ | |
| 43 | + 'title' => 'Documentation Guide', | |
| 44 | + 'description' => 'Explore our easy-to-follow documentation, complete with step-by-step guides, screenshots, and videos to simplify your setup process.', | |
| 45 | + 'icon_class' => 'rtsb-documentation-icon', | |
| 46 | + 'button_label' => 'View Documentation', | |
| 47 | + 'button_link' => 'https://shopbuilderwp.com/docs/installation/', | |
| 48 | + ], | |
| 49 | + [ | |
| 50 | + 'title' => 'Need Any Help?', | |
| 51 | + 'description' => 'Stuck with something? Please create a <a href="' . esc_url( $contact ) . '" target="_blank">ticket here</a> or post on <a href="' . esc_url( $fb ) . '" target="_blank">facebook group</a>. For emergency case join our <a href="' . esc_url( $rt ) . '" target="_blank">live chat</a>.', | |
| 52 | + 'icon_class' => 'rtsb-support-icon', | |
| 53 | + 'button_label' => 'Get Support', | |
| 54 | + 'button_link' => $contact, | |
| 55 | + ], | |
| 56 | + [ | |
| 57 | + 'title' => 'Happy with Our Work?', | |
| 58 | + 'description' => 'Thank you for choosing <strong>ShopBuilder</strong>. If you have found our plugin useful, please consider giving us a 5-star rating on WordPress.org. It will help us to grow.', | |
| 59 | + 'icon_class' => 'rtsb-rating-icon', | |
| 60 | + 'button_label' => 'Yes, You Deserve It', | |
| 61 | + 'button_link' => 'https://wordpress.org/support/plugin/shopbuilder/reviews/', | |
| 62 | + ], | |
| 63 | +]; | |
| 18 | 64 | ?> |
| 19 | - <style> | |
| 20 | - .rtsb-help-wrapper { | |
| 21 | - width: 60%; | |
| 22 | - margin: 0 auto; | |
| 23 | - } | |
| 24 | - .rt-document-box { | |
| 25 | - background-color: #fff; | |
| 26 | - -webkit-box-shadow: 0 1px 18px 0 rgba(0,0,0,.08); | |
| 27 | - box-shadow: 0 1px 18px 0 rgba(0,0,0,.08); | |
| 28 | - border-radius: 4px; | |
| 29 | - padding: 30px 20px; | |
| 30 | - display: -webkit-box; | |
| 31 | - display: -ms-flexbox; | |
| 32 | - display: flex; | |
| 33 | - } | |
| 34 | - .rt-document-box .rt-box-icon { | |
| 35 | - height: 30px; | |
| 36 | - width: 30px; | |
| 37 | - background-color: #ecf1ff; | |
| 38 | - border-radius: 50%; | |
| 39 | - display: -webkit-box; | |
| 40 | - display: -ms-flexbox; | |
| 41 | - display: flex; | |
| 42 | - -webkit-box-align: center; | |
| 43 | - -ms-flex-align: center; | |
| 44 | - align-items: center; | |
| 45 | - -webkit-box-pack: center; | |
| 46 | - -ms-flex-pack: center; | |
| 47 | - justify-content: center; | |
| 48 | - -ms-flex-line-pack: center; | |
| 49 | - align-content: center; | |
| 50 | - margin-right: 10px; | |
| 51 | - } | |
| 52 | - .rt-document-box .rt-box-icon i { | |
| 53 | - font-size: 20px; | |
| 54 | - color: #4360ef; | |
| 55 | - } | |
| 56 | - .rt-document-box .rt-box-content { | |
| 57 | - -webkit-box-flex: 1; | |
| 58 | - -ms-flex: 1; | |
| 59 | - flex: 1; | |
| 60 | - display:flex; | |
| 61 | - flex-wrap:wrap; | |
| 62 | - } | |
| 63 | - .rt-document-box .rt-box-content.rtsb-feature-list{ | |
| 64 | - display:block; | |
| 65 | - } | |
| 66 | - .rt-document-box .rt-box-content .rt-box-title { | |
| 67 | - margin: 0 0 12px 0; | |
| 68 | - font-size: 20px; | |
| 69 | - color: #000; | |
| 70 | - font-weight: 600; | |
| 71 | - } | |
| 72 | - .rt-document-box+.rt-document-box { | |
| 73 | - margin-top: 30px; | |
| 74 | - } | |
| 75 | - body .rt-admin-btn { | |
| 76 | - text-align: center; | |
| 77 | - display: inline-block; | |
| 78 | - font-size: 15px; | |
| 79 | - font-weight: 400; | |
| 80 | - color: #5d3dfd; | |
| 81 | - text-decoration: none; | |
| 82 | - padding: 9px 18px; | |
| 83 | - border-radius: 4px; | |
| 84 | - position: relative; | |
| 85 | - z-index: 2; | |
| 86 | - line-height: 1.4; | |
| 87 | - -webkit-transition: all .3s ease-in-out; | |
| 88 | - transition: all .3s ease-in-out; | |
| 89 | - height: auto; | |
| 90 | - border: 2px solid #4360ef; | |
| 91 | - margin-top: auto; | |
| 92 | - } | |
| 93 | - body .rt-admin-btn:hover { | |
| 94 | - background-color: #4360ef; | |
| 95 | - color: #fff; | |
| 96 | - text-decoration: none; | |
| 97 | - } | |
| 98 | - .rtsb-help-section .embed-wrapper { | |
| 99 | - position: relative; | |
| 100 | - display: block; | |
| 101 | - width: calc(100% - 40px); | |
| 102 | - padding: 0; | |
| 103 | - overflow: hidden; | |
| 104 | - } | |
| 105 | - .rtsb-help-section .embed-wrapper::before { | |
| 106 | - display: block; | |
| 107 | - content: ""; | |
| 108 | - padding-top: 56.25%; | |
| 109 | - } | |
| 110 | - .rtsb-help-section iframe { | |
| 111 | - position: absolute; | |
| 112 | - top: 0; | |
| 113 | - bottom: 0; | |
| 114 | - left: 0; | |
| 115 | - width: 100%; | |
| 116 | - height: 100%; | |
| 117 | - border: 0; | |
| 118 | - } | |
| 119 | - .rtsb-help-wrapper .rt-document-box .rt-box-title { | |
| 120 | - margin-bottom: 30px; | |
| 121 | - } | |
| 122 | - .rtsb-help-wrapper .rt-document-box .rt-box-icon { | |
| 123 | - margin-top: -6px; | |
| 124 | - } | |
| 125 | - .rtsb-help-wrapper .rtsb-help-section { | |
| 126 | - margin-top: 30px; | |
| 127 | - } | |
| 128 | - .rtsb-feature-list ul { | |
| 129 | - column-count: 2; | |
| 130 | - column-gap: 30px; | |
| 131 | - margin-bottom: 0; | |
| 132 | - } | |
| 133 | - .rtsb-feature-list ul li { | |
| 134 | - padding: 0 0 12px; | |
| 135 | - margin-bottom: 0; | |
| 136 | - width: 100%; | |
| 137 | - font-size: 14px; | |
| 138 | - } | |
| 139 | - .rtsb-feature-list ul li:last-child { | |
| 140 | - padding-bottom: 0; | |
| 141 | - } | |
| 142 | - .rtsb-feature-list ul li i { | |
| 143 | - color: #4C6FFF; | |
| 144 | - } | |
| 145 | - .rtsb-pro-feature-content { | |
| 146 | - display: flex; | |
| 147 | - flex-wrap: wrap; | |
| 148 | - } | |
| 149 | - .rtsb-pro-feature-content .rt-document-box + .rt-document-box { | |
| 150 | - margin-left: 30px; | |
| 151 | - } | |
| 152 | - .rtsb-pro-feature-content .rt-document-box { | |
| 153 | - flex: 0 0 calc(33.3333% - 60px); | |
| 154 | - margin-top: 30px; | |
| 155 | - } | |
| 156 | - .rtsb-testimonials { | |
| 157 | - display: flex; | |
| 158 | - flex-wrap: wrap; | |
| 159 | - } | |
| 160 | - .rtsb-testimonials .rtsb-testimonial + .rtsb-testimonial { | |
| 161 | - margin-left: 30px; | |
| 162 | - } | |
| 163 | - .rtsb-testimonials .rtsb-testimonial { | |
| 164 | - flex: 0 0 calc(50% - 30px); | |
| 165 | - display:flex; | |
| 166 | - flex-wrap:wrap; | |
| 167 | - } | |
| 168 | - .rtsb-testimonial .client-info { | |
| 169 | - display: flex; | |
| 170 | - flex-wrap: wrap; | |
| 171 | - font-size: 14px; | |
| 172 | - align-items: center; | |
| 173 | - } | |
| 174 | - .rtsb-testimonial .client-info img { | |
| 175 | - width: 60px; | |
| 176 | - height: 60px; | |
| 177 | - object-fit: cover; | |
| 178 | - border-radius: 50%; | |
| 179 | - margin-right: 10px; | |
| 180 | - border: 1px solid #ddd; | |
| 181 | - -webkit-box-shadow: 0 1px 3px rgb(0, 0, 0, 0.2); | |
| 182 | - box-shadow: 0 1px 3px rgb(0, 0, 0, 0.2); | |
| 183 | - } | |
| 184 | - .rtsb-testimonial .client-info .rtsb-star { | |
| 185 | - color: #4C6FFF; | |
| 186 | - } | |
| 187 | - .rtsb-testimonial .client-info .client-name { | |
| 188 | - display: block; | |
| 189 | - color: #000; | |
| 190 | - font-size: 16px; | |
| 191 | - font-weight: 600; | |
| 192 | - margin: 8px 0 0; | |
| 193 | - } | |
| 194 | - .rtsb-call-to-action { | |
| 195 | - background-size: cover; | |
| 196 | - background-repeat: no-repeat; | |
| 197 | - background-position: left center; | |
| 198 | - height: 150px; | |
| 199 | - color: #ffffff; | |
| 200 | - margin: 30px 0; | |
| 201 | - } | |
| 202 | - .rtsb-call-to-action a { | |
| 203 | - color: inherit; | |
| 204 | - display: flex; | |
| 205 | - flex-wrap: wrap; | |
| 206 | - width: 100%; | |
| 207 | - height: 100%; | |
| 208 | - flex: 1; | |
| 209 | - align-items: center; | |
| 210 | - font-size: 28px; | |
| 211 | - font-weight: 700; | |
| 212 | - text-decoration: none; | |
| 213 | - margin-left: 130px; | |
| 214 | - position: relative; | |
| 215 | - outline: none; | |
| 216 | - -webkit-box-shadow: none; | |
| 217 | - box-shadow: none; | |
| 218 | - } | |
| 219 | - .rtsb-call-to-action a::before { | |
| 220 | - content: ""; | |
| 221 | - position: absolute; | |
| 222 | - left: -30px; | |
| 223 | - top: 50%; | |
| 224 | - height: 30%; | |
| 225 | - width: 5px; | |
| 226 | - background: #fff; | |
| 227 | - -webkit-transform: translateY(-50%); | |
| 228 | - transform: translateY(-50%); | |
| 229 | - } | |
| 230 | - .rtsb-call-to-action:hover a { | |
| 231 | - text-decoration: underline; | |
| 232 | - } | |
| 233 | - .rtsb-testimonial p { | |
| 234 | - text-align: justify; | |
| 235 | - flex-basis:100%; | |
| 236 | - } | |
| 237 | - @media all and (max-width: 1400px) { | |
| 238 | - .rtsb-help-wrapper { | |
| 239 | - width: 80%; | |
| 240 | - } | |
| 241 | - } | |
| 242 | - @media all and (max-width: 1025px) { | |
| 243 | - .rtsb-pro-feature-content .rt-document-box { | |
| 244 | - flex: 0 0 calc(50% - 55px) | |
| 245 | - } | |
| 246 | - .rtsb-pro-feature-content .rt-document-box + .rt-document-box + .rt-document-box { | |
| 247 | - margin-left: 0; | |
| 248 | - } | |
| 249 | - } | |
| 250 | - @media all and (max-width: 991px) { | |
| 251 | - .rtsb-help-wrapper { | |
| 252 | - width: calc(100% - 40px); | |
| 253 | - } | |
| 254 | - .rtsb-call-to-action a { | |
| 255 | - justify-content: center; | |
| 256 | - margin-left: auto; | |
| 257 | - margin-right: auto; | |
| 258 | - text-align: center; | |
| 259 | - } | |
| 260 | - .rtsb-call-to-action a::before { | |
| 261 | - content: none; | |
| 262 | - } | |
| 263 | - } | |
| 264 | - @media all and (max-width: 600px) { | |
| 265 | - .rt-document-box .rt-box-content .rt-box-title { | |
| 266 | - line-height: 28px; | |
| 267 | - } | |
| 268 | - .rtsb-help-section .embed-wrapper { | |
| 269 | - width: 100%; | |
| 270 | - } | |
| 271 | - .rtsb-feature-list ul { | |
| 272 | - column-count: 1; | |
| 273 | - } | |
| 274 | - .rtsb-feature-list ul li { | |
| 275 | - width: 100%; | |
| 276 | - } | |
| 277 | - .rtsb-call-to-action a { | |
| 278 | - padding-left: 25px; | |
| 279 | - padding-right: 25px; | |
| 280 | - font-size: 20px; | |
| 281 | - line-height: 28px; | |
| 282 | - width: 80%; | |
| 283 | - } | |
| 284 | - .rtsb-testimonials { | |
| 285 | - display: block; | |
| 286 | - } | |
| 287 | - .rtsb-testimonials .rtsb-testimonial + .rtsb-testimonial { | |
| 288 | - margin-left: 0; | |
| 289 | - margin-top: 30px; | |
| 290 | - padding-top: 30px; | |
| 291 | - border-top: 1px solid #ddd; | |
| 292 | - } | |
| 293 | - .rtsb-pro-feature-content .rt-document-box { | |
| 294 | - width: 100%; | |
| 295 | - flex: auto; | |
| 296 | - } | |
| 297 | - .rtsb-pro-feature-content .rt-document-box + .rt-document-box { | |
| 298 | - margin-left: 0; | |
| 299 | - } | |
| 300 | 65 | |
| 301 | - .rtsb-help-wrapper .rt-document-box { | |
| 302 | - display: block; | |
| 303 | - position: relative; | |
| 304 | - } | |
| 305 | - | |
| 306 | - .rtsb-help-wrapper .rt-document-box .rt-box-icon { | |
| 307 | - position: absolute; | |
| 308 | - left: 20px; | |
| 309 | - top: 30px; | |
| 310 | - margin-top: 0; | |
| 311 | - } | |
| 312 | - | |
| 313 | - .rt-document-box .rt-box-content .rt-box-title { | |
| 314 | - margin-left: 45px; | |
| 315 | - } | |
| 316 | - } | |
| 317 | -</style> | |
| 318 | - <div class="rtsb-help-wrapper" > | |
| 319 | - <div class="rtsb-help-section rt-document-box"> | |
| 320 | - <div class="rt-box-icon"><i class="dashicons dashicons-media-document"></i></div> | |
| 321 | - <div class="rt-box-content"> | |
| 322 | - <h3 class="rt-box-title">Thank you for installing ShopBuilder</h3> | |
| 323 | - <div class="embed-wrapper"> | |
| 324 | - <iframe src="<?php echo esc_url( $iframe ); ?>" title="Shop Builder" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> | |
| 325 | - </div> | |
| 66 | +<div class="wrap rtsb-help-wrap"> | |
| 67 | + <div class="rtsb-settings-page-wrapper"> | |
| 68 | + <div class="rtsb-header-area"> | |
| 69 | + <div class="rtsb-header-logo-wrap"> | |
| 70 | + <img src="<?php echo esc_url( rtsb()->get_assets_uri( 'images/icon/ShopBuilder-Logo.svg' ) ); ?>" alt="ShopBuilder"> | |
| 326 | 71 | </div> |
| 327 | - </div> | |
| 328 | - <?php if ( ! $has_pro ) { ?> | |
| 329 | - <div class="rt-document-box"> | |
| 330 | - <div class="rt-box-icon"><i class="dashicons dashicons-megaphone"></i></div> | |
| 331 | - <div class="rt-box-content rtsb-feature-list"> | |
| 332 | - <h3 class="rt-box-title">Pro Features</h3> | |
| 333 | - <ul> | |
| 334 | - <li><i class="dashicons dashicons-saved"></i> AJAX Product Filter Widget.</li> | |
| 335 | - <li><i class="dashicons dashicons-saved"></i> Product Share – Single Product Widget.</li> | |
| 336 | - <li><i class="dashicons dashicons-saved"></i> Sales Count – Single Product Widget.</li> | |
| 337 | - <li><i class="dashicons dashicons-saved"></i> Flash Sale Countdown – Single Product Widget.</li> | |
| 338 | - <li><i class="dashicons dashicons-saved"></i> Size Chart – Single Product Widget.</li> | |
| 339 | - <li><i class="dashicons dashicons-saved"></i> Quick Checkout – Single Product Widget.</li> | |
| 340 | - <li><i class="dashicons dashicons-saved"></i> Coupon Form – Checkout Widget.</li> | |
| 341 | - <li><i class="dashicons dashicons-saved"></i> Order Details Table.</li> | |
| 342 | - <li><i class="dashicons dashicons-saved"></i> Order Billing Address.</li> | |
| 343 | - <li><i class="dashicons dashicons-saved"></i> Order Shipping Address.</li> | |
| 344 | - <li><i class="dashicons dashicons-saved"></i> Account Dashboard.</li> | |
| 345 | - <li><i class="dashicons dashicons-saved"></i> Account Orders.</li> | |
| 346 | - <li><i class="dashicons dashicons-saved"></i> Account Billing Address.</li> | |
| 347 | - <li><i class="dashicons dashicons-saved"></i> Account Edit / Details.</li> | |
| 348 | - <li><i class="dashicons dashicons-saved"></i> Account Order Shipping.</li> | |
| 349 | - <li><i class="dashicons dashicons-saved"></i> Account Order Billing.</li> | |
| 350 | - <li><i class="dashicons dashicons-saved"></i> Edit Billing Address.</li> | |
| 351 | - <li><i class="dashicons dashicons-saved"></i> Edit Shipping Address.</li> | |
| 352 | - <li><i class="dashicons dashicons-saved"></i> Login Register Form.</li> | |
| 353 | - <li><i class="dashicons dashicons-saved"></i> More Feature...</li> | |
| 354 | - </ul> | |
| 72 | + <div class="rtsb-header-title-wrap"> | |
| 73 | + <h1 class="rtsb-title"><?php echo esc_html__( 'ShopBuilder Help Center', 'shopbuilder' ); ?></h1> | |
| 355 | 74 | </div> |
| 356 | 75 | </div> |
| 357 | - <div class="rtsb-call-to-action" style="background-image: url('<?php echo esc_url( rtsb()->get_assets_uri( 'images/admin-banner.jpg' ) ); ?>')"> | |
| 358 | - <a href="<?php echo esc_url( $pro ); ?>" target="_blank" class="rt-update-pro-btn"> | |
| 359 | - Update to Pro & Get More Features | |
| 360 | - </a> | |
| 76 | + <div class="rtsb-settings-tabs-wrap"> | |
| 77 | + <div class="rtsb-settings-tab-content"> | |
| 78 | + <div class="rtsb-ss-wrap"> | |
| 79 | + <div class="rtsb-ss-header-area"> | |
| 80 | + <div class="rtsb-ss-header"> | |
| 81 | + <h2 class="rtsb-title"><?php echo esc_html__( 'ShopBuilder Essentials: Video Tutorials for Every Feature', 'shopbuilder' ); ?></h2> | |
| 82 | + <p class="rtsb-description"><?php echo esc_html__( 'Discover how to make the most of ShopBuilder with our detailed tutorial playlist. From basic setup to advanced customization, these videos will guide you every step of the way.', 'shopbuilder' ); ?></p> | |
| 83 | + </div> | |
| 84 | + </div> | |
| 85 | + | |
| 86 | + <div class="rtsb-ss-item-list-wrap"> | |
| 87 | + <div class="rtsb-playlist-container"> | |
| 88 | + <a href="<?php echo esc_url( $playlist ); ?>" target="_blank"> | |
| 89 | + <img src="<?php echo esc_url( $banner ); ?>" class="rtsb-playlist-banner" alt="How to create WooCommerce pages with ShopBuilder"> | |
| 90 | + <img src="<?php echo esc_url( $youtube ); ?>" class="rtsb-playlist-icon" alt="Youtube"> | |
| 91 | + <img src="<?php echo esc_url( $watch ); ?>" class="rtsb-watch-icon" alt="Watch on Youtube"> | |
| 92 | + </a> | |
| 93 | + </div> | |
| 94 | + </div> | |
| 95 | + </div> | |
| 361 | 96 | </div> |
| 362 | - <?php } ?> | |
| 363 | - <div class="rt-document-box"> | |
| 364 | - <div class="rt-box-icon"><i class="dashicons dashicons-thumbs-up"></i></div> | |
| 365 | - <div class="rt-box-content"> | |
| 366 | - <h3 class="rt-box-title">Happy clients of the ShopBuilder</h3> | |
| 367 | - <div class="rtsb-testimonials"> | |
| 368 | - <div class="rtsb-testimonial"> | |
| 369 | - <p>I love this plugin. It’s simple but exactly what I was looking for. Easy install, quick response from the developer. Finally, an easy way to monetize my Shop.</p> | |
| 370 | - <div class="client-info"> | |
| 371 | - <img src="<?php echo esc_url( rtsb()->get_assets_uri( 'images/admin-testimonial/review-clients-1.png' ) ); ?>"> | |
| 372 | - <div> | |
| 373 | - <div class="rtsb-star"> | |
| 374 | - <i class="dashicons dashicons-star-filled"></i> | |
| 375 | - <i class="dashicons dashicons-star-filled"></i> | |
| 376 | - <i class="dashicons dashicons-star-filled"></i> | |
| 377 | - <i class="dashicons dashicons-star-filled"></i> | |
| 378 | - <i class="dashicons dashicons-star-filled"></i> | |
| 379 | - </div> | |
| 380 | - <span class="client-name">Mahabub Hasan</span> | |
| 381 | - </div> | |
| 97 | + | |
| 98 | + <div class="rtsb-settings-tab-content"> | |
| 99 | + <div class="rtsb-ss-wrap"> | |
| 100 | + <div class="rtsb-ss-header-area"> | |
| 101 | + <div class="rtsb-ss-header"> | |
| 102 | + <h2 class="rtsb-title"><?php echo esc_html__( 'Hear from Our Happy Clients', 'shopbuilder' ); ?></h2> | |
| 103 | + <p class="rtsb-description"><?php echo esc_html__( 'See how ShopBuilder is making an impact with real feedback from happy customers around the world.', 'shopbuilder' ); ?></p> | |
| 382 | 104 | </div> |
| 383 | 105 | </div> |
| 384 | - <div class="rtsb-testimonial"> | |
| 385 | - <p>Top notch code quality.</p> | |
| 386 | - <div class="client-info"> | |
| 387 | - <img src="<?php echo esc_url( rtsb()->get_assets_uri( 'images/admin-testimonial/review-clients-2.png' ) ); ?>"> | |
| 388 | - <div> | |
| 389 | - <div class="rtsb-star"> | |
| 390 | - <i class="dashicons dashicons-star-filled"></i> | |
| 391 | - <i class="dashicons dashicons-star-filled"></i> | |
| 392 | - <i class="dashicons dashicons-star-filled"></i> | |
| 393 | - <i class="dashicons dashicons-star-filled"></i> | |
| 394 | - <i class="dashicons dashicons-star-filled"></i> | |
| 395 | - </div> | |
| 396 | - <span class="client-name">webangon</span> | |
| 106 | + | |
| 107 | + <div class="rtsb-ss-item-list-wrap"> | |
| 108 | + <div class="rtsb-testimonial-container"> | |
| 109 | + <div class="rtsb-testimonials"> | |
| 110 | + <?php | |
| 111 | + foreach ( $testimonials as $testimonial ) { | |
| 112 | + ?> | |
| 113 | + <div class="rtsb-testimonial"> | |
| 114 | + <p><?php echo esc_html( $testimonial['content'] ); ?></p> | |
| 115 | + <div class="client-info"> | |
| 116 | + <img src="<?php echo esc_url( $testimonial['image'] ); ?>" alt="Client Image"> | |
| 117 | + <div class="client-details"> | |
| 118 | + <div class="rtsb-star"> | |
| 119 | + <?php for ( $i = 0; $i < $testimonial['stars']; $i++ ) : ?> | |
| 120 | + <i class="dashicons dashicons-star-filled"></i> | |
| 121 | + <?php endfor; ?> | |
| 122 | + </div> | |
| 123 | + <span class="client-name"><?php echo esc_html( $testimonial['name'] ); ?></span> | |
| 124 | + </div> | |
| 125 | + </div> | |
| 126 | + </div> | |
| 127 | + <?php | |
| 128 | + } | |
| 129 | + ?> | |
| 397 | 130 | </div> |
| 398 | 131 | </div> |
| 399 | 132 | </div> |
| 400 | 133 | </div> |
| 401 | 134 | </div> |
| 402 | - </div> | |
| 403 | - <div class="rtsb-pro-feature-content"> | |
| 404 | - <div class="rt-document-box"> | |
| 405 | - <div class="rt-box-icon"><i class="dashicons dashicons-media-document"></i></div> | |
| 406 | - <div class="rt-box-content"> | |
| 407 | - <h3 class="rt-box-title">Documentation</h3> | |
| 408 | - <p>Get started by spending some time with the documentation we included step by step process with screenshots with video.</p> | |
| 409 | - <a href="<?php echo esc_url( $doc ); ?>" target="_blank" class="rt-admin-btn">Documentation</a> | |
| 135 | + | |
| 136 | + <?php | |
| 137 | + if ( ! $has_pro ) { | |
| 138 | + ?> | |
| 139 | + <div class="rtsb-settings-tab-content"> | |
| 140 | + <div class="rtsb-ss-wrap"> | |
| 141 | + <div class="rtsb-ss-header-area"> | |
| 142 | + <div class="rtsb-ss-header"> | |
| 143 | + <h2 class="rtsb-title"><?php echo esc_html__( 'Go Pro for Enhanced Functionality', 'shopbuilder' ); ?></h2> | |
| 144 | + <p class="rtsb-description"><?php echo esc_html__( 'Elevate your projects with exclusive Pro features that enhance functionality, powerful modules for advanced customization, and more template design support.', 'shopbuilder' ); ?></p> | |
| 145 | + </div> | |
| 146 | + </div> | |
| 147 | + | |
| 148 | + <div class="rtsb-ss-item-list-wrap"> | |
| 149 | + <div class="rtsb-features-container"> | |
| 150 | + <ul> | |
| 151 | + <li><i class="dashicons dashicons-saved"></i> AJAX Product Filter Widget</li> | |
| 152 | + <li><i class="dashicons dashicons-saved"></i> Product Category Specific Archive Page</li> | |
| 153 | + <li><i class="dashicons dashicons-saved"></i> Product Specific Details Page</li> | |
| 154 | + <li><i class="dashicons dashicons-saved"></i> Product Category / Tag-Specific Details Page</li> | |
| 155 | + <li><i class="dashicons dashicons-saved"></i> Thank You / Order Received Page</li> | |
| 156 | + <li><i class="dashicons dashicons-saved"></i> My Account Pages</li> | |
| 157 | + <li><i class="dashicons dashicons-saved"></i> Quick View Template</li> | |
| 158 | + <li><i class="dashicons dashicons-saved"></i> Custom Endpoint Builder</li> | |
| 159 | + <li><i class="dashicons dashicons-saved"></i> Advanced Product Tabs for Creating Custom Tab</li> | |
| 160 | + <li><i class="dashicons dashicons-saved"></i> Special Product Query i.e., on Sale, Featured, etc.</li> | |
| 161 | + <li><i class="dashicons dashicons-saved"></i> Ajax, Load More and Infinite Scroll Pagination</li> | |
| 162 | + <li><i class="dashicons dashicons-saved"></i> Category Ajax Tab Filter</li> | |
| 163 | + <li><i class="dashicons dashicons-saved"></i> Product Gallery Images Slider</li> | |
| 164 | + <li><i class="dashicons dashicons-saved"></i> Product Add-Ons Module</li> | |
| 165 | + <li><i class="dashicons dashicons-saved"></i> Sales Notification Module</li> | |
| 166 | + <li><i class="dashicons dashicons-saved"></i> Flash Sale Countdown Module</li> | |
| 167 | + <li><i class="dashicons dashicons-saved"></i> Quick Checkout Module</li> | |
| 168 | + <li><i class="dashicons dashicons-saved"></i> Pre-Order Module</li> | |
| 169 | + <li><i class="dashicons dashicons-saved"></i> Multi-Step Checkout Module</li> | |
| 170 | + <li><i class="dashicons dashicons-saved"></i> Customize My Account Module</li> | |
| 171 | + <li><i class="dashicons dashicons-saved"></i> Currency Switcher Module</li> | |
| 172 | + <li><i class="dashicons dashicons-saved"></i> Back Order Module</li> | |
| 173 | + <li><i class="dashicons dashicons-saved"></i> Checkout Fields Editor Module</li> | |
| 174 | + <li><i class="dashicons dashicons-saved"></i> Many more features...</li> | |
| 175 | + </ul> | |
| 176 | + </div> | |
| 177 | + </div> | |
| 178 | + </div> | |
| 410 | 179 | </div> |
| 411 | - </div> | |
| 412 | - <div class="rt-document-box"> | |
| 413 | - <div class="rt-box-icon"><i class="dashicons dashicons-sos"></i></div> | |
| 414 | - <div class="rt-box-content"> | |
| 415 | - <h3 class="rt-box-title">Need Help?</h3> | |
| 416 | - <p>Stuck with something? Please create a | |
| 417 | - <a href="<?php echo esc_url( $contact ); ?>">ticket here</a> or post on <a href="<?php echo esc_url( $fb ); ?>">facebook group</a>. For emergency case join our <a href="<?php echo esc_url( $rt ); ?>">live chat</a>.</p> | |
| 418 | - <a href="<?php echo esc_url( $contact ); ?>" target="_blank" class="rt-admin-btn">Get Support</a> | |
| 180 | + | |
| 181 | + <div class="rtsb-settings-tab-content pro-banner"> | |
| 182 | + <div class="rtsb-ss-wrap"> | |
| 183 | + <div class="rtsb-ss-item-list-wrap"> | |
| 184 | + <div class="rtsb-pro-banner-container"> | |
| 185 | + <div class="rtsb-pro-banner"> | |
| 186 | + <a href="<?php echo esc_url( $pro ); ?>" target="_blank"> | |
| 187 | + <img class="rtsb-upgrade-pro" src="<?php echo esc_url( $pro_banner ); ?>" alt="Upgrade to Pro"> | |
| 188 | + <img class="rtsb-get-pro" src="<?php echo esc_url( rtsb()->get_assets_uri( 'images/get-pro.svg' ) ); ?>" alt="Get Pro"> | |
| 189 | + </a> | |
| 190 | + </div> | |
| 191 | + </div> | |
| 192 | + </div> | |
| 193 | + </div> | |
| 419 | 194 | </div> |
| 420 | - </div> | |
| 421 | - <div class="rt-document-box"> | |
| 422 | - <div class="rt-box-icon"><i class="dashicons dashicons-smiley"></i></div> | |
| 423 | - <div class="rt-box-content"> | |
| 424 | - <h3 class="rt-box-title">Happy Our Work?</h3> | |
| 425 | - <p>If you are happy with <strong>Food Menu</strong> plugin, please add a rating. It would be glad to us.</p> | |
| 426 | - <a href="<?php echo esc_url( $review ); ?>" class="rt-admin-btn" target="_blank">Post Review</a> | |
| 195 | + <?php | |
| 196 | + } | |
| 197 | + ?> | |
| 198 | + | |
| 199 | + <div class="rtsb-settings-tab-content rtsb-action-content"> | |
| 200 | + <div class="rtsb-ss-item-list-wrap"> | |
| 201 | + <div class="rtsb-actions-container"> | |
| 202 | + <div class="rtsb-actions"> | |
| 203 | + <?php | |
| 204 | + foreach ( $actions as $box ) { | |
| 205 | + ?> | |
| 206 | + <div class="rtsb-action-box"> | |
| 207 | + <div class="rtsb-box-icon"><div class="rtsb-help-icon <?php echo esc_attr( $box['icon_class'] ); ?>"></div></div> | |
| 208 | + <div class="rtsb-box-content"> | |
| 209 | + <h3 class="rtsb-box-title"><?php echo esc_html( $box['title'] ); ?></h3> | |
| 210 | + <p><?php echo wp_kses_post( $box['description'] ); ?></p> | |
| 211 | + <a href="<?php echo esc_url( $box['button_link'] ); ?>" class="rtsb-button" target="_blank"> | |
| 212 | + <?php echo esc_html( $box['button_label'] ); ?> | |
| 213 | + </a> | |
| 214 | + </div> | |
| 215 | + </div> | |
| 216 | + <?php | |
| 217 | + } | |
| 218 | + ?> | |
| 219 | + </div> | |
| 220 | + </div> | |
| 221 | + </div> | |
| 427 | 222 | </div> |
| 428 | 223 | </div> |
| 429 | 224 | </div> |
| 430 | 225 | </div> |
| 226 | +</div> | |