Rename WordPress plugin from Dutchie Menus to Crawlsy Menus v1.3.0
- Renamed plugin to avoid WordPress.org naming conflict causing false update notifications - Added /downloads static route to serve plugin zip file - Updated all CSS classes from dutchie- to crawlsy- prefix - Added plugin zip to backend/public/downloads for hosting - Plugin available at: https://dispos.crawlsy.com/downloads/crawlsy-menus-1.3.0.zip 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -10,57 +10,57 @@ if (!defined('ABSPATH')) {
|
||||
$columns = isset($atts['columns']) ? $atts['columns'] : 3;
|
||||
?>
|
||||
|
||||
<div class="dutchie-product-grid dutchie-grid-cols-<?php echo esc_attr($columns); ?>">
|
||||
<div class="crawlsy-product-grid crawlsy-grid-cols-<?php echo esc_attr($columns); ?>">
|
||||
<?php foreach ($products as $product): ?>
|
||||
<div class="dutchie-product-card">
|
||||
<div class="crawlsy-product-card">
|
||||
<?php if (!empty($product['image_url_full'])): ?>
|
||||
<div class="dutchie-product-image">
|
||||
<div class="crawlsy-product-image">
|
||||
<img src="<?php echo esc_url($product['image_url_full']); ?>"
|
||||
alt="<?php echo esc_attr($product['name']); ?>"
|
||||
loading="lazy" />
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="dutchie-product-content">
|
||||
<h3 class="dutchie-product-title">
|
||||
<div class="crawlsy-product-content">
|
||||
<h3 class="crawlsy-product-title">
|
||||
<?php echo esc_html($product['name']); ?>
|
||||
</h3>
|
||||
|
||||
<?php if (!empty($product['brand'])): ?>
|
||||
<div class="dutchie-product-brand">
|
||||
<div class="crawlsy-product-brand">
|
||||
<?php echo esc_html($product['brand']); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (!empty($product['description'])): ?>
|
||||
<p class="dutchie-product-description">
|
||||
<p class="crawlsy-product-description">
|
||||
<?php echo esc_html(wp_trim_words($product['description'], 15)); ?>
|
||||
</p>
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="dutchie-product-meta">
|
||||
<div class="crawlsy-product-meta">
|
||||
<?php if (!empty($product['metadata']['thc'])): ?>
|
||||
<span class="dutchie-meta-item dutchie-thc">
|
||||
<span class="crawlsy-meta-item crawlsy-thc">
|
||||
<strong>THC:</strong> <?php echo esc_html($product['metadata']['thc']); ?>
|
||||
</span>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (!empty($product['metadata']['cbd'])): ?>
|
||||
<span class="dutchie-meta-item dutchie-cbd">
|
||||
<span class="crawlsy-meta-item crawlsy-cbd">
|
||||
<strong>CBD:</strong> <?php echo esc_html($product['metadata']['cbd']); ?>
|
||||
</span>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
<?php if (isset($product['price'])): ?>
|
||||
<div class="dutchie-product-price">
|
||||
<div class="crawlsy-product-price">
|
||||
$<?php echo number_format($product['price'], 2); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (!$product['in_stock']): ?>
|
||||
<div class="dutchie-out-of-stock">
|
||||
<?php _e('Out of Stock', 'dutchie-menus'); ?>
|
||||
<div class="crawlsy-out-of-stock">
|
||||
<?php _e('Out of Stock', 'crawlsy-menus'); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
@@ -8,50 +8,50 @@ if (!defined('ABSPATH')) {
|
||||
}
|
||||
?>
|
||||
|
||||
<div class="dutchie-single-product dutchie-layout-horizontal">
|
||||
<div class="crawlsy-single-product crawlsy-layout-horizontal">
|
||||
<?php if (!empty($product['image_url_full'])): ?>
|
||||
<div class="dutchie-single-product-image">
|
||||
<div class="crawlsy-single-product-image">
|
||||
<img src="<?php echo esc_url($product['image_url_full']); ?>"
|
||||
alt="<?php echo esc_attr($product['name']); ?>" />
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="dutchie-single-product-details">
|
||||
<h2 class="dutchie-single-product-title">
|
||||
<div class="crawlsy-single-product-details">
|
||||
<h2 class="crawlsy-single-product-title">
|
||||
<?php echo esc_html($product['name']); ?>
|
||||
</h2>
|
||||
|
||||
<?php if (!empty($product['brand'])): ?>
|
||||
<div class="dutchie-single-product-brand">
|
||||
<strong><?php _e('Brand:', 'dutchie-menus'); ?></strong>
|
||||
<div class="crawlsy-single-product-brand">
|
||||
<strong><?php _e('Brand:', 'crawlsy-menus'); ?></strong>
|
||||
<?php echo esc_html($product['brand']); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (!empty($product['description'])): ?>
|
||||
<div class="dutchie-single-product-description">
|
||||
<div class="crawlsy-single-product-description">
|
||||
<?php echo wp_kses_post(nl2br($product['description'])); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="dutchie-single-product-info">
|
||||
<div class="crawlsy-single-product-info">
|
||||
<?php if (!empty($product['metadata']['thc'])): ?>
|
||||
<div class="dutchie-info-item">
|
||||
<strong><?php _e('THC:', 'dutchie-menus'); ?></strong>
|
||||
<div class="crawlsy-info-item">
|
||||
<strong><?php _e('THC:', 'crawlsy-menus'); ?></strong>
|
||||
<span><?php echo esc_html($product['metadata']['thc']); ?></span>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (!empty($product['metadata']['cbd'])): ?>
|
||||
<div class="dutchie-info-item">
|
||||
<strong><?php _e('CBD:', 'dutchie-menus'); ?></strong>
|
||||
<div class="crawlsy-info-item">
|
||||
<strong><?php _e('CBD:', 'crawlsy-menus'); ?></strong>
|
||||
<span><?php echo esc_html($product['metadata']['cbd']); ?></span>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (!empty($product['metadata']['terpenes'])): ?>
|
||||
<div class="dutchie-info-item dutchie-terpenes">
|
||||
<strong><?php _e('Terpenes:', 'dutchie-menus'); ?></strong>
|
||||
<div class="crawlsy-info-item crawlsy-terpenes">
|
||||
<strong><?php _e('Terpenes:', 'crawlsy-menus'); ?></strong>
|
||||
<?php if (is_array($product['metadata']['terpenes'])): ?>
|
||||
<span><?php echo esc_html(implode(', ', $product['metadata']['terpenes'])); ?></span>
|
||||
<?php else: ?>
|
||||
@@ -61,8 +61,8 @@ if (!defined('ABSPATH')) {
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (!empty($product['metadata']['effects'])): ?>
|
||||
<div class="dutchie-info-item dutchie-effects">
|
||||
<strong><?php _e('Effects:', 'dutchie-menus'); ?></strong>
|
||||
<div class="crawlsy-info-item crawlsy-effects">
|
||||
<strong><?php _e('Effects:', 'crawlsy-menus'); ?></strong>
|
||||
<?php if (is_array($product['metadata']['effects'])): ?>
|
||||
<span><?php echo esc_html(implode(', ', $product['metadata']['effects'])); ?></span>
|
||||
<?php else: ?>
|
||||
@@ -72,8 +72,8 @@ if (!defined('ABSPATH')) {
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (!empty($product['metadata']['flavors'])): ?>
|
||||
<div class="dutchie-info-item dutchie-flavors">
|
||||
<strong><?php _e('Flavors:', 'dutchie-menus'); ?></strong>
|
||||
<div class="crawlsy-info-item crawlsy-flavors">
|
||||
<strong><?php _e('Flavors:', 'crawlsy-menus'); ?></strong>
|
||||
<?php if (is_array($product['metadata']['flavors'])): ?>
|
||||
<span><?php echo esc_html(implode(', ', $product['metadata']['flavors'])); ?></span>
|
||||
<?php else: ?>
|
||||
@@ -84,14 +84,14 @@ if (!defined('ABSPATH')) {
|
||||
</div>
|
||||
|
||||
<?php if (isset($product['price'])): ?>
|
||||
<div class="dutchie-single-product-price">
|
||||
<div class="crawlsy-single-product-price">
|
||||
$<?php echo number_format($product['price'], 2); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (!$product['in_stock']): ?>
|
||||
<div class="dutchie-out-of-stock">
|
||||
<?php _e('Out of Stock', 'dutchie-menus'); ?>
|
||||
<div class="crawlsy-out-of-stock">
|
||||
<?php _e('Out of Stock', 'crawlsy-menus'); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user