Gravity Forms Field Validation

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...

Hide Video Download in Divi

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',...

How to Create a New Widget Area

So here is the code to initialize the widget for use in the admin area of your site.  More info as to what things should be set to can be found on the register_sidebar codex page. function new_register_widget_init() { $args = array( ‘name' => __(...

IP Address Guide – CIDR to IP range convertor

http://www.ipaddressguide.com/cidr is a great tool that allows you to see what IP range a CIDR notation is.  Giving you the First IP address and Last IP address based upon the Classless Inter-Domain Routing. For instance Cloudflare uses the following IP addresses...

Jump to Confirmation Message

So there are times where there is a need to jump to the confirmation that is being shown on the form page after submission.  Here are a few examples of how to do this. //popping down to confirmation message upon submission for all forms add_filter(...