Home › Forums › Support › elements including templates in display rules This topic has 3 replies, 3 voices, and was last updated 4 years, 1 month ago by Leo. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts August 22, 2018 at 12:15 pm #657178 eric Hi, Love the theme and the new elements module. I create my own templates for most of the sites I create. Is it possible to have the hooks only apply to pages or posts that use specific templates? Thanks in advance, August 22, 2018 at 2:43 pm #657263 LeoStaff Customer Support Hi there, If I understand this correctly, you need something more specific than the Display Rule in Elements has to offer? If so you will can try using the filters and set the conditional tags however you like: https://docs.generatepress.com/article/generate_layout_element_display/ https://docs.generatepress.com/article/generate_hook_element_display/ https://docs.generatepress.com/article/generate_header_element_display/ https://codex.wordpress.org/Conditional_Tags Let me know if this helps ๐ March 6, 2020 at 12:12 pm #1187350 Mark Fantastic, saved me posting as I read the similar posts just at the last minute suggestion (it works) March 6, 2020 at 3:40 pm #1187446 LeoStaff Customer Support Glad you found the post useful ๐ 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