WordPress Code Generated – GenerateWP

WordPress Code Generated – GenerateWP I came across this very useful site that can be used to get you started with your WordPress plugin or other customizations, generatewp.com. They have 28 generators for free as well as 5 premium ones that you have to have a...

Debug Pending Updates

This function can be used to help find what needs to be updated in WordPress when the backend will not tell you. <?php /** * Debug Pending Updates * * Crude debugging method that will spit out all pending plugin * and theme updates for admin level users when...

Divi Accordion Customizations

So when it comes to Divi Accordion I didn't like how the first one was always open and there wasn't a way to close one without opening up another one.  So I came across the following code to accomplish what I was looking for. Here is the Javascript needed to give...

Google Tracking Telephone Clicks w/ WordPress integration

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

Two Google Analytics to Track Too

Here is a sample code of how to send data to two different Google Analytics accounts and not have it be sending twice to the same account. <script> (function(i,s,o,g,r,a,m){i[‘GoogleAnalyticsObject']=r;i[r]=i[r]||function(){...