http://ip-api.com/json $(document).ready(function(){ $.getJSON(“http://ip-api.com/json”, function (data) { var country = data.country; alert(country); }); }); Get the location, city, country and other information related to your IP address with this free...
Tool Link – https://tools.webdevpuneet.com/image-to-base64/ This online web tool is capable of converting small image files like logos to Base 64 string that you can use in css as a background image and <img> tag.
This WordPress plugin can be used to create advanced custom fields and attach them to post, pages, specific posts or pages, and other conditions. URL – https://wordpress.org/plugins/advanced-custom-fields/
Just place this code anywhere after including jQuery library. This helps the user scroll to the ‘element’ id in href=”#element”. $(function () { /* Slide to # location with animation */ $(document).on(‘click’,...
Here is a very cool way to input color code using a basic HTML input tag. This may eliminate the use of a fancy jQuery color picker at a basic level 🙂 Demo Open demo in a full window – https://demos.webdevpuneet.com/html/input-color/index.html HTML <input...
How to prevent form from submission if user has not gone through Google ReCapcha ?jQuery(document).ready(function(j){ jQ(‘#formid’).submit(function(e) { var recaptcha = j(“#g-recaptcha-response”).val(); if ( recaptcha === “” )...