Divi Child Theme

Click Here to download the Divi-child.zip file.  The following are the code snippets for the respective files so you can recreate them yourself.  The functions file includes the style.css files from both the parent and child theme. It also gets the current time stamp...

Enqueue Scripts in Functions File for Child THeme

This is what you need to include in the functions file of your child theme to include the parents style without having to do a @import in the css file. Enqueue Scripts in Functions File for Chile Theme function enqueue_custom_child_theme_styles() { wp_enqueue_style(...

Image Gallery from a Directory of Images

Here is a nice little script that takes a directory full of images, creates a thumbnail of said image and saves it to a directory, and then displays the gallery of images.  I didn't create this code but found a guy by the name of David Walsh who took code written by...

Stylesheet Caching

This little snippet of code allows for you to update the stylesheet url based on the time it was edited so when you update the stylesheet the url changes and the cached version is no longer the correct version. Stylesheet Caching Updates PHP <link rel="stylesheet"...