Search for: Log In Free Support [Resolved] Page Specific Hooks Home › Forums › Support › Page Specific Hooks This topic contains 1 reply, has 2 voices, and was last updated by Tom 3 years, 11 months ago. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts July 11, 2014 at 9:15 am #3718 Aaron Redman Hi Tom, I was wondering if I can specify that the GP Hooks only apply to certain pages? Is there some simple code I can insert? Thanks! Aaron July 11, 2014 at 9:17 am #3719 Tom Lead Developer Hi Aaron, You can use WordPress PHP conditionals in the hooks as long as you select Execute PHP. http://codex.wordpress.org/Conditional_Tags As an example: <?php if ( is_page( 'page-slug' ) ) : ?> Some content in here which will show up on yourwebsite.com/page-slug <?php endif; ?> Be careful with PHP – double check everything as it can be very picky and cause nasty errors. Tom Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Ongoing Development: https://generatepress.com/ongoing-development Author Posts Viewing 2 posts - 1 through 2 (of 2 total) You must be logged in to reply to this topic.