So if you have jQuery and the gtag method for Google Analytics running on your site you can add the following code to the head tag of your site. jQuery( document ).ready( function() { jQuery(“a[href^='tel']”).on(“click”,function(){ gtag(...
So the basic way to add validation functionality to a form is by using the gform_validation filter. This gives you the ability to look at the value entered into any field and then allow it to be submitted or display an error message. //runs validation on all forms...
If you want it to be site wide, go into the Divi > Theme Options > Integrations and add the following code to the head area of your site. <script> jQuery(document).ready(function() { jQuery(‘.et_cstm_video video').attr(‘controlsList',...
So every now and then I run into an issue where I need to setup redirects for addon domains. Here is one method that has always worked for me. Adding it in this way allows for https and non http and also handles non-www and www to redirect to the www.newdomain.com...