Home › Forums › Support › Hooks video PHP This topic has 4 replies, 3 voices, and was last updated 7 years ago by Leo. Viewing 5 posts - 1 through 5 (of 5 total) Author Posts March 7, 2017 at 2:57 pm #288513 Steve Hello GeneratePress, i’ve tried using the code in your Hooks video but it dosnt seem to work anymore since all pages are empty now^^ would you guys mind taking a look?: <?php if { is_front_page() } : ?> <div id="willkommen-zur-schmerztherapie"> </div> <?php endif; ?> Sorry for the dumb question but i never used php before. March 7, 2017 at 4:57 pm #288547 LeoStaff Customer Support Hi Steve, I think you got the wrong bracket. Try this: <?php if ( is_front_page() ) : ?> <div id="willkommen-zur-schmerztherapie"> </div> <?php endif; ?> Let me know if this works. March 7, 2017 at 5:25 pm #288571 TomLead Developer Lead Developer Not a dumb question at all, PHP is a tough one to learn ๐ March 8, 2017 at 2:51 am #288719 Steve Thanks Leo and Tom, the code is working perfectly fine now you guys are amazing^^ Have a nice day. March 8, 2017 at 6:09 am #288808 LeoStaff Customer Support You’re welcome and you as well ๐ Author Posts Viewing 5 posts - 1 through 5 (of 5 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In