Where do you want to keep that ? In home page or inner page ?
If it is inner page, you can place the shortcode in the content area. Also you can do the same for home page if you are using Static Home page.
Usually you don’t need to place the code in php unless you have custom page templates.