sidebar-left.php sidebar-right.php (the_widget archivedropdown fix)
comicpress-options.php loading the include files with a glob. Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
parent
cc2f5cae62
commit
782a7feb29
|
@ -215,15 +215,12 @@ function comicpress_admin() {
|
||||||
<div class="<?php if ($tab == 'buyprint') { ?>on<?php } else { ?>off<?php } ?>" title="buyprintoptions"><span><?php _e('Buy Print','comicpress'); ?></span></div>
|
<div class="<?php if ($tab == 'buyprint') { ?>on<?php } else { ?>off<?php } ?>" title="buyprintoptions"><span><?php _e('Buy Print','comicpress'); ?></span></div>
|
||||||
<div class="<?php if ($tab == 'members') { ?>on<?php } else { ?>off<?php } ?>" title="membersoptions"><span><?php _e('Members','comicpress'); ?></span></div>
|
<div class="<?php if ($tab == 'members') { ?>on<?php } else { ?>off<?php } ?>" title="membersoptions"><span><?php _e('Members','comicpress'); ?></span></div>
|
||||||
</div>
|
</div>
|
||||||
<?php include(get_template_directory() . '/options/themestyle.php'); ?>
|
|
||||||
<?php include(get_template_directory() . '/options/generaloptions.php'); ?>
|
<?php
|
||||||
<?php include(get_template_directory() . '/options/indexoptions.php'); ?>
|
foreach (glob(get_template_directory() . '/options/*.php') as $file) {
|
||||||
<?php include(get_template_directory() . '/options/postoptions.php'); ?>
|
include($file);
|
||||||
<?php include(get_template_directory() . '/options/archivesearchoptions.php'); ?>
|
}
|
||||||
<?php include(get_template_directory() . '/options/menubaroptions.php'); ?>
|
?>
|
||||||
<?php include(get_template_directory() . '/options/customheaderoptions.php'); ?>
|
|
||||||
<?php include(get_template_directory() . '/options/buyprintoptions.php'); ?>
|
|
||||||
<?php include(get_template_directory() . '/options/membersoptions.php'); ?>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -7,7 +7,7 @@ if (!$comicpress_options['disable_lrsidebars_frontpage']) { ?>
|
||||||
if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Left Sidebar') ) :
|
if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Left Sidebar') ) :
|
||||||
if (!is_cp_theme_layout('standard,v')) {
|
if (!is_cp_theme_layout('standard,v')) {
|
||||||
the_widget('ComicPressCalendarWidget');
|
the_widget('ComicPressCalendarWidget');
|
||||||
// the_widget('ComicPressArchiveDropdownWidget','mode=monthly_archive');
|
the_widget('ComicPressArchiveDropdownWidget', 'mode=storyline_order');
|
||||||
}
|
}
|
||||||
the_widget('ComicPressLatestComicsWidget');
|
the_widget('ComicPressLatestComicsWidget');
|
||||||
endif;
|
endif;
|
||||||
|
|
|
@ -8,12 +8,11 @@ if (!$comicpress_options['disable_lrsidebars_frontpage']) { ?>
|
||||||
the_widget('ComicpressBookmarkWidget','mode=three-button');
|
the_widget('ComicpressBookmarkWidget','mode=three-button');
|
||||||
if (is_cp_theme_layout('standard,v')) {
|
if (is_cp_theme_layout('standard,v')) {
|
||||||
the_widget('ComicPressCalendarWidget');
|
the_widget('ComicPressCalendarWidget');
|
||||||
the_widget('ComicpressArchiveDropdownWidget','mode=monthly_archive');
|
the_widget('ComicPressArchiveDropdownWidget', 'mode=storyline_order');
|
||||||
}
|
}
|
||||||
if ($comicpress_options['disable_comic_frontpage']) {
|
if ($comicpress_options['disable_comic_frontpage']) {
|
||||||
the_widget('ComicPressLatestThumbnailWidget');
|
the_widget('ComicPressLatestThumbnailWidget');
|
||||||
}
|
}
|
||||||
the_widget('WP_Widget_Search');
|
|
||||||
the_widget('WP_Widget_Pages');
|
the_widget('WP_Widget_Pages');
|
||||||
the_widget('WP_Widget_Categories','hierarchical=1&count=1');
|
the_widget('WP_Widget_Categories','hierarchical=1&count=1');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue