Home › Forums › Support › Use Custom template for home page This topic has 3 replies, 2 voices, and was last updated 4 years, 5 months ago by David. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts November 22, 2019 at 7:41 am #1072647 TEJVAN I want to add google adsense code on all pages except a few. So I add code to content-single.php If I create custom-template-no-ads.php Under page attributes, there is no option to choose a different templates Is it possible to use a custom template for a few pages with this themne? November 22, 2019 at 8:05 am #1072694 DavidStaff Customer Support Hi there, why not use the Hook Element to insert your code? https://docs.generatepress.com/article/hooks-element-overview/ November 22, 2019 at 8:28 am #1072741 TEJVAN Great, thanks! November 22, 2019 at 8:32 am #1072774 DavidStaff Customer Support you’re welcome Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In