| 1 |
<?php |
| 2 |
/** |
| 3 |
* Get Help |
| 4 |
*/ |
| 5 |
|
| 6 |
// Do not allow directly accessing this file. |
| 7 |
if ( ! defined( 'ABSPATH' ) ) { |
| 8 |
exit( 'This script cannot be accessed directly.' ); |
| 9 |
} |
| 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/', |
| 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/#new-post', |
| 62 |
], |
| 63 |
]; |
| 64 |
?> |
| 65 |
|
| 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"> |
| 71 |
</div> |
| 72 |
<div class="rtsb-header-title-wrap"> |
| 73 |
<h1 class="rtsb-title"><?php echo esc_html__( 'ShopBuilder Help Center', 'shopbuilder' ); ?></h1> |
| 74 |
</div> |
| 75 |
</div> |
| 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> |
| 96 |
</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> |
| 104 |
</div> |
| 105 |
</div> |
| 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 |
?> |
| 130 |
</div> |
| 131 |
</div> |
| 132 |
</div> |
| 133 |
</div> |
| 134 |
</div> |
| 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> |
| 179 |
</div> |
| 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> |
| 194 |
</div> |
| 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> |
| 222 |
</div> |
| 223 |
</div> |
| 224 |
</div> |
| 225 |
</div> |
| 226 |
</div> |
| 227 |
|