Moving line of code in PHP file for custom field