init(); $comicpress_admin = new ComicPressAdmin(); $comicpress_admin->init(); $comicpress_admin->handle_update(); $comicpress_filters = new ComicPressFilters(); $comicpress_filters->init(); } function F($name, $path, $override_post = null) { global $post; $comic_post = new ComicPressComicPost(is_null($override_post) ? $post : $override_post); return ComicPress::get_instance()->find_file($name, $path, $comic_post->find_parents()); } function FinishComicPress() { $content = ob_get_clean(); include(F('application.php', '')); } /** * Display the list of Storyline categories. */ function comicpress_list_storyline_categories($args = "") { global $category_tree; $defaults = array( 'style' => 'list', 'title_li' => __('Storyline') ); $r = wp_parse_args($args, $defaults); extract($r); $categories_by_id = get_all_category_objects_by_id(); $output = ''; if ($style == "list") { $output .= '