diff --git a/archive-comic-calendar.php b/archive-comic-calendar.php index d89fa42..6aa818e 100644 --- a/archive-comic-calendar.php +++ b/archive-comic-calendar.php @@ -86,23 +86,47 @@ foreach ( $years as $year ) {
- - 0) { - if (is_array($monthfile)) $monthfile = reset($monthfile); ?> - <?php echo $month[$i]['month'] ?> + + + + 0) { + if (is_array($monthfile)) $monthfile = reset($monthfile); ?> + <?php echo $month[$i]['month'] ?> + + <?php echo $month[$i]['month'] ?> + - <?php echo $month[$i]['month'] ?> - + 0) { + if (is_array($monthfile)) $monthfile = reset($monthfile); ?> + <?php echo $month[$i]['month'] ?> + + <?php echo $month[$i]['month'] ?> + + + - 0) { - if (is_array($monthfile)) $monthfile = reset($monthfile); ?> - <?php echo $month[$i]['month'] ?> + + + + 0) { + if (is_array($monthfile)) $monthfile = reset($monthfile); ?> + <?php echo $month[$i]['month'] ?> + + <?php echo $month[$i]['month'] ?> + - <?php echo $month[$i]['month'] ?> + 0) { + if (is_array($monthfile)) $monthfile = reset($monthfile); ?> + <?php echo $month[$i]['month'] ?> + + <?php echo $month[$i]['month'] ?> + +
diff --git a/archive.php b/archive.php index 97bf62b..17a796c 100644 --- a/archive.php +++ b/archive.php @@ -5,7 +5,7 @@ post_count; ?> diff --git a/options/generaloptions.php b/options/generaloptions.php index 7d4d232..f2a4faa 100644 --- a/options/generaloptions.php +++ b/options/generaloptions.php @@ -127,6 +127,11 @@ $count = count($results = glob(get_template_directory() . '/images/cal/'.$current_cal_directory.'/*')); $cal_directories = glob(get_template_directory() . '/images/cal/*'); + $themepack_directory = get_option('comicpress-themepack_directory'); + if (!empty($themepack_directory) && $themepack_directory != 'none') { + if (file_exists(get_template_directory().'/themepack/'.$themepack_directory.'/cal')) $themepackcal = 1; + } + ?> Calendar Directory

Choose a directory to get the Archive Calendar styling from.
@@ -134,6 +139,9 @@