remove original include partials

This commit is contained in:
John Bintz 2009-11-07 17:06:18 -05:00
parent fd1868e90e
commit 23be631fba
1 changed files with 0 additions and 21 deletions

View File

@ -44,27 +44,6 @@ function __comicpress_init() {
}
}
function include_partial($partials = '') {
global $comicpress, $post, $nav_comics;
if (!is_array($partials)) { $partials = func_get_args(); }
$content = $target = null;
$target = $comicpress->get_partial_path($partials);
if ($target !== false) {
ob_start(); include($target); $content = ob_get_clean();
}
$target = str_replace(".inc", "", $target);
if (!empty($target) && !empty($content)) {
echo apply_filters("comicpress_partial", $content, $target);
}
}
/**
* Display the list of Storyline categories.
*/