| 1 |
<?php |
| 2 |
/** |
| 3 |
* Themes Page |
| 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 |
$themes = [ |
| 12 |
[ |
| 13 |
'theme_name' => 'EasyShop - Woocommerce WordPress Theme', |
| 14 |
'thumbnail' => esc_url( rtsb()->get_assets_uri( 'images/admin-themes/easyshop-theme.jpg' ) ), |
| 15 |
'purchase_link' => 'https://shopbuilderwp.com/theme/easyshop/', |
| 16 |
'demo_link' => 'https://www.radiustheme.com/demo/shopbuilder/easyshop/', |
| 17 |
], |
| 18 |
[ |
| 19 |
'theme_name' => 'Decor - Furniture Store Woocommerce WordPress Theme', |
| 20 |
'thumbnail' => esc_url( rtsb()->get_assets_uri( 'images/admin-themes/decor-theme.jpg' ) ), |
| 21 |
'purchase_link' => 'https://shopbuilderwp.com/theme/decor/', |
| 22 |
'demo_link' => 'https://www.radiustheme.com/demo/shopbuilder/decor/', |
| 23 |
], |
| 24 |
[ |
| 25 |
'theme_name' => 'Eleganz– Fashion Woocommerce WordPress Theme', |
| 26 |
'thumbnail' => esc_url( rtsb()->get_assets_uri( 'images/admin-themes/eleganz-theme.jpg' ) ), |
| 27 |
'purchase_link' => 'https://shopbuilderwp.com/theme/eleganz/', |
| 28 |
'demo_link' => 'https://www.radiustheme.com/demo/shopbuilder/eleganz/', |
| 29 |
], |
| 30 |
[ |
| 31 |
'theme_name' => 'PartShop – Auto Parts Woocommerce WordPress Theme', |
| 32 |
'thumbnail' => esc_url( rtsb()->get_assets_uri( 'images/admin-themes/partshop-theme.jpg' ) ), |
| 33 |
'purchase_link' => 'https://shopbuilderwp.com/theme/partshop/', |
| 34 |
'demo_link' => 'https://www.radiustheme.com/demo/shopbuilder/partshop/', |
| 35 |
], |
| 36 |
[ |
| 37 |
'theme_name' => 'Markeet - Woocommerce WordPress Theme', |
| 38 |
'thumbnail' => esc_url( rtsb()->get_assets_uri( 'images/admin-themes/markeet-theme.jpg' ) ), |
| 39 |
'purchase_link' => 'https://shopbuilderwp.com/theme/markeet/', |
| 40 |
'demo_link' => 'https://www.radiustheme.com/demo/shopbuilder/markeet/', |
| 41 |
], |
| 42 |
[ |
| 43 |
'theme_name' => 'More Themes are Coming Soon', |
| 44 |
'thumbnail' => esc_url( rtsb()->get_assets_uri( 'images/admin-themes/coming-soon.jpg' ) ), |
| 45 |
], |
| 46 |
]; |
| 47 |
|
| 48 |
?> |
| 49 |
<div class="wrap rtsb-themes-wrap"> |
| 50 |
<div class="rtsb-settings-page-wrapper"> |
| 51 |
<div class="rtsb-header-area"> |
| 52 |
<div class="rtsb-header-logo-wrap"> |
| 53 |
<img src="<?php echo esc_url( rtsb()->get_assets_uri( 'images/icon/ShopBuilder-Logo.svg' ) ); ?>" alt="ShopBuilder" loading="lazy"> |
| 54 |
</div> |
| 55 |
<div class="rtsb-header-title-wrap"> |
| 56 |
<h1 class="rtsb-title"><?php echo esc_html__( 'ShopBuilder Themes', 'shopbuilder' ); ?></h1> |
| 57 |
</div> |
| 58 |
</div> |
| 59 |
<div class="rtsb-settings-tabs-wrap"> |
| 60 |
<div class="rtsb-settings-tab-content"> |
| 61 |
<div class="rtsb-ss-wrap"> |
| 62 |
<div class="rtsb-ss-header-area"> |
| 63 |
<div class="rtsb-ss-header"> |
| 64 |
<h2 class="rtsb-title"><?php echo esc_html__( 'WooCommerce Themes with ShopBuilder', 'shopbuilder' ); ?></h2> |
| 65 |
<p class="rtsb-description"><?php echo esc_html__( 'Discover our beautiful WooCommerce themes, expertly crafted for easy setup and customization with the Shopbuilder plugin.', 'shopbuilder' ); ?></p> |
| 66 |
</div> |
| 67 |
</div> |
| 68 |
|
| 69 |
<div class="rtsb-ss-item-list-wrap"> |
| 70 |
<div class="rtsb-themes-container"> |
| 71 |
<?php |
| 72 |
foreach ( $themes as $theme ) { |
| 73 |
?> |
| 74 |
<div class="rtsb-ss-item"> |
| 75 |
<div class="rtsb-ss-item-box"> |
| 76 |
<div class="rtsb-ss-item-thumbnail"> |
| 77 |
<img src="<?php echo esc_url( $theme['thumbnail'] ); ?>" alt="ShopBuilder"> |
| 78 |
</div> |
| 79 |
<div class="rtsb-ss-item-content"> |
| 80 |
<h3 class="rtsb-ss-item-title"><?php echo esc_html( $theme['theme_name'] ); ?></h3> |
| 81 |
<div class="rtsb-ss-item-buttons"> |
| 82 |
<?php |
| 83 |
if ( ! empty( $theme['demo_link'] ) || ! empty( $theme['purchase_link'] ) ) { |
| 84 |
?> |
| 85 |
<a href="<?php echo esc_url( $theme['demo_link'] ); ?>" class="rtsb-button rtsb-button-demo" target="_blank"><?php echo esc_html__( 'View Demo', 'shopbuilder' ); ?></a> |
| 86 |
<a href="<?php echo esc_url( $theme['purchase_link'] ); ?>" class="rtsb-button rtsb-button-purchase" target="_blank"><?php echo esc_html__( 'Buy Now', 'shopbuilder' ); ?></a> |
| 87 |
<?php |
| 88 |
} |
| 89 |
?> |
| 90 |
</div> |
| 91 |
</div> |
| 92 |
</div> |
| 93 |
</div> |
| 94 |
<?php |
| 95 |
} |
| 96 |
?> |
| 97 |
</div> |
| 98 |
</div> |
| 99 |
</div> |
| 100 |
</div> |
| 101 |
</div> |
| 102 |
</div> |
| 103 |
</div> |
| 104 |
|