Home › Forums › Support › is this possible This topic has 3 replies, 2 voices, and was last updated 9 years, 10 months ago by Tom. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts November 26, 2014 at 1:43 am #49197 cliqous i would like to use a gp hook on the homepage only, but not on other pages. is this possible? November 26, 2014 at 12:16 pm #49314 TomLead Developer Lead Developer Absolutely, we can use PHP for this. WordPress has conditionals which can be found here: http://codex.wordpress.org/Conditional_Tags So for the homepage, we could do this: <?php if ( is_front_page() ) : ?> This stuff will show up on the front page only. <?php endif; ?> Whenever using PHP in hooks, be sure to check the “Execute PHP” checkbox. November 26, 2014 at 5:21 pm #49341 cliqous thanks November 27, 2014 at 12:28 am #49382 TomLead Developer Lead Developer 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