Sticking An Element To The Top Of The Browser After Scroll
You can stick an element to the head of the browser after a user has scrolled past it with either pure CSS or jQuery with the help of Waypoints and…
Read MoreInstall and set up wp-cli WordPress on shared and local hosting
…–dbname=”DBNAME” –dbuser=“DBUSER” –dbpass=”DBPASSWORD” Insert your values and drop the quotes Finish the Install wp core install –url=”http://BLOG_URL” –title=”BLOG_NAME” –admin_user=“ADMIN_USER” –admin_password=”PASSWORD” –admin_email=”ADMIN_EMAIL” Insert your values and drop the quotes After which…
Read MoreSet WooCommerce cart product count total to be divisible by number
You can set WooCommerce cart total product count to be divisible by a certain number, if it is not divisible by that number then do not allow the user to…
Read MoreSet monit to monitor mariadb on a RunCloud instance on Ubuntu 22.04
…the server and allow admin:password # require user ‘admin’ with password ‘password’ Restart monit: systemctl restart monit Now you can view via a browser, use your server IP and 2812…
Read MoreAdd Monit to monitor MariaDB or MySQL database on a CloudPanel instance on Ubuntu 22.04
…will may get a warning output about unauthenticated users which is monit checking the MariaDB service. Warning] Aborted connection to db: ‘unconnected’ user: ‘unauthenticated’ host: ‘localhost’ (This connection closed normally…
Read MoreInstall and configure Fail2ban for CloudPanel on Ubuntu 22.04
…nano /etc/fail2ban/action.d/cloudflare.conf At the bottom of cloudflare.conf add in your Cloudflare email and Global API token: cftoken = ab0962941fd9a47aaf61593e9999a8f289c2 cfuser = you@youremailaddress.com Finally add in an extra action in your…
Read MoreAdd a required checkbox field in WooCommerce checkout page
Here is how you can add a required checkbox field in the WooCommerce checkout page that forces a user to checkbox the request before they can proceed to payment, similar…
Read MoreAdding a Text Block via the Customizer in WordPress
…normally changed via a filter in the functions.php file in a number of StudioPress themes, using the Customizer will easily allow a non-technical user to change it. You can build…
Read MoreMigrating WordPress MultiSite to a New URL
…migrate tool, All-in-One WP Migration. @Lily I did this with subdomains as follows: mydomain.net en.mydomain.net migrating to: otherdomain.com otherdomain2.com in effect ending with a multisite on two different domains. Cheers!…
Read MoreWooCommerce cart total count minus certain product category
…to purchase many products within that, I have used this plugin for creating the composite product https://docs.yithemes.com/yith-composite-products-for-woocommerce/premium-version-settings/yith-woocommerce-product-add-ons/ So, the main issue is whenever I add a product to cart the…
Read More