Moving API reference loop into separate file for easy inclusion in child themes