Jquery ui in webpack for WordPress
Step 1: Install Dependencies First, install jquery and jquery-ui via npm: bash Copy code npm install jquery jquery-ui Step 2: Configure Webpack If you're using Webpack, you need to ensure…
Step 1: Install Dependencies First, install jquery and jquery-ui via npm: bash Copy code npm install jquery jquery-ui Step 2: Configure Webpack If you're using Webpack, you need to ensure…
Have to add the codes in functions.php of active theme in wordpress // Add custom statuses to the list of WC Order statuses add_action('init', 'add_custom_order_statuses'); function add_custom_order_statuses() { // Register…
Change Site Language in WordPress Dashboard: Go to your WordPress Dashboard. Navigate to "Settings" > "General." Find the "Site Language" option and change it to "Svenska (Swedish)." Upload Language Files…
Install fontawsome in theme npm install --save @fortawesome/fontawesome-free 2. Import fontawesome js files in /src/js/app.js import '@fortawesome/fontawesome-free/js/fontawesome' import '@fortawesome/fontawesome-free/js/solid' import '@fortawesome/fontawesome-free/js/regular' import '@fortawesome/fontawesome-free/js/brands' 3. import fontawesome css @import "@fortawesome/fontawesome-free/css/all.css";
To enable woocommerce rest api and connect to another service, we have to follow the steps Open nginx config file Edit like location / { #try_files $uri $uri/ =404; try_files…
Integrate maxmind_geolocation in woocommerce 2. Add this code to function.php of active theme folder add_filter("woocs_geobone_ip",function(){ return true; }); if ( isset( $_SERVER['REMOTE_ADDR'] ) && ! empty( $_SERVER['HTTP_X_FORWARDED_FOR'] ) ) {…
The original gallery execution function comes from here wp-content/plugins/woocommerce/includes/class-wc-frontend-scripts.php $params = array( 'i18n_required_rating_text' => esc_attr__( 'Please select a rating', 'woocommerce' ), 'review_rating_required' => get_option( 'woocommerce_review_rating_required' ), 'flexslider' => apply_filters( 'woocommerce_single_product_carousel_options',…
We can follow the steps carefully First of all, we need access to c-panel for FTP paste desired plugin into /wp-content/plugins folder access phpmyadmin / MySQL workbench Write this MySQL…
We have to add the following code in wp-config.php define('DISABLE_WP_CRON', true); 2. Install corn job in doplet (Ubuntu) sudo apt update sudo apt install cron sudo systemctl enable cron 3.…
Simply we can add the following code where need to refresh checkout updates jQuery(document.body).trigger("update_checkout");