| |

How to Make WooCommerce Store Exclusive to Logged-In Users

Creating a secure shopping experience on your WooCommerce store can be as simple as ensuring only registered users can view your products and shop. This guide will show you, in easy steps, how to direct anyone who isn’t logged in to the login page. Using a Simple WordPress Code To make your store private, you’ll…

Unlock the Power of Ubuntu 50 Must-Have Code Snippets for Beginners
|

Unlock the Power of Ubuntu: 50 Must-Have Code Snippets for Beginners

Ubuntu is one of the most popular Linux distributions out there, and for good reason. With its user-friendly interface and vast array of features, it’s a great choice for both beginners and experienced programmers alike. But even if you’re new to Ubuntu, you can still unlock its full potential with the right code snippets. In…

|

[Solved] CSS Styling in WordPress Child theme’s “style.css” file not working

I’m using a Themeforest Premium theme and installed and activated a child theme in order to make various CSS style changes to my website. However, the changes I’ve made to the child theme stylesheet are not working on the website, it’s taking styles from parent theme style.css file. functions.php file has the folowing code, The…

|

[Smush Pro] How to fix Wrong Image Sizes shown in Desktop or Large screen after WPMU DEV CDN Enabled

Problem: When we enable Smush Pro CDN we see the wrong image size in desktop view. The browser shows image size (1024 * 768) (can see by right click save as to see the file name). The container is 1400 px wide so it should take a higher image size and use that instead. If…

| | |

How to add a Back to cart button on the Woocommerce Checkout page

Do you want to display a “Back to Shopping Cart” button on the WooCommerce checkout page? You can use the woocommerce_before_checkout_form action hook to do this. Add this code in the function.php file of your active child theme (or theme) or also in any plugin file. Reference Link: Stackoverflow

|

VestaCP – Can not Send email – SMTP Error (550) – Invalid HELO name

Error: SMTP Error (550): Failed to set sender “someone@example.com” (Access denied – Invalid HELO name (See RFC2821 4.1.3)). You should add smtp helo name in the mail configuration. Find the file config.inc.php and edit it nano /etc/roundcube/config.inc.php add the line. $config[‘smtp_helo_host’] = ‘localhost’; Now login to your mail client and test the outgoing mail by sending one.

| |

How to Disable Product Image Zoom, Lightbox and Product Gallery Slider in Woocommerce

Woocommerce 3+ have built in image zoom Lightbox and product images gallery feature. Most of us love this feature, however, some people would like to remove it. Disable Image Zoom feature on the single product page in WooCommerce Disable Image Lightbox feature on the single product page in WooCommerce Lightbox is a feature which let you click on any images…

| | |

How to create a non-admin (sudo) user on Ubuntu

Add a New User Account Create a new user account with the adduser command. Use a strong password for the new user. You can enter values for the user information, or press ENTER to leave those fields blank. Add the User to the Sudo Group Add the new user to the sudo group with usermod. Switch…

| |

VestaCP – WordPress File and Folder permissions & ownership

All files permission need to be reset to 664 and all directories permission needs to reset to 775. And then we need to reset the group to admin. First we will need access to server via SSH Access. Change file permission to 664: Change directory permission to 775: Change file & folder group ownership to…