Revert Single File in GIT Commit


Step by step how to revert a file from a commit: Where to find the commit ID you’ll need Navigate to the repo which has the file version you are looking forClick through until you get to the file in questionTop right of the table you will see the last commit with a commit ID, 7 characters long and cryptic lookingCopy that number (example: 491ce18) and remember the path/to/your/file.phpIn...

Sort Posts in Multidimensional Array by ACF Repeater Field Value


If you have a collection of posts that need sorted or filtered by a repeater field, this can be a bit of a pain to query for. The normal WP_Query meta_query arguments won’t work here. To visualize this, lets imagine you have a custom post type of Trips. Inside Trips, you have repeating fields for Dates of each trip and a checkbox if it should be Featured. If you want to show ALL Trips that are...

Follow Me