diff --git a/comiceasel.php b/comiceasel.php index db266f1..c58dab5 100644 --- a/comiceasel.php +++ b/comiceasel.php @@ -97,7 +97,7 @@ function ceo_initialize_post_types() { 'update_item' => __( 'Update', 'comiceasel' ).' '.$chapter_slug_plural, 'add_new_item' => __( 'Add New', 'comiceasel' ).' '.$chapter_slug, 'new_item_name' => __( 'New', 'comiceasel' ).' '.$chapter_slug.__('Name', 'comiceasel') - ); + ); register_taxonomy('chapters', 'comic', array( 'hierarchical' => true, diff --git a/functions/admin-meta.php b/functions/admin-meta.php index 2a9a0dc..82096ce 100644 --- a/functions/admin-meta.php +++ b/functions/admin-meta.php @@ -110,7 +110,7 @@ function ceo_chapters_menu_order_edit_form_field($term) { function ceo_add_new_comic_columns($comic_columns) { $new_columns['cb'] = ''; $new_columns['title'] = __('Comic Title', 'comiceasel'); - $new_columns['chapter'] = __('Chapter', 'comiceasel'); + $new_columns['chapter'] = ucwords(ceo_pluginfo('chapter_type_slug_name')); $new_columns['characters'] = __('Characters', 'comiceasel'); if (ceo_pluginfo('allow_comics_to_have_categories')) $new_columns['categories'] = __('Category', 'comiceasel'); diff --git a/functions/shortcodes.php b/functions/shortcodes.php index 07501ad..1a7cdab 100644 --- a/functions/shortcodes.php +++ b/functions/shortcodes.php @@ -339,12 +339,13 @@ function ceo_display_transcript($atts, $content = null) { extract( shortcode_atts( array( 'display' => 'styled' ), $atts ) ); - if (ceo_pluginfo('enable_transcripts_in_comic_posts')) return; + if (is_archive() || is_search() || ceo_pluginfo('enable_transcripts_in_comic_posts')) return; return ceo_the_transcript($display); } function ceo_display_the_transcript_action() { - if (ceo_pluginfo('enable_transcripts_in_comic_posts')) return; + global $post; + if (is_archive() || is_search() || ceo_pluginfo('enable_transcripts_in_comic_posts')) return; return ceo_the_transcript('styled'); } diff --git a/options/resources.php b/options/resources.php index 8a49162..336ccd9 100644 --- a/options/resources.php +++ b/options/resources.php @@ -1,20 +1,9 @@
- - - - - - - - - -
-

diff --git a/widgets/archive-dropdown.php b/widgets/archive-dropdown.php index be78b8a..e1cfc2f 100644 --- a/widgets/archive-dropdown.php +++ b/widgets/archive-dropdown.php @@ -21,7 +21,7 @@ function ceo_comic_archive_jump_to_chapter($unhide = false, $exclude = '', $show $output = '
'; $output .= '