| 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' => 'ShopBuilder – Flutter Woocommerce Mobile App', |
| 14 |
'thumbnail' => esc_url( rtsb()->get_assets_uri( 'images/admin-themes/flutter-app.png' ) ), |
| 15 |
'purchase_link' => 'https://shopbuilderwp.com/shopbuilder-apps/shopbuilder-flutter-woocommerce-mobile-app/', |
| 16 |
], |
| 17 |
[ |
| 18 |
'theme_name' => 'Sbmart – Free WooCommerce WordPress Theme', |
| 19 |
'thumbnail' => esc_url( rtsb()->get_assets_uri( 'images/admin-themes/sbmart-theme.jpg' ) ), |
| 20 |
'download_link' => 'https://shopbuilderwp.com/shopbuilder-themes/sbmart/', |
| 21 |
'demo_link' => 'https://radiustheme.net/themes/sbmart/', |
| 22 |
], |
| 23 |
[ |
| 24 |
'theme_name' => 'EasyShop - Woocommerce WordPress Theme', |
| 25 |
'thumbnail' => esc_url( rtsb()->get_assets_uri( 'images/admin-themes/easyshop-theme.jpg' ) ), |
| 26 |
'purchase_link' => 'https://shopbuilderwp.com/theme/easyshop/', |
| 27 |
'demo_link' => 'https://www.radiustheme.com/demo/shopbuilder/easyshop/', |
| 28 |
], |
| 29 |
[ |
| 30 |
'theme_name' => 'Decor - Furniture Store Woocommerce WordPress Theme', |
| 31 |
'thumbnail' => esc_url( rtsb()->get_assets_uri( 'images/admin-themes/decor-theme.jpg' ) ), |
| 32 |
'purchase_link' => 'https://shopbuilderwp.com/theme/decor/', |
| 33 |
'demo_link' => 'https://www.radiustheme.com/demo/shopbuilder/decor/', |
| 34 |
], |
| 35 |
[ |
| 36 |
'theme_name' => 'Eleganz– Fashion Woocommerce WordPress Theme', |
| 37 |
'thumbnail' => esc_url( rtsb()->get_assets_uri( 'images/admin-themes/eleganz-theme.jpg' ) ), |
| 38 |
'purchase_link' => 'https://shopbuilderwp.com/theme/eleganz/', |
| 39 |
'demo_link' => 'https://www.radiustheme.com/demo/shopbuilder/eleganz/', |
| 40 |
], |
| 41 |
[ |
| 42 |
'theme_name' => 'PartShop – Auto Parts Woocommerce WordPress Theme', |
| 43 |
'thumbnail' => esc_url( rtsb()->get_assets_uri( 'images/admin-themes/partshop-theme.jpg' ) ), |
| 44 |
'purchase_link' => 'https://shopbuilderwp.com/theme/partshop/', |
| 45 |
'demo_link' => 'https://www.radiustheme.com/demo/shopbuilder/partshop/', |
| 46 |
], |
| 47 |
[ |
| 48 |
'theme_name' => 'Markeet - General Woocommerce WordPress Theme', |
| 49 |
'thumbnail' => esc_url( rtsb()->get_assets_uri( 'images/admin-themes/markeet-theme.jpg' ) ), |
| 50 |
'purchase_link' => 'https://shopbuilderwp.com/theme/markeet/', |
| 51 |
'demo_link' => 'https://www.radiustheme.com/demo/shopbuilder/markeet/', |
| 52 |
], |
| 53 |
[ |
| 54 |
'theme_name' => 'Elektra - Electronics Woocommerce WordPress Theme', |
| 55 |
'thumbnail' => esc_url( rtsb()->get_assets_uri( 'images/admin-themes/elektra-theme.png' ) ), |
| 56 |
'purchase_link' => 'https://shopbuilderwp.com/theme/elektra/', |
| 57 |
'demo_link' => 'https://www.radiustheme.com/demo/shopbuilder/elektra/', |
| 58 |
], |
| 59 |
[ |
| 60 |
'theme_name' => 'oMart - Organic Woocommerce WordPress Theme', |
| 61 |
'thumbnail' => esc_url( rtsb()->get_assets_uri( 'images/admin-themes/omart-theme.png' ) ), |
| 62 |
'purchase_link' => 'https://shopbuilderwp.com/theme/omart/', |
| 63 |
'demo_link' => 'https://www.radiustheme.com/demo/shopbuilder/omart/', |
| 64 |
], |
| 65 |
/** |
| 66 |
[ |
| 67 |
'theme_name' => 'More Themes are Coming Soon', |
| 68 |
'thumbnail' => esc_url( rtsb()->get_assets_uri( 'images/admin-themes/coming-soon.jpg' ) ), |
| 69 |
], |
| 70 |
*/ |
| 71 |
]; |
| 72 |
|
| 73 |
?> |
| 74 |
<div class="wrap rtsb-themes-wrap"> |
| 75 |
<div class="rtsb-settings-page-wrapper"> |
| 76 |
<div class="rtsb-header-area"> |
| 77 |
<div class="rtsb-header-logo-wrap"> |
| 78 |
<img src="<?php echo esc_url( rtsb()->get_assets_uri( 'images/icon/ShopBuilder-Logo.svg' ) ); ?>" alt="ShopBuilder" loading="lazy"> |
| 79 |
</div> |
| 80 |
<div class="rtsb-header-title-wrap"> |
| 81 |
<h1 class="rtsb-title"><?php echo esc_html__( 'ShopBuilder Themes & Apps', 'shopbuilder' ); ?></h1> |
| 82 |
</div> |
| 83 |
</div> |
| 84 |
<div class="rtsb-settings-tabs-wrap"> |
| 85 |
<div class="rtsb-settings-tab-content"> |
| 86 |
<div class="rtsb-ss-wrap"> |
| 87 |
<div class="rtsb-ss-header-area"> |
| 88 |
<div class="rtsb-ss-header"> |
| 89 |
<h2 class="rtsb-title"><?php echo esc_html__( 'WooCommerce Themes & Apps with ShopBuilder', 'shopbuilder' ); ?></h2> |
| 90 |
<p class="rtsb-description"><?php echo esc_html__( 'Discover our beautiful WooCommerce themes and apps, expertly crafted for easy setup and customization with the Shopbuilder plugin.', 'shopbuilder' ); ?></p> |
| 91 |
</div> |
| 92 |
</div> |
| 93 |
|
| 94 |
<div class="rtsb-ss-item-list-wrap"> |
| 95 |
<div class="rtsb-themes-container"> |
| 96 |
<?php |
| 97 |
foreach ( $themes as $theme ) { |
| 98 |
?> |
| 99 |
<div class="rtsb-ss-item"> |
| 100 |
<div class="rtsb-ss-item-box"> |
| 101 |
<div class="rtsb-ss-item-thumbnail"> |
| 102 |
<img src="<?php echo esc_url( $theme['thumbnail'] ); ?>" alt="ShopBuilder"> |
| 103 |
</div> |
| 104 |
<div class="rtsb-ss-item-content"> |
| 105 |
<h3 class="rtsb-ss-item-title"><?php echo esc_html( $theme['theme_name'] ); ?></h3> |
| 106 |
<div class="rtsb-ss-item-buttons"> |
| 107 |
<?php |
| 108 |
if ( ! empty( $theme['demo_link'] ) ) { |
| 109 |
?> |
| 110 |
<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> |
| 111 |
<?php |
| 112 |
} |
| 113 |
|
| 114 |
if ( ! empty( $theme['purchase_link'] ) ) { |
| 115 |
?> |
| 116 |
<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> |
| 117 |
<?php |
| 118 |
} |
| 119 |
|
| 120 |
if ( ! empty( $theme['download_link'] ) ) { |
| 121 |
?> |
| 122 |
<a href="<?php echo esc_url( $theme['download_link'] ); ?>" class="rtsb-button rtsb-button-purchase" target="_blank"><?php echo esc_html__( 'Download', 'shopbuilder' ); ?></a> |
| 123 |
<?php |
| 124 |
} |
| 125 |
?> |
| 126 |
</div> |
| 127 |
</div> |
| 128 |
</div> |
| 129 |
</div> |
| 130 |
<?php |
| 131 |
} |
| 132 |
?> |
| 133 |
</div> |
| 134 |
</div> |
| 135 |
</div> |
| 136 |
</div> |
| 137 |
</div> |
| 138 |
</div> |
| 139 |
</div> |
| 140 |
|