Home › Forums › Support › After content hook This topic has 1 reply, 2 voices, and was last updated 5 years, 6 months ago by Tom. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts November 20, 2016 at 10:01 pm #246155 Bradley Is there a way to exclude a hook on static pages and only use it within posts? The after content hook does not isolate it from static page content. November 20, 2016 at 11:21 pm #246165 TomLead Developer Lead Developer You can use PHP in hooks, so you can take advantage of WordPress conditionals: https://codex.wordpress.org/Conditional_Tags 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. Log In Username: Password: Keep me signed in Log In