nevermind i figured it out, thanks a million.
I dont know if im doing it right, but i add that snippet of code to code snippet plugin and it works but im getting lines of errors above the page, ho do i go about deleting them.
Nevermind i found it thanks and it works.