ID !== 0) { $post_time = time(); foreach (array('post_date', 'post_modified', 'post_date_gmt', 'post_modified_gmt') as $time_value) { if (($result = strtotime($post->{$time_value})) !== false) { $post_time = $result; break; } } $post_categories = wp_get_post_categories($post->ID); if (isset($cpm_config->properties['comiccat'])) { $in_comics_category = (count(array_intersect($comic_categories, $post_categories)) > 0); } $ok = true; if (cpm_get_subcomic_directory() !== false) { $ok = in_array(get_option('comicpress-manager-manage-subcomic'), wp_get_post_categories($post->ID)); } if ($ok) { if (($comic = find_comic_by_date($post_time)) !== false) { $comic_uri = cpm_build_comic_uri($comic); $comic_filename = preg_replace('#^.*/([^\/]*)$#', '\1', $comic_uri); $link = "${comic_filename}"; $date_root = substr($comic_filename, 0, strlen(date(CPM_DATE_FORMAT))); $thumbnails_found = cpm_find_thumbnails_by_filename($comic); $icon_file_to_use = $comic; foreach (array('rss', 'archive') as $type) { if (isset($thumbnails_found[$type])) { $icon_file_to_use = $thumbnails_found[$type]; } } $icon_uri = cpm_build_comic_uri($icon_file_to_use); $has_comic_file = true; } } } ?> comic_files) == 0) { ?>
%s comic subdirectory.", 'comicpress-manager'), get_cat_name(get_option('comicpress-manager-manage-subcomic'))); } ?> 0) { ?>
ComicPress Manager Edit Post file management is enabled. Any changes to post date, or deleting this post, will affect any associated comic files.
NOTE: Upload errors will not be reported. If you are having trouble uploading files, use the ComicPress -> Upload screen.
(thumbnails will be generated)", 'comicpress-manager') ?> |
|
It looks like you\'re running an older version of ComicPress. Storyline, hovertext, and transcript are fully supported in ComicPress 2.7. You can use hovertext and transcripts in earlier themes by using get_post_meta($post->ID, "hovertext", true) and get_post_meta($post->ID, "transcript", true).', 'comicpress-manager') ?> | |
1) { _e("Storyline", 'comicpress-manager'); } else { _e("Category", 'comicpress-manager'); } ?> | |
What Did They Say?!?', 'comicpress-manager') ?> |