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

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