Add method_exists() to the theme code example to prevent an error from happening if the plugin is not installed.