Hi @team TFA,
Sorry to hear of the problem you are having.
I have tested the code on my test site using latest version of Twenty Fourteen theme and it worked fine without any issue.
I think the issue is raised on your site because of doing mistake in copy pasting the code in functions.php file of your theme.
Could you please share me the code from functions.php file of your theme by pasting it on the site http://pastebin.com/ and sharing me its unique URL?
I checked your site http://www.tfa.co.in/ and found the following error message.
Parse error: syntax error, unexpected '}' in /home3/dhvanit/public_html/tfa/wp-content/themes/hiphop/functions.php on line 401
It seems from the above error message that you might have added the code in the hiphop theme that you are using and not Twenty Fourteen theme. This code is developed for Twenty Fourteen theme so you should use it in the Twenty Fourteen theme.