I'm converting an existing php page to a wordpress page. On the existing page, I have 2 units of dynamic html based on the values of a cookie. I have existing code that can open / process this.
My question: What is the proper way to integrate custom code into a WP template. Do i need to make a function call for it within the worpdress umbrella, or can I just type my php code in the template?
Thanks & happy new year!