Developer // ACF: Counting Repeater Rows Inside Flexible Content

So I was trying to count the number of repeater rows for a ACF repeater field in my WordPress theme, something which I figured would be a simple use of the count() function on the returned field.

In turns out though, that the following code doesn’t work with a repeater field if it is part of a flexible content block. Continue reading “Developer // ACF: Counting Repeater Rows Inside Flexible Content”

Installing Git on Mac OS X versions prior to 10.9: Segmentation fault 11

So I was installing Bower onto my work machine (currently running OS X 10.7) and installed the lastest versions of Node and Git.

When attempting to install Bower I received an error from Git, and on closer inspection any git command was producing ‘Segemntation Fault’ or ‘Illegal instruction’  errors. Continue reading “Installing Git on Mac OS X versions prior to 10.9: Segmentation fault 11”