Calling Custom Field within Function wrapped with Divs.

Your function is going to hit the end of that first return and stop. Concatenate the strings and it should start working.