Hi! I need some help with a plugin I wrote. I only want the code to run on posts and pages. However it’s also trying to run on Premise landing pages. Because these landing pages circumvent the theme, I’m getting a Call to undefined function genesis_get_option() on the Premise pages. Here’s the code:

`genesis_get_option()` is called in the `click_fbcomments_jssdk_setup()` function. I tried using `if ( !is_singular() ) return` to prevent the code from running if it’s not a post or page but that doesn’t work.