Current status of the Gravity Forms Repeater Add-On

I’ve had a bunch of people filing issues on the GitHub page and starting support threads on the WordPress page and even e-mails and messages on Facebook so rather than respond to each of those individually I figured I’d just post here.

Recently I took the Senior Product Engineer position at a company called Happy Medium. I absolutely love it however between my new job and my family, I just haven’t had time to work on my Gravity Forms Repeater Add-On project.

So with that said, I probably won’t be working on this project much anymore. I might possibly come back to it or work on it here or there but don’t expect anything. However, with the project being on GitHub, I would love to have more people hop on the project and keep it alive! So if you’re interested, contact me!

Thank you for all of the kind words and support!

Check if page or post contains a term that is a descendant of another term

This function is pretty self-explanatory. Will return true if the page or post contains a term that is the descendant of $parent_term and false if it doesn’t. $parent_term accepts a term id or object. $post_id is optional, if one is not specified it will attempt to get the current page or post ID via WordPress’s built-in get_the_ID function.

Unzip a compressed sql backup and import it into a database

Figured I’d put a Bash script up here since I haven’t posted any before. This is a small function that I keep inside of my .bashrc file to unzip an sql database that has been exported into a .sql.gz file (or any other sort of compressed file extension) and import it into my local database.

It takes 2 arguments, the first one is the exported file and the second is the database that you would like to import it to. Use it like so:

 

Pause Bootstrap’s carousel when fancyBox is loaded and play it again when fancyBox is closed

Sweet and simple!

Note: Tested using Bootstrap v3.3.5 and fancyBox v2.1.5

Get window size break-point in JavaScript

Here’s a quick and easy JavaScript code snippet that will return your window size break-point. This can be handy when writing custom JavaScript code for a mobile responsive website.

The break-points are set to the default sizes used in Bootstrap but can be changed easily if needed. It will return one of the following: xs, sm, md, or lg.