Cron Jobs and WordPress

Occasionally you find the need to have scheduled tasks run in WordPress. Ideally this should be done using WordPress Cron which allows you to tie in with visits to the website as to things being run periodically. The main commands that you will be needing are the...

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

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

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

Name, Address, and Phone Number (NAP) Schema

Here is an example of what to put in for a NAP Schema <div itemscope itemtype=”http://schema.org/LocalBusiness”> <p itemprop=”name”>COMPANY NAME</p> <p itemprop=”address” itemscope...