Data Types Available in PHP
8 data types available Integer Float/Double Boolean String Array Object Null Resource Integers: Integers are whole numbers, without a decimal point (…, -2, -1, 0, 1, 2, …) Floating Point Numbers or Doubles: Floating point numbers (also known as “floats”, “doubles”, or “real numbers”) are decimal or fractional numbers. example: $a = 1.234; $b […]
How To Show Recent Posts On WordPress
This code will help you to show recent posts on WordPress. *** If you want to show all the post just use ‘posts_per_page’ => -1 # From GISTS
How To Fix Bootstrap 4 CSS Issue For Woocommerce Pages & Forms
How To Add Login/Logout Url On Menu
#With A Plugin Login or Logout Menu Item
Fix Tabindex Issue In Registartion/SignUp Forms
#Issue: When user navigates the registration form using TAB key from one field to the next one, after he enters the password, he presses TAB and it shifts focus to “Show password” instead of “Confirm password” – this can lead to user not noticing and start typing the password again and clicking the submit button […]
Show Full Country Name In Woocommerce Checkout Error
Redirect A Page To Homepage If A Specific Input Value Is Empty
#Localize the script from function.php # add this code in JavaScript file
Woocommerce Plus and Minus button Doesn’t Work On Ajax Update On Cart Page
In order to fix it, you need to add an event for the AJAX calls. I also added .off() so the value won’t add itself multiple times after every AJAX call.
Solve The Diagonal Submenu Hover Problem Fix
# The Problem Important Article to read: How to solve the diagonal submenu hover problem #How to fix: 1. Use position: relative on the parent/mainmenu item. 2. Use position: absolute on the submenu/child item. 3. Toggle submenu visibility on parent hover. In this example our parent class/div/item is woocommerce.menu-cart-holder and child item is .mini-cart So, […]
Woocommerce Cart Update Plus/Minus Button Not Working
# Add this code in js # On the product page minimum product can be 1, not 0. Issue fix. Add this code in JS
Display Current Year in WordPress
Real Time Password Matching Checker
#Put This Into jQuery(document).ready function