WordPress Speed Up Service | WordPress Website Maintenance Packages Reply To: Where do I add code?, by leunam12 Yeah, don’t worry about that. I have written code before and I know how it is, that little semi-colon that you forget gives you a lot of headaches. The strange part is that all the colors were right on VIM when I pasted it; usually if there is something missing the colors get all messed up. Thank you again. So… what if I don’t want to create a shortcode? should I just write the function in functions.php and then call it somehow from the page template? Or should I always try to solve it with shortcode? Reply To: Where do I add code?