ComicPress 2.8.2.1, Themepacks removed, added child themes, child themes are currently seperate now from the core framework.
Still needs to be done: Fixing the childtheme/templatetheme directory finding for the archive and calendar page for images, and the comicpress calendar image default. Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2
404.php
|
@ -5,7 +5,7 @@
|
|||
<div class="post-page-head"></div>
|
||||
<div class="post-page">
|
||||
<h2 class="pagetitle"><?php _e('Page Not Found','comicpress'); ?></h2>
|
||||
<p><a href="<?php bloginfo('url') ?>"><?php _e('Click here to return to the home page','comicpress'); ?></a> <?php _e('or try a search:','comicpress'); ?></p>
|
||||
<p><a href="<?php bloginfo('wpurl') ?>"><?php _e('Click here to return to the home page','comicpress'); ?></a> <?php _e('or try a search:','comicpress'); ?></p>
|
||||
<p><?php include (get_template_directory() . '/searchform.php') ?></p>
|
||||
<br class="clear-margins" />
|
||||
</div>
|
||||
|
|
|
@ -95,16 +95,16 @@ foreach ( $years as $year ) {
|
|||
<?php if (file_exists(get_template_directory().'/themepack/'.$themepack_directory.'/cal/'.$archive_year)) { ?>
|
||||
<?php if (count($monthfile = glob(get_template_directory().'/themepack/'.$themepack_directory.'/cal/'.$archive_year.'/'.strtolower($month[$i]['month']).'.*')) > 0) {
|
||||
if (is_array($monthfile)) $monthfile = reset($monthfile); ?>
|
||||
<img class="cpcal-image" src="<?php bloginfo('stylesheet_directory'); ?>/themepack/<?php echo $themepack_directory; ?>/cal/<?php echo $archive_year; ?>/<?php echo basename($monthfile); ?>" alt="<?php echo $month[$i]['month'] ?>" title="<?php echo $month[$i]['month'] ?>" />
|
||||
<img class="cpcal-image" src="<?php echo get_stylesheet_directory_uri(); ?>/themepack/<?php echo $themepack_directory; ?>/cal/<?php echo $archive_year; ?>/<?php echo basename($monthfile); ?>" alt="<?php echo $month[$i]['month'] ?>" title="<?php echo $month[$i]['month'] ?>" />
|
||||
<?php } else { ?>
|
||||
<img class="cpcal-image" src="<?php bloginfo('stylesheet_directory'); ?>/images/cal/default.png" alt="<?php echo $month[$i]['month'] ?>" title="<?php echo $month[$i]['month'] ?>" />
|
||||
<img class="cpcal-image" src="<?php echo get_stylesheet_directory_uri(); ?>/images/cal/default.png" alt="<?php echo $month[$i]['month'] ?>" title="<?php echo $month[$i]['month'] ?>" />
|
||||
<?php } ?>
|
||||
<?php } else { ?>
|
||||
<?php if (count($monthfile = glob(get_template_directory().'/themepack/'.$themepack_directory.'/cal/'.strtolower($month[$i]['month']).'.*')) > 0) {
|
||||
if (is_array($monthfile)) $monthfile = reset($monthfile); ?>
|
||||
<img class="cpcal-image" src="<?php bloginfo('stylesheet_directory'); ?>/themepack/<?php echo $themepack_directory; ?>/cal/<?php echo basename($monthfile); ?>" alt="<?php echo $month[$i]['month'] ?>" title="<?php echo $month[$i]['month'] ?>" />
|
||||
<img class="cpcal-image" src="<?php echo get_stylesheet_directory_uri(); ?>/themepack/<?php echo $themepack_directory; ?>/cal/<?php echo basename($monthfile); ?>" alt="<?php echo $month[$i]['month'] ?>" title="<?php echo $month[$i]['month'] ?>" />
|
||||
<?php } else { ?>
|
||||
<img class="cpcal-image" src="<?php bloginfo('stylesheet_directory'); ?>/images/cal/default.png" alt="<?php echo $month[$i]['month'] ?>" title="<?php echo $month[$i]['month'] ?>" />
|
||||
<img class="cpcal-image" src="<?php echo get_stylesheet_directory_uri(); ?>/images/cal/default.png" alt="<?php echo $month[$i]['month'] ?>" title="<?php echo $month[$i]['month'] ?>" />
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
|
||||
|
|
|
@ -10,11 +10,11 @@ function comicpress_options() {
|
|||
function comicpress_admin_page_head() {
|
||||
global $is_IE;
|
||||
if ($is_IE) { ?>
|
||||
<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/js/tabbed/tabbed_pages_ie.css" type="text/css" media="screen" />
|
||||
<link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/js/tabbed/tabbed_pages_ie.css" type="text/css" media="screen" />
|
||||
<?php } else { ?>
|
||||
<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/js/tabbed/tabbed_pages.css" type="text/css" media="screen" />
|
||||
<link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/js/tabbed/tabbed_pages.css" type="text/css" media="screen" />
|
||||
<?php } ?>
|
||||
<script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/js/tabbed/tabbed_pages.js"></script>
|
||||
<script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/tabbed/tabbed_pages.js"></script>
|
||||
<?php }
|
||||
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
<?php if (comicpress_check_themepack_file('footer') == false) { ?>
|
||||
<div id="footer">
|
||||
<?php if (function_exists('the_project_wonderful_ad')) { ?>
|
||||
<div class="footerpwad">
|
||||
|
@ -18,7 +17,6 @@
|
|||
</p>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php global $disable_page_restraints; if ($disable_page_restraints == 'no') { ?>
|
||||
</div><!-- Ends "page/page-wide" -->
|
||||
|
|
|
@ -1,12 +1,15 @@
|
|||
<?php
|
||||
|
||||
// Queue up the scripts.
|
||||
wp_enqueue_script('comicpress_scroll', get_template_directory_uri() . '/js/scroll.js');
|
||||
|
||||
function init_language(){
|
||||
// xili-language plugin check
|
||||
if (class_exists('xili_language')) {
|
||||
define('THEME_TEXTDOMAIN','comicpress');
|
||||
define('THEME_LANGS_FOLDER','/lang');
|
||||
} else {
|
||||
load_theme_textdomain( 'comicpress', get_template_directory().'/lang' );
|
||||
load_theme_textdomain( 'comicpress', get_template_directory_uri() . '/lang' );
|
||||
}
|
||||
}
|
||||
add_action ('init', 'init_language');
|
||||
|
@ -16,7 +19,7 @@ if (function_exists('id_get_comment_number')) {
|
|||
remove_filter('comments_number','id_get_comment_number');
|
||||
}
|
||||
|
||||
$comicpress_version = '2.8.1.34';
|
||||
$comicpress_version = '2.8.2.1';
|
||||
|
||||
global $wpmu_version;
|
||||
if (!empty($wpmu_version)) {
|
||||
|
@ -139,14 +142,13 @@ if ($remove_wptexturize == 'yes') {
|
|||
}
|
||||
|
||||
// WIDGETS WP 2.8 compatible ONLY, no backwards compatibility here.
|
||||
foreach (glob(dirname(__FILE__) . '/widgets/*.php') as $__file) { require_once($__file); }
|
||||
|
||||
// FUNCTIONS & Extra's
|
||||
foreach (glob(dirname(__FILE__) . '/functions/*.php') as $__file) { require_once($__file); }
|
||||
|
||||
// widgets in the themepack
|
||||
if (file_exists(get_template_directory(). '/themepack/'. $themepack_directory.'/widgets')) {
|
||||
foreach (glob(get_template_directory(). '/themepack/'. $themepack_directory . '/widgets/*.php') as $__file) { require_once($__file); }
|
||||
$dirs_to_search = array_unique(array(get_template_directory(),get_stylesheet_directory()));
|
||||
foreach ($dirs_to_search as $dir) {
|
||||
// Widgets
|
||||
foreach (glob($dir . '/widgets/*.php') as $__file) { require_once($__file); }
|
||||
|
||||
// FUNCTIONS & Extra's
|
||||
foreach (glob($dir . '/functions/*.php') as $__file) { require_once($__file); }
|
||||
}
|
||||
|
||||
// Dashboard Menu Comicpress Options and ComicPress CSS
|
||||
|
@ -848,11 +850,10 @@ function cp_copyright() {
|
|||
return $output;
|
||||
}
|
||||
|
||||
function comicpress_check_themepack_file($filename = '') {
|
||||
global $themepack_directory;
|
||||
function comicpress_check_child_file($filename = '') {
|
||||
if (empty($filename)) return false;
|
||||
if ( ($themepack_directory != 'none' && !empty($themepack_directory) ) && file_exists(get_template_directory() . '/themepack/'.$themepack_directory.'/'.$filename.'.php') ) {
|
||||
@include(get_template_directory() . '/themepack/' .$themepack_directory. '/'.$filename .'.php');
|
||||
if (file_exists(get_stylesheet_directory() .'/'. $filename . '.php')) {
|
||||
@include(get_stylesheet_directory() .'/'. $filename . '.php');
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
@ -871,7 +872,15 @@ function rss_count_comments(){
|
|||
|
||||
add_action('the_title_rss','rss_count_comments');
|
||||
|
||||
|
||||
if (comicpress_check_themepack_file('functions') == false) {}
|
||||
function comicpress_gnav_display_css() {
|
||||
global $graphicnav_directory;
|
||||
if (file_exists(get_stylesheet_directory() . '/images/nav/' . $graphicnav_directory . '/navstyle.css')) { ?>
|
||||
<link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri(); ?>/images/nav/<?php echo $graphicnav_directory; ?>/navstyle.css" type="text/css" media="screen" />
|
||||
<?php } elseif (file_exists(get_template_directory() . '/images/nav/' .$graphicnav_directory. '/navstyle.css')) { ?>
|
||||
<link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/images/nav/<?php echo $graphicnav_directory; ?>/navstyle.css" type="text/css" media="screen" />
|
||||
<?php }
|
||||
}
|
||||
|
||||
if (comicpress_check_child_file('childfunctions') == false) {}
|
||||
|
||||
?>
|
|
@ -1,7 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Check Browser
|
||||
* Depreciated
|
||||
*
|
||||
*/
|
||||
?>
|
|
@ -123,20 +123,19 @@ function comicpress_comments_callback($comment, $args, $depth) {
|
|||
|
||||
<li id="comment-<?php comment_ID(); ?>" class="<?php comicpress_comment_class(); ?>">
|
||||
|
||||
<?php comicpress_avatar(); // Avatar filter ?>
|
||||
<?php comicpress_avatar(); // Avatar filter ?>
|
||||
|
||||
<div class="comment-meta-data">
|
||||
<div class="comment-meta-data">
|
||||
|
||||
<div class="comment-author vcard">
|
||||
<?php comicpress_comment_author(); ?><br />
|
||||
</div>
|
||||
|
||||
<div class="comment-author vcard">
|
||||
<?php comicpress_comment_author(); ?><br />
|
||||
</div>
|
||||
<span class="comment-time" title="<?php comment_date(__('l, F jS, Y, g:i a','comicpress')); ?>">
|
||||
<?php printf(__('%1$s at %2$s','comicpress'), get_comment_date(), get_comment_time()); ?>
|
||||
</span>
|
||||
|
||||
<span class="comment-time" title="<?php comment_date(__('l, F jS, Y, g:i a','comicpress')); ?>">
|
||||
<?php printf(__('%1$s at %2$s','comicpress'), get_comment_date(), get_comment_time()); ?>
|
||||
</span>
|
||||
|
||||
<span class="separator">|</span> <a class="permalink" href="#comment-<?php echo str_replace('&', '&', get_comment_ID()); ?>" title="<?php _e('Permalink to comment','comicpress'); ?>"><?php _e('Permalink','comicpress'); ?></a>
|
||||
|
||||
<span class="separator">|</span> <a class="permalink" href="#comment-<?php echo str_replace('&', '&', get_comment_ID()); ?>" title="<?php _e('Permalink to comment','comicpress'); ?>"><?php _e('Permalink','comicpress'); ?></a>
|
||||
<?php
|
||||
if((get_option('thread_comments')) && ($args['type'] == 'all' || get_comment_type() == 'comment')) :
|
||||
$max_depth = get_option('thread_comments_depth');
|
||||
|
@ -153,19 +152,18 @@ function comicpress_comments_callback($comment, $args, $depth) {
|
|||
<?php edit_comment_link('<span class="edit">'.__('Edit','comicpress').'</span>',' <span class="separator">|</span> ',''); ?>
|
||||
|
||||
<?php if($comment->comment_approved == '0') : ?>
|
||||
<br /><em><?php _e('Your comment is awaiting moderation.','comicpress'); ?></em>
|
||||
<div class="comment-moderated"><em><?php _e('Your comment is awaiting moderation.','comicpress'); ?></em></div>
|
||||
<?php endif; ?>
|
||||
|
||||
</div>
|
||||
|
||||
<?php if (get_comment_type() == 'comment') { ?>
|
||||
<div class="comment-text">
|
||||
<?php comment_text(); ?>
|
||||
</div>
|
||||
<?php } else { ?>
|
||||
<div class="comment-text">
|
||||
<?php comment_text(); ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div class="clear"></div>
|
||||
<?php }
|
||||
}
|
||||
<?php }
|
||||
|
||||
/**
|
||||
* Ends the display of individual comments
|
||||
|
|
|
@ -7,68 +7,66 @@
|
|||
*/
|
||||
|
||||
function display_blog_post() {
|
||||
if (comicpress_check_themepack_file('displayblogpost') == false) {
|
||||
global $post, $wp_query, $authordata, $enable_related_posts, $enable_post_author_gravatar, $enable_post_calendar, $themepack_directory, $disable_categories_in_posts, $disable_tags_in_posts; ?>
|
||||
<?php if (is_single()) { ?>
|
||||
<div class="blognav">
|
||||
<div class="nav-single">
|
||||
<?php previous_post_link('%link',__(' ‹ Previous ','comicpress'), TRUE); ?>
|
||||
<?php next_post_link('%link',__(' Next › ','comicpress'), TRUE); ?>
|
||||
</div>
|
||||
global $post, $wp_query, $authordata, $enable_related_posts, $enable_post_author_gravatar, $enable_post_calendar, $themepack_directory, $disable_categories_in_posts, $disable_tags_in_posts; ?>
|
||||
<?php if (is_single()) { ?>
|
||||
<div class="blognav">
|
||||
<div class="nav-single">
|
||||
<?php previous_post_link('%link',__(' ‹ Previous ','comicpress'), TRUE); ?>
|
||||
<?php next_post_link('%link',__(' Next › ','comicpress'), TRUE); ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div class="clear"></div>
|
||||
<div class="<?php comicpress_post_class(); ?>">
|
||||
<div class="post-head"></div>
|
||||
<div <?php post_class(); ?> id="post-<?php the_ID() ?>">
|
||||
<div class="post-info">
|
||||
<?php if ($enable_post_author_gravatar == 'yes') { ?>
|
||||
<div class="post-author-gravatar"><?php echo str_replace("alt='", "alt='".get_the_author_meta('display_name')."' title='".get_the_author_meta('display_name'),comicpress_get_avatar(get_the_author_meta('email'), 64)); ?></div>
|
||||
<?php } ?>
|
||||
<?php if (function_exists('comicpress_show_mood_in_post')) comicpress_show_mood_in_post(); ?>
|
||||
<?php if ($enable_post_calendar == 'yes') { ?>
|
||||
<div class="post-date">
|
||||
<div class="date"><span><?php the_time('M') ?></span> <?php the_time('d') ?></div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div class="post-text">
|
||||
<h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
|
||||
<div class="post-author"> By <?php the_author_posts_link(); ?> on <?php the_time('F jS, Y'); ?></div>
|
||||
<?php if ($disable_categories_in_posts != 'yes') { ?>
|
||||
<div class="post-cat"><?php _e('Posted In:','comicpress'); ?> <?php the_category(','); ?></div>
|
||||
<?php } ?>
|
||||
<div class="post-edit"><?php edit_post_link(__('Edit Post','comicpress'), ' [ ', ' ] '); ?></div>
|
||||
<?php if(function_exists('the_ratings')) { the_ratings(); } ?>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<?php if (!is_single()) { global $more; $more = 0; } ?>
|
||||
<?php the_content(__('↓ Read the rest of this entry...','comicpress')); ?>
|
||||
<?php if (is_single()) wp_link_pages(array('before' => '<div class="linkpages"><span class="linkpages-pagetext">Pages:</span> ', 'after' => '</div>', 'next_or_number' => 'number')); ?>
|
||||
</div>
|
||||
<br class="clear-margins" />
|
||||
<div class="post-extras">
|
||||
<?php if ($disable_tags_in_posts != 'yes') { ?>
|
||||
<div class="post-tags">
|
||||
<?php the_tags(__('└ Tags: ','comicpress'), ', ', '<br />'); ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div class="clear"></div>
|
||||
<div class="<?php comicpress_post_class(); ?>">
|
||||
<div class="post-head"></div>
|
||||
<div <?php post_class(); ?> id="post-<?php the_ID() ?>">
|
||||
<div class="post-info">
|
||||
<?php if ($enable_post_author_gravatar == 'yes') { ?>
|
||||
<div class="post-author-gravatar"><?php echo str_replace("alt='", "alt='".get_the_author_meta('display_name')."' title='".get_the_author_meta('display_name'),comicpress_get_avatar(get_the_author_meta('email'), 64)); ?></div>
|
||||
<?php } ?>
|
||||
<?php if (function_exists('comicpress_show_mood_in_post')) comicpress_show_mood_in_post(); ?>
|
||||
<?php if ($enable_post_calendar == 'yes') { ?>
|
||||
<div class="post-date">
|
||||
<div class="date"><span><?php the_time('M') ?></span> <?php the_time('d') ?></div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php
|
||||
if ('open' == $post->comment_status && !is_single()) {
|
||||
if (comicpress_check_themepack_file('commentlink') == false) { ?>
|
||||
<div class="comment-link"><?php comments_popup_link('<span class="comment-balloon comment-balloon-empty"> </span> '.__('No Comments ','comicpress'), '<span class="comment-balloon">1</span> '.__('Comment ','comicpress'), '<span class="comment-balloon">%</span> '.__('Comments ','comicpress')); ?></div>
|
||||
<?php }
|
||||
}
|
||||
?>
|
||||
<div class="post-text">
|
||||
<h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
|
||||
<div class="post-author"> By <?php the_author_posts_link(); ?> on <?php the_time('F jS, Y'); ?></div>
|
||||
<?php if ($disable_categories_in_posts != 'yes') { ?>
|
||||
<div class="post-cat"><?php _e('Posted In:','comicpress'); ?> <?php the_category(','); ?></div>
|
||||
<?php } ?>
|
||||
<div class="post-edit"><?php edit_post_link(__('Edit Post','comicpress'), ' [ ', ' ] '); ?></div>
|
||||
<?php if(function_exists('the_ratings')) { the_ratings(); } ?>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
<?php if ($enable_related_posts == 'yes') echo related_posts_shortcode(); ?>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<?php if (!is_single()) { global $more; $more = 0; } ?>
|
||||
<?php the_content(__('↓ Read the rest of this entry...','comicpress')); ?>
|
||||
<?php if (is_single()) wp_link_pages(array('before' => '<div class="linkpages"><span class="linkpages-pagetext">Pages:</span> ', 'after' => '</div>', 'next_or_number' => 'number')); ?>
|
||||
</div>
|
||||
<br class="clear-margins" />
|
||||
<div class="post-extras">
|
||||
<?php if ($disable_tags_in_posts != 'yes') { ?>
|
||||
<div class="post-tags">
|
||||
<?php the_tags(__('└ Tags: ','comicpress'), ', ', '<br />'); ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php
|
||||
if ('open' == $post->comment_status && !is_single()) {
|
||||
if (comicpress_check_child_file('partials/commentlink') == false) { ?>
|
||||
<div class="comment-link"><?php comments_popup_link('<span class="comment-balloon comment-balloon-empty"> </span> '.__('No Comments ','comicpress'), '<span class="comment-balloon">1</span> '.__('Comment ','comicpress'), '<span class="comment-balloon">%</span> '.__('Comments ','comicpress')); ?></div>
|
||||
<?php }
|
||||
}
|
||||
?>
|
||||
<div class="clear"></div>
|
||||
<?php if ($enable_related_posts == 'yes') echo related_posts_shortcode(); ?>
|
||||
</div>
|
||||
<div class="post-foot"></div>
|
||||
</div>
|
||||
<?php
|
||||
<br class="clear-margins" />
|
||||
</div>
|
||||
<div class="post-foot"></div>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
|
@ -7,7 +7,6 @@
|
|||
*/
|
||||
|
||||
function display_comic_post() {
|
||||
if (comicpress_check_themepack_file('displaycomicpost') == false) {
|
||||
global $post, $wp_query, $authordata, $enable_related_comics, $enable_comic_post_author_gravatar, $enable_comic_post_calendar, $themepack_directory, $disable_categories_in_posts, $disable_tags_in_posts; ?>
|
||||
<div class="<?php comicpress_post_class(); ?>">
|
||||
<div class="post-comic-head"></div>
|
||||
|
@ -50,7 +49,7 @@ function display_comic_post() {
|
|||
<?php } ?>
|
||||
<?php
|
||||
if ($post->comment_status == 'open' && !is_single()) {
|
||||
if (comicpress_check_themepack_file('commentlink') == false) { ?>
|
||||
if (comicpress_check_child_file('partials/commentlink') == false) { ?>
|
||||
<div class="comment-link"><?php comments_popup_link('<span class="comment-balloon comment-balloon-empty"> </span> '.__('No Comments ','comicpress'), '<span class="comment-balloon">1</span> '.__('Comment ','comicpress'), '<span class="comment-balloon">%</span> '.__('Comments ','comicpress')); ?></div>
|
||||
<?php }
|
||||
}
|
||||
|
@ -64,71 +63,4 @@ function display_comic_post() {
|
|||
</div>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function display_comic_post2() {
|
||||
if (comicpress_check_themepack_file('displaycomicpost') == false) {
|
||||
global $post, $wp_query, $transcript_in_posts, $enable_related_comics, $enable_comic_post_author_gravatar, $enable_comic_post_calendar, $disable_categories_in_posts, $disable_tags_in_posts, $themepack_directory;
|
||||
$first_comic = get_first_comic_permalink(); $last_comic = get_last_comic_permalink();
|
||||
?>
|
||||
<div class="<?php comicpress_post_class(); ?>">
|
||||
<div class="post-comic-comic-head"></div>
|
||||
<div class="post-comic-comic">
|
||||
<div class="post-comic-info">
|
||||
<?php if ($enable_comic_post_author_gravatar == 'yes') { ?>
|
||||
<div class="post-comic-author-gravatar"><?php echo str_replace("alt='", "alt='".get_the_author_meta('display_name')."' title='".get_the_author_meta('display_name'),comicpress_get_avatar(get_the_author_meta('email'), 64)); ?></div>
|
||||
<?php } ?>
|
||||
<?php if (function_exists('comicpress_show_mood_in_post')) comicpress_show_mood_in_post(); ?>
|
||||
<?php if ($enable_comic_post_calendar == 'yes') { ?>
|
||||
<div class="post-comic-date">
|
||||
<div class="date"><span><?php the_time('M') ?></span> <?php the_time('d') ?></div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div class="post-comic-text">
|
||||
<h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
|
||||
<div class="post-comic-author"> By <?php the_author_posts_link(); ?> on <?php the_time('F jS, Y'); ?></div>
|
||||
<?php if (get_option('comicpress-enable-storyline-support') == 1) { ?>
|
||||
<ul class="storyline-cats"><li class="storyline-root"><?php the_category(' » </li><li>', multiple) ?></li></ul>
|
||||
<?php } else { ?>
|
||||
<?php if ($disable_categories_in_posts != 'yes') { ?>
|
||||
<div class="post-comic-cat"><?php _e('Posted In:','comicpress'); ?> <?php the_category(','); ?></div>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
<div class="post-comic-edit"><?php edit_post_link(__('Edit Post','comicpress'), ' [ ', ' ] '); ?></div>
|
||||
<?php if(function_exists('the_ratings')) { the_ratings(); } ?>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<?php if (!is_single()) { global $more; $more = 0; } ?>
|
||||
<?php the_content(__('↓ Read the rest of this entry...','comicpress')); ?>
|
||||
<?php if (is_single()) wp_link_pages(array('before' => '<div class="linkpages"><span class="linkpages-pagetext">Pages:</span> ', 'after' => '</div>', 'next_or_number' => 'number')); ?>
|
||||
</div>
|
||||
<br class="clear-margins" />
|
||||
<?php if ($transcript_in_posts == 'yes') the_transcript('styled'); ?>
|
||||
<div class="post-comic-extras">
|
||||
<?php if ($disable_tags_in_posts != 'yes') { ?>
|
||||
<div class="post-comic-tags">
|
||||
<?php the_tags(__('└ Tags: ','comicpress'), ', ', '<br />'); ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php
|
||||
if ('open' == $post->comment_status) {
|
||||
if (comicpress_check_themepack_file('commentlink') == false) { ?>
|
||||
<div class="comment-link"><?php comments_popup_link('<span class="comment-balloon comment-balloon-empty"> </span> '.__('No Comments ','comicpress'), '<span class="comment-balloon">1</span> '.__('Comment ','comicpress'), '<span class="comment-balloon">%</span> '.__('Comments ','comicpress')); ?></div>
|
||||
<?php }
|
||||
}
|
||||
?>
|
||||
<div class="clear"></div>
|
||||
<?php if ($enable_related_comics == 'yes') echo related_comics_shortcode(); ?>
|
||||
</div>
|
||||
<br class="clear-margins" />
|
||||
</div>
|
||||
<div class="post-comic-comic-foot"></div>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
|
@ -23,9 +23,11 @@ function comicpress_show_mood_in_post() {
|
|||
if (!empty($mood_file) && $mood_file != '') {
|
||||
$mood = explode(".", $mood);
|
||||
$mood = reset($mood);
|
||||
if ( !empty($mood_file) && file_exists(get_template_directory() . '/images/moods/'.$moods_directory.'/'.$mood_file) ) { ?>
|
||||
<div class="post-mood post-<?php echo $mood; ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/moods/<?php echo $moods_directory; ?>/<?php echo $mood_file; ?>" alt="<?php echo $mood; ?>" title="<?php echo $mood; ?>" /></div>
|
||||
<?php }
|
||||
if ( !empty($mood_file) && file_exists(get_stylesheet_directory() . '/images/moods/'.$moods_directory.'/'.$mood_file) ) { ?>
|
||||
<div class="post-mood post-<?php echo $mood; ?>"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/moods/<?php echo $moods_directory; ?>/<?php echo $mood_file; ?>" alt="<?php echo $mood; ?>" title="<?php echo $mood; ?>" /></div>
|
||||
<?php } elseif (!empty($mood_file) && file_exists(get_template_directory() . '/images/moods/' .$moods_directory . '/' . $mood_file) ) { ?>
|
||||
<div class="post-mood post-<?php echo $mood; ?>"><img src="<?php echo get_template_directory_uri(); ?>/images/moods/<?php echo $moods_directory; ?>/<?php echo $mood_file; ?>" alt="<?php echo $mood; ?>" title="<?php echo $mood; ?>" /></div>
|
||||
<?php }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -48,8 +50,14 @@ function comicpress_showmood_edit_post() {
|
|||
$mood = reset($mood);
|
||||
}
|
||||
|
||||
$filtered_glob_results = array();
|
||||
$count = count($results = glob(get_template_directory() . '/images/moods/'.$moods_directory.'/*'));
|
||||
$count = 0;
|
||||
$count = count($results = glob(get_stylesheet_directory() . '/images/moods/'.$moods_directory.'/*'));
|
||||
if (!$count) {
|
||||
$count = count($results = glob(get_template_directory() . '/images/moods/'.$moods_directory.'/*'));
|
||||
$moods_uri = get_template_directory_uri();
|
||||
} else {
|
||||
$moods_uri = get_stylesheet_directory_uri();
|
||||
}
|
||||
echo $count .__(' moods are available.','comicpress').'<br />
|
||||
'.__('Using Moods from directory: ','comicpress').$moods_directory.'<br />
|
||||
'.__('Current Mood: ','comicpress').$mood.'<br /><br />';
|
||||
|
@ -67,7 +75,7 @@ function comicpress_showmood_edit_post() {
|
|||
$newmood = $newmood[0]; ?>
|
||||
<div style="float:left; margin-top: 10px; text-align: center; width: 68px; overflow: hidden;">
|
||||
<label for="postmood-<?php echo $newmood; ?>" style="cursor:pointer;">
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/moods/<?php echo $moods_directory; ?>/<?php echo basename($file); ?>"><br />
|
||||
<img src="<?php echo $moods_uri; ?>/images/moods/<?php echo $moods_directory; ?>/<?php echo basename($file); ?>"><br />
|
||||
<?php echo $newmood; ?>
|
||||
</label>
|
||||
<br />
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Raw Format Shortcode
|
||||
* depreciated
|
||||
*/
|
||||
?>
|
52
header.php
|
@ -2,41 +2,28 @@
|
|||
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
|
||||
<head>
|
||||
<title><?php
|
||||
bloginfo('name');
|
||||
if (is_home () ) {
|
||||
echo " - "; bloginfo('description');
|
||||
} elseif (is_category() ) {
|
||||
echo " - "; single_cat_title();
|
||||
} elseif (is_single() || is_page() ) {
|
||||
echo " - "; single_post_title();
|
||||
} elseif (is_search() ) {
|
||||
bloginfo('name');
|
||||
if (is_home () ) {
|
||||
echo " - "; bloginfo('description');
|
||||
} elseif (is_category() ) {
|
||||
echo " - "; single_cat_title();
|
||||
} elseif (is_single() || is_page() ) {
|
||||
echo " - "; single_post_title();
|
||||
} elseif (is_search() ) {
|
||||
echo __(" search results: ",'comicpress'); echo wp_specialchars($s);
|
||||
} else {
|
||||
echo " - "; wp_title('',true);
|
||||
}
|
||||
} else {
|
||||
echo " - "; wp_title('',true);
|
||||
}
|
||||
?></title>
|
||||
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type') ?>; charset=<?php bloginfo('charset') ?>" />
|
||||
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url') ?>" type="text/css" media="screen" />
|
||||
<?php global $graphicnav_directory, $themepack_directory;
|
||||
if ($graphicnav_directory == 'themepack') { ?>
|
||||
<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory') ?>/themepack/<?php echo $themepack_directory; ?>/nav/navstyle.css" type="text/css" media="screen" />
|
||||
<?php } else {
|
||||
if (file_exists(get_template_directory() . '/images/nav/' .$graphicnav_directory. '/navstyle.css')) { ?>
|
||||
<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory') ?>/images/nav/<?php echo $graphicnav_directory; ?>/navstyle.css" type="text/css" media="screen" />
|
||||
<?php }
|
||||
}
|
||||
?>
|
||||
<?php
|
||||
if ($themepack_directory != 'none') { ?>
|
||||
<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/themepack/<?php echo $themepack_directory; ?>/style.css" type="text/css" media="screen" />
|
||||
<?php } ?>
|
||||
<link rel="stylesheet" href="<?php echo get_stylesheet_uri(); ?>" type="text/css" media="screen" />
|
||||
<?php comicpress_gnav_display_css(); ?>
|
||||
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name') ?> RSS2 Feed" href="<?php bloginfo('rss2_url') ?>" />
|
||||
<link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name') ?> Atom Feed" href="<?php bloginfo('atom_url') ?>" />
|
||||
<link rel="pingback" href="<?php bloginfo('pingback_url') ?>" />
|
||||
<script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/js/scroll.js"></script>
|
||||
<meta name="ComicPress" content="<?php global $comicpress_version; echo $comicpress_version; ?>" />
|
||||
<!--[if lt IE 7]>
|
||||
<script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/js/ie6submenus.js"></script>
|
||||
<script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/ie6submenus.js"></script>
|
||||
<![endif]-->
|
||||
<?php wp_head(); global $disable_page_restraints; ?>
|
||||
</head>
|
||||
|
@ -48,30 +35,27 @@
|
|||
|
||||
<div id="page-head"></div>
|
||||
|
||||
<?php if ($disable_page_restraints != 'yes') {
|
||||
<?php if ($disable_page_restraints != 'yes') {
|
||||
if (is_cp_theme_layout('standard,v')) { ?>
|
||||
<div id="page-wrap"><!-- Wraps outside the site width -->
|
||||
<div id="page"><!-- Defines entire site width - Ends in Footer -->
|
||||
<?php } else { ?>
|
||||
<div id="page-wide-wrap">
|
||||
<div id="page-wide">
|
||||
<?php }
|
||||
<?php }
|
||||
} ?>
|
||||
|
||||
<?php if (comicpress_check_themepack_file('header') == false) { ?>
|
||||
<?php if (comicpress_check_child_file('partials/headerarea') == false) { ?>
|
||||
<div id="header">
|
||||
<?php if (function_exists('the_project_wonderful_ad')) { ?>
|
||||
<div class="headerpwad">
|
||||
<?php the_project_wonderful_ad('header'); ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<h1><a href="<?php echo get_settings('home') ?>"><?php bloginfo('name') ?></a></h1>
|
||||
<h1><a href="<?php bloginfo('wpurl'); ?>"><?php bloginfo('name') ?></a></h1>
|
||||
<div class="description"><?php bloginfo('description') ?></div>
|
||||
<?php get_sidebar('header'); ?>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php get_sidebar('menubar'); ?>
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -1,145 +0,0 @@
|
|||
/* COMIC NAVIGATION
|
||||
Author: Tyler Martin
|
||||
Style: Default
|
||||
*/
|
||||
#comic_navi_wrapper {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.comic_navi_left {
|
||||
display: inline-block;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.comic_navi_center {
|
||||
margin: 0 auto;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.comic_navi_right {
|
||||
display: inline-block;
|
||||
float: right;
|
||||
}
|
||||
|
||||
.comic_navi {
|
||||
width: 100%;
|
||||
background: #000;
|
||||
margin: 0 auto;
|
||||
list-style: none;
|
||||
line-height: 25px;
|
||||
font-size: 13px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.navi-comictitle {
|
||||
padding: 0px 10px;
|
||||
text-align: center;
|
||||
display: inline-block;
|
||||
}
|
||||
.navi-comictitle a {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.navi-comictitle a:hover {
|
||||
color: #f00;
|
||||
}
|
||||
|
||||
.navi {
|
||||
padding: 0 10px;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.navi a {
|
||||
display: block;
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.navi a:hover {
|
||||
color: #000;
|
||||
background: #f00;
|
||||
}
|
||||
|
||||
.navi-first {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.navi-prevchap, .navi-story_prev {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.navi-story_prev_in {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.navi-prev, .navi-previous {
|
||||
float: left;
|
||||
}
|
||||
|
||||
|
||||
.navi-comments, .navi-archive, .navi-random, .navi-buyprint {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.navi-buyprint {
|
||||
height: 25px;
|
||||
width: 80px;
|
||||
line-height: 15px;
|
||||
color: #000;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.navi-buyprint:hover, button .navi-buyprint:hover {
|
||||
}
|
||||
|
||||
.navi-buyprint-form {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.navi-archive, .navi-archives {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.navi-random {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.navi-comments {
|
||||
}
|
||||
|
||||
a.navi-comments span {
|
||||
}
|
||||
|
||||
a.navi-comments span:hover {
|
||||
}
|
||||
|
||||
.navi-comments-count {
|
||||
padding-right: 4px;
|
||||
}
|
||||
|
||||
.navi-next {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.navi-nextchap, .navi-story_next {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.navi-story_next_in {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.navi-last {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.navi-void, .navi-void:hover {
|
||||
color: #555;
|
||||
}
|
||||
|
||||
.comic-left .navi-prev, .comic-right .navi-prev, .comic-left .navi-next, .comic-right .navi-next {
|
||||
/* margin: 0 5px; */
|
||||
}
|
||||
|
Before Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 8.5 KiB |
Before Width: | Height: | Size: 8.4 KiB |
|
@ -3,131 +3,140 @@ Author: Tyler Martin
|
|||
Style: Default
|
||||
*/
|
||||
#comic_navi_wrapper {
|
||||
padding: 5px 0 10px 0;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#comic_navi {
|
||||
display: table;
|
||||
border-collapse: collapse;
|
||||
margin: 0 auto;
|
||||
.comic_navi_left {
|
||||
display: inline-block;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.comic_navi_center {
|
||||
margin: 0 auto;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.comic_navi_right {
|
||||
display: inline-block;
|
||||
float: right;
|
||||
}
|
||||
|
||||
.comic_navi {
|
||||
width: 100%;
|
||||
background: #000;
|
||||
margin: 0 auto;
|
||||
list-style: none;
|
||||
line-height: 25px;
|
||||
font-size: 13px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.navi-comictitle {
|
||||
padding: 0px 10px;
|
||||
text-align: center;
|
||||
float: left;
|
||||
display: block;
|
||||
padding-top: 26px;
|
||||
max-width: 200px;
|
||||
display: inline-block;
|
||||
}
|
||||
.navi-comictitle a {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.navi-comictitle a:hover {
|
||||
color: #f00;
|
||||
}
|
||||
|
||||
.navi {
|
||||
width: 66px;
|
||||
padding: 66px 0 0 0;
|
||||
/* margin: 0 5px; */
|
||||
display: block;
|
||||
float: left;
|
||||
overflow: hidden;
|
||||
font-size: 11px;
|
||||
text-align: center;
|
||||
color: #555;
|
||||
padding: 0 10px;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.navi:hover {
|
||||
background-position: -66px 0;
|
||||
.navi a {
|
||||
display: block;
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.navi a:hover {
|
||||
color: #000;
|
||||
background: #f00;
|
||||
}
|
||||
|
||||
.navi-first {
|
||||
margin: 0;
|
||||
background: url('first.png') no-repeat;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.navi-prevchap, .navi-story_prev {
|
||||
background: url('prevchap.png') no-repeat;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.navi-story_prev_in {
|
||||
background: url('prevchap.png') no-repeat;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.navi-prev, .navi-previous {
|
||||
margin-right: 30px;
|
||||
background: url('prev.png') no-repeat;
|
||||
float: left;
|
||||
}
|
||||
|
||||
|
||||
.navi-comments, .navi-archive, .navi-random, .navi-buyprint {
|
||||
margin: 0 5px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.navi-buyprint {
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
background: url('buyprint.png') no-repeat;
|
||||
height: 25px;
|
||||
width: 80px;
|
||||
line-height: 15px;
|
||||
color: #000;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.navi-buyprint:hover, button .navi-buyprint:hover {
|
||||
background: url('buyprint.png') no-repeat;
|
||||
background-position: -66px 0;
|
||||
color: #f00;
|
||||
}
|
||||
|
||||
.navi-buyprint-form {
|
||||
width: 76px;
|
||||
display: block;
|
||||
float: left;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.navi-archive, .navi-archives {
|
||||
background: url('archive.png') no-repeat;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.navi-random {
|
||||
background: url('random.png') no-repeat;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.navi-comments {
|
||||
padding: 0;
|
||||
background: url('comments.png') no-repeat;
|
||||
}
|
||||
|
||||
a.navi-comments span {
|
||||
width: 66px;
|
||||
height: 66px;
|
||||
display: block;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
line-height: 66px;
|
||||
color: #c5c5c5;
|
||||
}
|
||||
|
||||
a.navi-comments span:hover {
|
||||
color: #860b04;
|
||||
}
|
||||
|
||||
.navi-comments-count {
|
||||
padding-right: 4px;
|
||||
}
|
||||
|
||||
.navi-next {
|
||||
margin-left: 30px;
|
||||
background: url('next.png') no-repeat;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.navi-nextchap, .navi-story_next {
|
||||
background: url('nextchap.png') no-repeat;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.navi-story_next_in {
|
||||
background: url('nextchap.png') no-repeat;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.navi-last {
|
||||
margin: 0;
|
||||
background: url('last.png') no-repeat;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.navi-void, .navi-void:hover {
|
||||
color: #999;
|
||||
background-position: -132px 0;
|
||||
color: #555;
|
||||
}
|
||||
|
||||
.comic-left .navi-prev, .comic-right .navi-prev, .comic-left .navi-next, .comic-right .navi-next {
|
||||
|
|
Before Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 14 KiB |
70
index.php
|
@ -18,9 +18,9 @@
|
|||
|
||||
<?php if ($disable_comic_frontpage != 'yes') { ?>
|
||||
|
||||
<?php $wp_query ->in_the_loop = true; $comicFrontpage = new WP_Query(); $comicFrontpage->query('showposts=1&cat='.get_all_comic_categories_as_cat_string());
|
||||
<?php $wp_query ->in_the_loop = true; $comicFrontpage = new WP_Query(); $comicFrontpage->query('showposts=1&cat='.get_all_comic_categories_as_cat_string());
|
||||
while ($comicFrontpage->have_posts()) : $comicFrontpage->the_post() ?>
|
||||
<?php if (comicpress_check_themepack_file('displaycomic') == false) { ?>
|
||||
<?php if (comicpress_check_child_file('partials/displaycomic') == false) { ?>
|
||||
<div id="comic-wrap">
|
||||
<div id="comic-head"><?php get_sidebar('over'); ?></div>
|
||||
<div class="clear"></div>
|
||||
|
@ -56,15 +56,15 @@
|
|||
<?php the_project_wonderful_ad('blog'); ?>
|
||||
</center>
|
||||
</div>
|
||||
<?php }
|
||||
|
||||
get_sidebar('blog');
|
||||
|
||||
<?php }
|
||||
|
||||
get_sidebar('blog');
|
||||
|
||||
if ($disable_comic_frontpage != 'yes' && $disable_comic_blog_frontpage != 'yes' && !is_paged() ) { ?>
|
||||
<?php while ($comicFrontpage->have_posts()) : $comicFrontpage->the_post();
|
||||
display_comic_post();
|
||||
$comicFrontPage->is_single = true;
|
||||
comments_template();
|
||||
<?php while ($comicFrontpage->have_posts()) : $comicFrontpage->the_post();
|
||||
display_comic_post();
|
||||
$comicFrontPage->is_single = true;
|
||||
comments_template();
|
||||
endwhile; ?>
|
||||
<?php } ?>
|
||||
|
||||
|
@ -72,55 +72,55 @@ if ($disable_comic_frontpage != 'yes' && $disable_comic_blog_frontpage != 'yes'
|
|||
<div id="blogheader"><!-- This area can be used for a heading above your main page blog posts --></div>
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($disable_blog_frontpage != 'yes') {
|
||||
<?php if ($disable_blog_frontpage != 'yes') {
|
||||
global $blog_postcount; ?>
|
||||
<?php
|
||||
if ($split_column_in_two != 'yes') {
|
||||
$blog_query = 'showposts='.$blog_postcount.'&cat="-'.exclude_comic_categories().'"&paged='.$paged;
|
||||
|
||||
$posts = query_posts($blog_query);
|
||||
<?php
|
||||
if ($split_column_in_two != 'yes') {
|
||||
$blog_query = 'showposts='.$blog_postcount.'&cat="-'.exclude_comic_categories().'"&paged='.$paged;
|
||||
|
||||
$posts = query_posts($blog_query);
|
||||
if (have_posts()) { ?>
|
||||
<div class="blogindex-head"></div>
|
||||
<div class="blogindex">
|
||||
<?php while (have_posts()) : the_post();
|
||||
<?php while (have_posts()) : the_post();
|
||||
|
||||
display_blog_post();
|
||||
|
||||
display_blog_post();
|
||||
|
||||
endwhile; ?>
|
||||
</div>
|
||||
<div class="blogindex-foot"></div>
|
||||
<?php }
|
||||
comicpress_pagination();
|
||||
<?php }
|
||||
comicpress_pagination();
|
||||
} else { ?>
|
||||
<div id="dualcolumns">
|
||||
<div class="column_one">
|
||||
<div class="column_one_header"></div>
|
||||
<?php $blog_query = 'showposts='.$blog_postcount.'&cat="-'.exclude_comic_categories().'"&author='.$author_column_one.'&paged='.$paged;
|
||||
$posts = query_posts($blog_query);
|
||||
if (have_posts()) {
|
||||
while (have_posts()) : the_post();
|
||||
display_blog_post();
|
||||
endwhile;
|
||||
<?php $blog_query = 'showposts='.$blog_postcount.'&cat="-'.exclude_comic_categories().'"&author='.$author_column_one.'&paged='.$paged;
|
||||
$posts = query_posts($blog_query);
|
||||
if (have_posts()) {
|
||||
while (have_posts()) : the_post();
|
||||
display_blog_post();
|
||||
endwhile;
|
||||
} ?>
|
||||
<span class="viewpostsbyone">View all posts by: <?php the_author_posts_link(); ?><span><br />
|
||||
</div>
|
||||
<div class="column_two">
|
||||
<div class="column_two_header"></div>
|
||||
<?php $blog_query = 'showposts='.$blog_postcount.'&cat="-'.exclude_comic_categories().'"&author='.$author_column_two;
|
||||
$posts = query_posts($blog_query);
|
||||
if (have_posts()) {
|
||||
while (have_posts()) : the_post();
|
||||
display_blog_post();
|
||||
endwhile;
|
||||
<?php $blog_query = 'showposts='.$blog_postcount.'&cat="-'.exclude_comic_categories().'"&author='.$author_column_two;
|
||||
$posts = query_posts($blog_query);
|
||||
if (have_posts()) {
|
||||
while (have_posts()) : the_post();
|
||||
display_blog_post();
|
||||
endwhile;
|
||||
} ?>
|
||||
<span class="viewpostsbytwo">View all posts by: <?php the_author_posts_link(); ?></span><br />
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<?php }
|
||||
<?php }
|
||||
} ?>
|
||||
|
||||
<?php get_sidebar('underblog'); ?>
|
||||
|
||||
<?php include(get_template_directory() . '/layout-foot.php'); ?>
|
||||
<?php get_footer() ?>
|
||||
<?php get_footer() ?>
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php if (comicpress_check_child_file('layout-foot') == false) { ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php if (is_cp_theme_layout('3c2r')) {
|
||||
|
@ -22,3 +23,4 @@ if (is_cp_theme_layout('3c,v3c,gn,standard,v,3c2r')) {
|
|||
<div class="clear"></div>
|
||||
</div>
|
||||
<div id="content-wrapper-foot"></div>
|
||||
<?php } ?>
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<?php if (comicpress_check_child_file('layout-head') == false) { ?>
|
||||
<div id="content-wrapper-head"></div>
|
||||
<div id="content-wrapper">
|
||||
|
||||
|
@ -24,4 +25,5 @@
|
|||
<div id="content" class="narrowcolumn">
|
||||
<div class="column">
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
|
||||
|
|
|
@ -7,9 +7,9 @@ Template Name: Links
|
|||
<?php include(get_template_directory() . '/layout-head.php'); ?>
|
||||
|
||||
<?php
|
||||
$bookmarks = wp_list_bookmarks('echo=0');
|
||||
$bookmarks = preg_replace('#<li ([^>]*)>#', '<li>', $bookmarks);
|
||||
$bookmarks = preg_replace('#<ul ([^>]*)>#', '<ul>', $bookmarks);
|
||||
$bookmarks = wp_list_bookmarks('echo=0');
|
||||
$bookmarks = preg_replace('#<li ([^>]*)>#', '<li>', $bookmarks);
|
||||
$bookmarks = preg_replace('#<ul ([^>]*)>#', '<ul>', $bookmarks);
|
||||
?>
|
||||
|
||||
<?php while (have_posts()) : the_post() ?>
|
||||
|
@ -29,4 +29,4 @@ Template Name: Links
|
|||
<?php endwhile; ?>
|
||||
|
||||
<?php include(get_template_directory() . '/layout-foot.php'); ?>
|
||||
<?php get_footer() ?>
|
||||
<?php get_footer() ?>
|
||||
|
|
|
@ -9,20 +9,20 @@ Template Name: Members Only Blog
|
|||
<?php include(get_template_directory() . '/layout-head.php'); ?>
|
||||
|
||||
<?php if (have_posts()):
|
||||
|
||||
|
||||
$blog_query = '&cat='.$members_post_category.'&paged='.$paged;
|
||||
|
||||
|
||||
$posts = query_posts($blog_query);
|
||||
while (have_posts()) : the_post();
|
||||
|
||||
|
||||
display_blog_post();
|
||||
|
||||
endwhile;
|
||||
|
||||
comicpress_pagination();
|
||||
|
||||
|
||||
endwhile;
|
||||
|
||||
comicpress_pagination();
|
||||
|
||||
endif; ?>
|
||||
<?php get_sidebar('underblog'); ?>
|
||||
|
||||
<?php include(get_template_directory() . '/layout-foot.php'); ?>
|
||||
<?php get_footer() ?>
|
||||
<?php get_footer() ?>
|
||||
|
|
|
@ -79,90 +79,6 @@
|
|||
</tr>
|
||||
|
||||
<?php break;
|
||||
case "comicpress-graphicnav_directory":
|
||||
$current_gnav_directory = get_option($value['id']);
|
||||
if (empty($current_gnav_directory)) $current_gnav_directory = 'default';
|
||||
|
||||
$count = count($results = glob(get_template_directory() . '/images/nav/'.$current_gnav_directory.'/*'));
|
||||
$gnav_directories = glob(get_template_directory() . '/images/nav/*');
|
||||
|
||||
$themepack_directory = get_option('comicpress-themepack_directory');
|
||||
if (!empty($themepack_directory) && $themepack_directory != 'none') {
|
||||
if (file_exists(get_template_directory().'/themepack/'.$themepack_directory.'/nav/navstyle.css')) $themepacknav = 1;
|
||||
}
|
||||
|
||||
?>
|
||||
<tr>
|
||||
<th scope="row"><strong><?php _e('Graphic Navigation Directory','comicpress'); ?></strong><br /><br /><?php _e('Choose a directory to get the graphic navigation styling from.','comicpress'); ?><br /></th>
|
||||
<td valign="top">
|
||||
<label>
|
||||
<select name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>">
|
||||
<?php if ($themepacknav) { ?>
|
||||
<option class="level-0" value="themepack" <?php if ($current_gnav_directory == "themepack") { ?>selected="selected"<?php } ?>>ThemePack (<?php echo $themepack_directory; ?>)</option>
|
||||
<?php } ?>
|
||||
<?php
|
||||
foreach ($gnav_directories as $gnav_dirs) {
|
||||
if (is_dir($gnav_dirs)) {
|
||||
$gnav_dir_name = basename($gnav_dirs); ?>
|
||||
<option class="level-0" value="<?php echo $gnav_dir_name; ?>" <?php if ($current_gnav_directory == $gnav_dir_name) { ?>selected="selected"<?php } ?>><?php echo $gnav_dir_name; ?></option>
|
||||
<?php }
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</label>
|
||||
</td>
|
||||
<td valign="top">
|
||||
<br />
|
||||
<?php echo get_template_directory() . '/images/nav/'; ?>
|
||||
<?php _e('Graphic Navigation directories are found in your theme directory/images/nav/* to create your own custom graphic navigation menu buttons just create a directory
|
||||
under images/nav/ and place your image files inside of it and create a navstyle.css file to determine the style of your navigation display.','comicpress'); ?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<?php break;
|
||||
case "comicpress-calendar_directory":
|
||||
$current_cal_directory = get_option($value['id']);
|
||||
if (empty($current_cal_directory)) $current_cal_directory = 'default';
|
||||
|
||||
$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;
|
||||
}
|
||||
|
||||
?>
|
||||
<tr>
|
||||
<th scope="row"><strong><?php _e('Calendar Directory','comicpress'); ?></strong><br /><br /><?php _e('Choose a directory to get the Archive Calendar styling from.','comicpress'); ?><br /></th>
|
||||
<td valign="top">
|
||||
<label>
|
||||
<select name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>">
|
||||
<option class="level-0" value="none" <?php if ($current_cal_directory == "none") { ?>selected="selected"<?php } ?>>none</option>
|
||||
<?php if ($themepackcal) { ?>
|
||||
<option class="level-0" value="themepack" <?php if ($current_cal_directory == "themepack") { ?>selected="selected"<?php } ?>><?php _e('ThemePack','comicpress'); ?> (<?php echo $themepack_directory; ?>)</option>
|
||||
<?php } ?>
|
||||
<?php
|
||||
foreach ($cal_directories as $cal_dirs) {
|
||||
if (is_dir($cal_dirs)) {
|
||||
$cal_dir_name = basename($cal_dirs); ?>
|
||||
<option class="level-0" value="<?php echo $cal_dir_name; ?>" <?php if ($current_cal_directory == $cal_dir_name) { ?>selected="selected"<?php } ?>><?php echo $cal_dir_name; ?></option>
|
||||
<?php }
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</label>
|
||||
</td>
|
||||
<td valign="top">
|
||||
<?php _e('To not have calendar graphics, set this as "none".','comicpress'); ?><br />
|
||||
<br />
|
||||
<?php echo get_template_directory() . '/images/cal/'; ?>
|
||||
<?php _e('Calendar directories are found in your theme directory/images/cal/* to create your own custom archive calendar images just create a directory
|
||||
under images/cal/ and place your image files inside of it.','comicpress'); ?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<?php break;
|
||||
case "comicpress-disable_footer_text": ?>
|
||||
<tr>
|
||||
<th scope="row"><strong><?php _e('Disable the default text in the footer?','comicpress'); ?></strong><br /><br /><?php _e('Set to "Yes" and the text in the footer will not show.','comicpress'); ?><br /><br /></th>
|
||||
|
@ -177,14 +93,90 @@
|
|||
</tr>
|
||||
|
||||
<?php break;
|
||||
case "comicpress-disable_comment_note": ?>
|
||||
<tr>
|
||||
<th scope="row"><strong><?php _e('Disable the comment notes?','comicpress'); ?></strong><br /><br /><?php _e('Disabling this will remove the note text that displays with more options for adding to comments (html).','comicpress'); ?><br /><br /></th>
|
||||
<td valign="top">
|
||||
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-yes" type="radio" value="yes"<?php if ( get_option( $value['id'] ) == "yes") { echo " checked"; } ?> /><?php _e('Yes','comicpress'); ?></label>
|
||||
|
||||
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-no" type="radio" value="no"<?php if ( get_option( $value['id'] ) == "no") { echo " checked"; } ?> /><?php _e('No','comicpress'); ?></label>
|
||||
</td>
|
||||
<td valign="top">
|
||||
</td>
|
||||
</tr>
|
||||
<?php break;
|
||||
case "comicpress-graphicnav_directory":
|
||||
$current_gnav_directory = get_option($value['id']);
|
||||
if (empty($current_gnav_directory)) $current_gnav_directory = 'default';
|
||||
$dirs_to_search = array_unique(array(get_template_directory(),get_stylesheet_directory()));
|
||||
$gnav_directories = array();
|
||||
foreach ($dirs_to_search as $dir) { $gnav_directories = array_merge($gnav_directories,glob("${dir}/images/nav/*")); }
|
||||
?>
|
||||
<tr>
|
||||
<th scope="row"><strong><?php _e('Graphic Navigation Directory','comicpress'); ?></strong><br /><br /><?php _e('Choose a directory to get the graphic navigation styling from.','comicpress'); ?><br /></th>
|
||||
<td valign="top">
|
||||
<label>
|
||||
<select name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>">
|
||||
<?php
|
||||
foreach ($gnav_directories as $gnav_dirs) {
|
||||
if (is_dir($gnav_dirs)) {
|
||||
$gnav_dir_name = basename($gnav_dirs); ?>
|
||||
<option class="level-0" value="<?php echo $gnav_dir_name; ?>" <?php if ($current_gnav_directory == $gnav_dir_name) { ?>selected="selected"<?php } ?>><?php echo $gnav_dir_name; ?></option>
|
||||
<?php }
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</label>
|
||||
</td>
|
||||
<td valign="top">
|
||||
<br />
|
||||
<?php _e('Graphic Navigation directories are found in your theme directory/images/nav/* to create your own custom graphic navigation menu buttons just create a directory
|
||||
under images/nav/ and place your image files inside of it and create a navstyle.css file to determine the style of your navigation display.','comicpress'); ?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<?php break;
|
||||
case "comicpress-calendar_directory":
|
||||
$current_cal_directory = get_option($value['id']);
|
||||
if (empty($current_cal_directory)) $current_cal_directory = 'default';
|
||||
|
||||
$dirs_to_search = array_unique(array(get_template_directory(),get_stylesheet_directory()));
|
||||
$cal_directories = array();
|
||||
foreach ($dirs_to_search as $dir) { $cal_directories = array_merge($cal_directories,glob("${dir}/images/cal/*")); }
|
||||
?>
|
||||
<tr>
|
||||
<th scope="row"><strong><?php _e('Calendar Directory','comicpress'); ?></strong><br /><br /><?php _e('Choose a directory to get the Archive Calendar styling from.','comicpress'); ?><br /></th>
|
||||
<td valign="top">
|
||||
<label>
|
||||
<select name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>">
|
||||
<option class="level-0" value="none" <?php if ($current_cal_directory == "none") { ?>selected="selected"<?php } ?>>none</option>
|
||||
<?php
|
||||
foreach ($cal_directories as $cal_dirs) {
|
||||
if (is_dir($cal_dirs)) {
|
||||
$cal_dir_name = basename($cal_dirs); ?>
|
||||
<option class="level-0" value="<?php echo $cal_dir_name; ?>" <?php if ($current_cal_directory == $cal_dir_name) { ?>selected="selected"<?php } ?>><?php echo $cal_dir_name; ?></option>
|
||||
<?php }
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</label>
|
||||
</td>
|
||||
<td valign="top">
|
||||
<?php _e('To not have calendar graphics, set this as "none".','comicpress'); ?><br />
|
||||
<br />
|
||||
<?php _e('Calendar directories are found in your theme directory/images/cal/* to create your own custom archive calendar images just create a directory
|
||||
under images/cal/ and place your image files inside of it.','comicpress'); ?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<?php break;
|
||||
case "comicpress-avatar_directory":
|
||||
$current_avatar_directory = get_option($value['id']);
|
||||
if (empty($current_avatar_directory)) $current_avatar_directory = 'default';
|
||||
|
||||
$count = count($results = glob(get_template_directory() . '/images/avatars/'.$current_avatar_directory.'/*'));
|
||||
$avatar_directories = glob(get_template_directory() . '/images/avatars/*');
|
||||
|
||||
?>
|
||||
$dirs_to_search = array_unique(array(get_template_directory(),get_stylesheet_directory()));
|
||||
$avatar_directories = array();
|
||||
foreach ($dirs_to_search as $dir) { $avatar_directories = array_merge($avatar_directories,glob("${dir}/images/avatars/*")); }
|
||||
?>
|
||||
<tr>
|
||||
<th scope="row"><strong><?php _e('Avatar (no Gravatar) Directory','comicpress'); ?></strong><br /><br /><?php _e('Choose a directory to get the avatars for default gravatars if someone doesnt have one.','comicpress'); ?><br /></th>
|
||||
<td valign="top">
|
||||
|
@ -204,18 +196,6 @@
|
|||
</td>
|
||||
</tr>
|
||||
<?php break;
|
||||
case "comicpress-disable_comment_note": ?>
|
||||
<tr>
|
||||
<th scope="row"><strong><?php _e('Disable the comment notes?','comicpress'); ?></strong><br /><br /><?php _e('Disabling this will remove the note text that displays with more options for adding to comments (html).','comicpress'); ?><br /><br /></th>
|
||||
<td valign="top">
|
||||
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-yes" type="radio" value="yes"<?php if ( get_option( $value['id'] ) == "yes") { echo " checked"; } ?> /><?php _e('Yes','comicpress'); ?></label>
|
||||
|
||||
<label><input name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>-no" type="radio" value="no"<?php if ( get_option( $value['id'] ) == "no") { echo " checked"; } ?> /><?php _e('No','comicpress'); ?></label>
|
||||
</td>
|
||||
<td valign="top">
|
||||
</td>
|
||||
</tr>
|
||||
<?php break;
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
|
|
@ -24,10 +24,11 @@
|
|||
case "comicpress-moods_directory":
|
||||
$current_directory = get_option($value['id']);
|
||||
if (empty($current_directory)) $current_directory = 'default';
|
||||
|
||||
$count = count($results = glob(get_template_directory() . '/images/moods/'.$current_directory.'/*'));
|
||||
$mood_directories = glob(get_template_directory() . '/images/moods/*');
|
||||
?>
|
||||
|
||||
$dirs_to_search = array_unique(array(get_template_directory(),get_stylesheet_directory()));
|
||||
$mood_directories = array();
|
||||
foreach ($dirs_to_search as $dir) { $mood_directories = array_merge($mood_directories,glob("${dir}/images/moods/*")); }
|
||||
?>
|
||||
<tr>
|
||||
<th scope="row"><strong><?php _e('Moods Directory','comicpress'); ?></strong><br /><br /><?php _e('Choose a directory to get the post moods from.','comicpress'); ?><br /><br /><?php _e('Set this to "none" to turn off use.','comicpress'); ?><br /></th>
|
||||
<td valign="top">
|
||||
|
@ -47,8 +48,6 @@
|
|||
</label>
|
||||
</td>
|
||||
<td valign="top">
|
||||
<?php _e('Found:','comicpress'); ?> <?php echo $count; ?> <?php _e('moods in the','comicpress'); ?> "<?php echo $current_directory; ?>" <?php _e('directory.','comicpress'); ?><br />
|
||||
<br />
|
||||
<?php _e('Mood directories are found in your theme directory/images/moods/* to create your own custom moods just create a directory
|
||||
under images/moods/ and place ONLY image files inside of it. The name of the image file represents what the mood is.','comicpress'); ?>
|
||||
</td>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
{
|
||||
if (!document.images)
|
||||
return
|
||||
document.getElementById(pic).src = '<?php echo get_bloginfo('stylesheet_directory'); ?>/images/options/'+sel.options[sel.selectedIndex].value+'.png'
|
||||
document.getElementById(pic).src = '<?php echo get_template_directory_uri(); ?>/images/options/'+sel.options[sel.selectedIndex].value+'.png'
|
||||
}
|
||||
</script>
|
||||
|
||||
|
@ -33,7 +33,7 @@
|
|||
</label>
|
||||
</td>
|
||||
<td valign="top">
|
||||
<img id="cpthemestyle" src="<?php echo get_bloginfo('stylesheet_directory'); ?>/images/options/<?php echo get_option($value['id']); ?>.png" alt="ComicPress Theme Style" />
|
||||
<img id="cpthemestyle" src="<?php echo get_template_directory_uri(); ?>/images/options/<?php echo get_option($value['id']); ?>.png" alt="ComicPress Theme Style" />
|
||||
</td>
|
||||
<td valign="top">
|
||||
Standard and Vertical themes are 780px, 3 Column, Graphic Novel and Vertical 3 Column are 980px wide.
|
||||
|
@ -41,59 +41,6 @@
|
|||
</tr>
|
||||
|
||||
<?php break;
|
||||
case "comicpress-themepack_directory":
|
||||
$current_themepack_directory = get_option($value['id']);
|
||||
if (empty($current_themepack_directory)) $current_themepack_directory = 'silver';
|
||||
|
||||
$count = count($results = glob(get_template_directory() . '/themepack/'.$current_themepack_directory.'/*'));
|
||||
$themepack_directories = glob(get_template_directory() . '/themepack/*');
|
||||
|
||||
?>
|
||||
<tr>
|
||||
<th scope="row"><strong><?php _e('Themepack','comicpress'); ?></strong><br /><br /><?php _e('Choose a Themepack to use.','comicpress'); ?><br /></th>
|
||||
<td valign="top">
|
||||
<label>
|
||||
<select name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>">
|
||||
<option class="level-0" value="none" <?php if ($current_themepack_directory == "none") { ?>selected="selected"<?php } ?>>none</option>
|
||||
<?php
|
||||
foreach ($themepack_directories as $themepack_dirs) {
|
||||
if (is_dir($themepack_dirs)) {
|
||||
$themepack_dir_name = basename($themepack_dirs); ?>
|
||||
<option class="level-0" value="<?php echo $themepack_dir_name; ?>" <?php if ($current_themepack_directory == $themepack_dir_name) { ?>selected="selected"<?php } ?>><?php echo $themepack_dir_name; ?></option>
|
||||
<?php }
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td valign="top" colspan="5">
|
||||
<?php
|
||||
foreach ($themepack_directories as $themepack_dirs) {
|
||||
if (is_dir($themepack_dirs)) {
|
||||
$themepack_dir_name = basename($themepack_dirs); ?>
|
||||
<div style="width: 100%; padding: 2px;">
|
||||
<div style="width: 180px; float: left;">
|
||||
<?php if (file_exists(get_template_directory() .'/themepack/'.$themepack_dir_name.'/screenshot.png')) { ?>
|
||||
<img src="<?php bloginfo('stylesheet_directory'); ?>/themepack/<?php echo $themepack_dir_name; ?>/screenshot.png" width="180" alt="<?php echo $themepack_dir_name; ?>" />
|
||||
<?php } ?>
|
||||
</div>
|
||||
<?php if (file_exists(get_template_directory() .'/themepack/'.$themepack_dir_name.'/notes.php')) { ?>
|
||||
<div style="float: left; margin-left: 10px;">
|
||||
<?php include(get_template_directory() . '/themepack/'.$themepack_dir_name.'/notes.php'); ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div style="clear:both;"></div>
|
||||
</div>
|
||||
<?php }
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<?php break;
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
|
2
page.php
|
@ -21,4 +21,4 @@
|
|||
<?php endwhile; endif; ?>
|
||||
|
||||
<?php include(get_template_directory() . '/layout-foot.php'); ?>
|
||||
<?php get_footer() ?>
|
||||
<?php get_footer() ?>
|
||||
|
|
|
@ -101,4 +101,3 @@ $count = $tmp_search->post_count;
|
|||
<?php comicpress_pagination(); ?>
|
||||
|
||||
<?php include(get_template_directory() . '/layout-foot.php'); ?>
|
||||
<?php get_footer() ?>
|
30
search.php
|
@ -2,9 +2,9 @@
|
|||
<?php remove_filter('pre_get_posts','comicpress_members_filter'); ?>
|
||||
<?php include(get_template_directory() . '/layout-head.php'); ?>
|
||||
|
||||
<?php
|
||||
$tmp_search = new WP_Query($query_string.'&order=desc&show_posts=-1&posts_per_page=-1');
|
||||
$count = $tmp_search->post_count;
|
||||
<?php
|
||||
$tmp_search = new WP_Query($query_string.'&order=desc&show_posts=-1&posts_per_page=-1');
|
||||
$count = $tmp_search->post_count;
|
||||
?>
|
||||
<?php if (!$count) $count = "no"; ?>
|
||||
|
||||
|
@ -13,7 +13,7 @@ $count = $tmp_search->post_count;
|
|||
<div class="searchresults"><?php printf(__ngettext("%d item.", "%d items.", $count,'comicpress'),$count); ?></div>
|
||||
<?php if (have_posts()) : ?>
|
||||
|
||||
<?php $posts = query_posts($query_string.'&order=asc');
|
||||
<?php $posts = query_posts($query_string.'&order=asc');
|
||||
while (have_posts()) : the_post() ?>
|
||||
|
||||
<?php global $archive_comic_width; if (in_comic_category()) { ?>
|
||||
|
@ -34,11 +34,11 @@ $count = $tmp_search->post_count;
|
|||
<div class="post-text">
|
||||
<h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
|
||||
<small>
|
||||
<?php
|
||||
ob_start();
|
||||
the_author_posts_link();
|
||||
$author_link = ob_get_clean();
|
||||
printf(__('By %1$s on %2$s', 'comicpress'), $author_link, get_the_time('F jS, Y'));
|
||||
<?php
|
||||
ob_start();
|
||||
the_author_posts_link();
|
||||
$author_link = ob_get_clean();
|
||||
printf(__('By %1$s on %2$s', 'comicpress'), $author_link, get_the_time('F jS, Y'));
|
||||
?>
|
||||
|
||||
<?php edit_post_link(__('Edit Post','comicpress'), ' [ ', ' ] '); ?>
|
||||
|
@ -84,11 +84,11 @@ $count = $tmp_search->post_count;
|
|||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<?php global $excerpt_or_content_search;
|
||||
if ($excerpt_or_content_search != 'excerpt') {
|
||||
the_content(__('↓ Read the rest of this entry...','comicpress'));
|
||||
} else {
|
||||
the_excerpt();
|
||||
<?php global $excerpt_or_content_search;
|
||||
if ($excerpt_or_content_search != 'excerpt') {
|
||||
the_content(__('↓ Read the rest of this entry...','comicpress'));
|
||||
} else {
|
||||
the_excerpt();
|
||||
} ?>
|
||||
<br class="clear-margins" />
|
||||
<div class="post-extras">
|
||||
|
@ -120,4 +120,4 @@ $count = $tmp_search->post_count;
|
|||
<?php comicpress_pagination(); ?>
|
||||
|
||||
<?php include(get_template_directory() . '/layout-foot.php'); ?>
|
||||
<?php get_footer() ?>
|
||||
<?php get_footer() ?>
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
<form method="get" id="searchform-transcript" action="<?php bloginfo('url'); ?>/">
|
||||
<?php if (comicpress_check_child_file('searchform') == false) { ?>
|
||||
<form method="get" id="searchform-transcript" action="<?php bloginfo('wpurl'); ?>/">
|
||||
<div>
|
||||
<input type="text" value="<?php _e('Search Transcripts...','comicpress'); ?>" name="s" id="s-transcript" onfocus="this.value=(this.value=='<?php _e('Search Transcripts...','comicpress'); ?>') ? '' : this.value;" onblur="this.value=(this.value=='') ? '<?php _e('Search Transcripts...','comicpress'); ?>' : this.value;" /><input type="hidden" name="key" value="transcript" />
|
||||
<button type="submit">»</button>
|
||||
</div>
|
||||
</form>
|
||||
</form>
|
||||
<?php } ?>
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
<?php if (comicpress_check_child_file('searchform') == false) { ?>
|
||||
<form method="get" id="searchform" action="<?php bloginfo('url'); ?>/">
|
||||
<div>
|
||||
<input type="text" value="<?php _e('Search...','comicpress'); ?>" name="s" id="s-search" onfocus="this.value=(this.value=='<?php _e('Search...','comicpress'); ?>') ? '' : this.value;" onblur="this.value=(this.value=='') ? '<?php _e('Search...','comicpress'); ?>' : this.value;" />
|
||||
<button type="submit">»</button>
|
||||
</div>
|
||||
</form>
|
||||
</form>
|
||||
<?php } ?>
|
|
@ -1,5 +1,3 @@
|
|||
<?php if (comicpress_is_active_sidebar('Above Header')) { ?>
|
||||
<div id="sidebar-aboveheader" class="customsidebar <?php global $enable_if_widgetarea_use_sidebar_css; if ($enable_widgetarea_use_sidebar_css == 'yes') { ?> sidebar<?php } ?>">
|
||||
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Above Header') ) : ?><?php endif; ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
<div id="sidebar-header" class="customsidebar <?php global $enable_if_widgetarea_use_sidebar_css; if ($enable_widgetarea_use_sidebar_css == 'yes') { ?> sidebar<?php } ?>">
|
||||
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Header') ) : ?><?php endif; ?>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?php global $disable_lrsidebars_frontpage;
|
||||
if ($disable_lrsidebars_frontpage == 'yes' && is_home()) {
|
||||
if ($disable_lrsidebars_frontpage == 'yes' && is_home()) {
|
||||
} else { ?>
|
||||
<div id="sidebar-left">
|
||||
<div class="sidebar-head"></div>
|
||||
|
@ -21,4 +21,4 @@ if ($disable_lrsidebars_frontpage == 'yes' && is_home()) {
|
|||
</div>
|
||||
<div class="sidebar-foot"></div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
|
|
|
@ -9,5 +9,3 @@
|
|||
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Menubar') ) : ?><?php endif; ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<?php global $disable_lrsidebars_frontpage;
|
||||
if ($disable_lrsidebars_frontpage == 'yes' && is_home()) {
|
||||
if ($disable_lrsidebars_frontpage == 'yes' && is_home()) {
|
||||
} else { ?>
|
||||
<div id="sidebar-right">
|
||||
<div class="sidebar-head"></div>
|
||||
|
@ -28,4 +28,4 @@ if ($disable_lrsidebars_frontpage == 'yes' && is_home()) {
|
|||
</div>
|
||||
<div class="sidebar-foot"></div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
|
|
72
single.php
|
@ -16,7 +16,7 @@
|
|||
|
||||
<?php while (have_posts()) : the_post();
|
||||
if (in_comic_category()) { ?>
|
||||
<?php if (comicpress_check_themepack_file('displaycomic') == false) { ?>
|
||||
<?php if (comicpress_check_child_file('partials/displaycomic') == false) { ?>
|
||||
<div id="comic-wrap">
|
||||
<div id="comic-head"><?php get_sidebar('over'); ?></div>
|
||||
<div class="clear"></div>
|
||||
|
@ -50,42 +50,42 @@
|
|||
</div>
|
||||
<?php } ?>
|
||||
<?php get_sidebar('blog'); ?>
|
||||
<?php if (have_posts()) : while (have_posts()) : the_post();
|
||||
if (in_comic_category()) {
|
||||
global $disable_comic_blog_single;
|
||||
if ($disable_comic_blog_single != 'yes') {
|
||||
display_comic_post();
|
||||
$cur_date = mysql2date('Y-m-j', $post->post_date);
|
||||
$next_comic = get_next_comic();
|
||||
$next_comic = (array)$next_comic;
|
||||
$next_date = mysql2date('Y-m-j', $next_comic['post_date']);
|
||||
$blog_query = 'showposts='.$blog_postcount.'&order=asc&cat=-'.exclude_comic_categories();
|
||||
}
|
||||
} else {
|
||||
display_blog_post();
|
||||
}
|
||||
endwhile;
|
||||
|
||||
<?php if (have_posts()) : while (have_posts()) : the_post();
|
||||
if (in_comic_category()) {
|
||||
global $disable_comic_blog_single;
|
||||
if ($disable_comic_blog_single != 'yes') {
|
||||
display_comic_post();
|
||||
$cur_date = mysql2date('Y-m-j', $post->post_date);
|
||||
$next_comic = get_next_comic();
|
||||
$next_comic = (array)$next_comic;
|
||||
$next_date = mysql2date('Y-m-j', $next_comic['post_date']);
|
||||
$blog_query = 'showposts='.$blog_postcount.'&order=asc&cat=-'.exclude_comic_categories();
|
||||
}
|
||||
} else {
|
||||
display_blog_post();
|
||||
}
|
||||
endwhile;
|
||||
|
||||
global $blogposts_with_comic;
|
||||
|
||||
if ($blogposts_with_comic == 'yes') {
|
||||
|
||||
$temppost = $post;
|
||||
$temp_query = $wp_query;
|
||||
|
||||
if (in_comic_category() && !empty($blog_query)) {
|
||||
function filter_where($where = '') {
|
||||
global $cur_date, $next_date;
|
||||
$where .= " AND post_date >= '".$cur_date."' AND post_date < '".$next_date."'";
|
||||
return $where;
|
||||
}
|
||||
add_filter('posts_where', 'filter_where');
|
||||
$posts = query_posts($blog_query);
|
||||
if (have_posts()) { while (have_posts()) : the_post();
|
||||
display_blog_post();
|
||||
endwhile; }
|
||||
}
|
||||
$post = $temppost; $wp_query = $temp_query; $temppost = null; $temp_query = null;
|
||||
if ($blogposts_with_comic == 'yes') {
|
||||
|
||||
$temppost = $post;
|
||||
$temp_query = $wp_query;
|
||||
|
||||
if (in_comic_category() && !empty($blog_query)) {
|
||||
function filter_where($where = '') {
|
||||
global $cur_date, $next_date;
|
||||
$where .= " AND post_date >= '".$cur_date."' AND post_date < '".$next_date."'";
|
||||
return $where;
|
||||
}
|
||||
add_filter('posts_where', 'filter_where');
|
||||
$posts = query_posts($blog_query);
|
||||
if (have_posts()) { while (have_posts()) : the_post();
|
||||
display_blog_post();
|
||||
endwhile; }
|
||||
}
|
||||
$post = $temppost; $wp_query = $temp_query; $temppost = null; $temp_query = null;
|
||||
} ?>
|
||||
|
||||
<?php comments_template('', true); ?>
|
||||
|
@ -104,4 +104,4 @@
|
|||
<?php endif; ?>
|
||||
|
||||
<?php include(get_template_directory() . '/layout-foot.php'); ?>
|
||||
<?php get_footer() ?>
|
||||
<?php get_footer() ?>
|
||||
|
|
17
style.css
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
Theme Name: ComicPress
|
||||
Theme URI: http://comicpress.org
|
||||
Description: Publish a comic with WordPress. <a href="http://comicpress.org">Visit the ComicPress Website.</a>
|
||||
Description: Publish a comic with WordPress. <a href="http://comicpress.org">Visit the ComicPress Website.</a> This is the ComicPress Core Framework.
|
||||
Author: Tyler Martin, John Bintz, Philip M. Hofer
|
||||
Author URI: http://mindfaucet.com/
|
||||
Version: 2.8.1
|
||||
|
@ -582,7 +582,6 @@ a.navi-comments:hover span {
|
|||
|
||||
#comment-wrapper {
|
||||
margin-top: 5px;
|
||||
font-size: 12px;
|
||||
}
|
||||
.comment {
|
||||
padding: 2px;
|
||||
|
@ -594,16 +593,16 @@ a.navi-comments:hover span {
|
|||
}
|
||||
|
||||
.comment .avatar {
|
||||
margin: 0 5px 5px 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
float: left;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.comment .trackping {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.comment #respond {
|
||||
#comment-wrapper #respond {
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
|
@ -613,6 +612,8 @@ a.navi-comments:hover span {
|
|||
|
||||
.comment-text {
|
||||
padding-bottom: 5px;
|
||||
padding-left: 5px;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.comment-author {
|
||||
|
@ -620,14 +621,14 @@ a.navi-comments:hover span {
|
|||
}
|
||||
|
||||
.comment-meta-data {
|
||||
background: #eee;
|
||||
background: #efefef;
|
||||
border-bottom: solid 1px #999;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
padding-left: 5px;
|
||||
}
|
||||
|
||||
.bypostauthor .comment-meta-data {
|
||||
background: #ccc;
|
||||
background: #dedede;
|
||||
}
|
||||
|
||||
.comment-meta {
|
||||
|
|
Before Width: | Height: | Size: 310 B |
Before Width: | Height: | Size: 9.4 KiB |
Before Width: | Height: | Size: 2.3 KiB |
|
@ -1,5 +0,0 @@
|
|||
<?php global $post; if ($post->comment_status != 'closed') { ?>
|
||||
<div class="comment-link">
|
||||
<?php comments_popup_link('<span class="comment-balloon comment-balloon-empty">”</span>', '<span class="comment-balloon">1</span>', '<span class="comment-balloon">%</span>'); ?>
|
||||
</div>
|
||||
<?php } ?>
|
Before Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 8.6 KiB |
Before Width: | Height: | Size: 426 B |
Before Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 9.7 KiB |
Before Width: | Height: | Size: 9.5 KiB |
|
@ -1,128 +0,0 @@
|
|||
/* COMIC NAVIGATION
|
||||
Author: Tyler Martin
|
||||
Style: Default
|
||||
*/
|
||||
#comic_navi_wrapper {
|
||||
padding: 5px 0 10px 0;
|
||||
}
|
||||
|
||||
#comic_navi {
|
||||
display: table;
|
||||
border-collapse: collapse;
|
||||
margin: 0 auto;
|
||||
|
||||
}
|
||||
|
||||
.navi-comictitle {
|
||||
text-align: center;
|
||||
float: left;
|
||||
display: block;
|
||||
padding-top: 26px;
|
||||
max-width: 200px;
|
||||
}
|
||||
|
||||
.navi {
|
||||
width: 66px;
|
||||
padding: 66px 0 0 0;
|
||||
/* margin: 0 5px; */
|
||||
display: block;
|
||||
float: left;
|
||||
overflow: hidden;
|
||||
font-size: 11px;
|
||||
text-align: center;
|
||||
color: #555;
|
||||
}
|
||||
|
||||
.navi:hover {
|
||||
background-position: -66px 0;
|
||||
}
|
||||
|
||||
.navi-first {
|
||||
margin: 0;
|
||||
background: url('first.png') no-repeat;
|
||||
}
|
||||
|
||||
.navi-prevchap {
|
||||
background: url('prevchap.png') no-repeat;
|
||||
}
|
||||
|
||||
.navi-prev {
|
||||
margin-right: 30px;
|
||||
background: url('prev.png') no-repeat;
|
||||
}
|
||||
|
||||
|
||||
.navi-comments, .navi-archive, .navi-random, .navi-buyprint {
|
||||
margin: 0 5px;
|
||||
}
|
||||
|
||||
.navi-buyprint {
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
background: url('buyprint.png') no-repeat;
|
||||
}
|
||||
|
||||
.navi-buyprint:hover, button .navi-buyprint:hover {
|
||||
background: url('buyprint.png') no-repeat;
|
||||
background-position: -66px 0;
|
||||
color: #f00;
|
||||
}
|
||||
|
||||
.navi-buyprint-form {
|
||||
width: 76px;
|
||||
display: block;
|
||||
float: left;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.navi-archive {
|
||||
background: url('archive.png') no-repeat;
|
||||
}
|
||||
|
||||
.navi-random {
|
||||
background: url('random.png') no-repeat;
|
||||
}
|
||||
|
||||
.navi-comments {
|
||||
padding: 0;
|
||||
background: url('comments.png') no-repeat;
|
||||
}
|
||||
|
||||
a.navi-comments span {
|
||||
width: 66px;
|
||||
height: 66px;
|
||||
display: block;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
line-height: 66px;
|
||||
color: #c5c5c5;
|
||||
}
|
||||
|
||||
a.navi-comments span:hover {
|
||||
color: #860b04;
|
||||
}
|
||||
|
||||
.navi-next {
|
||||
margin-left: 30px;
|
||||
background: url('next.png') no-repeat;
|
||||
}
|
||||
|
||||
.navi-nextchap {
|
||||
background: url('nextchap.png') no-repeat;
|
||||
}
|
||||
|
||||
.navi-last {
|
||||
margin: 0;
|
||||
background: url('last.png') no-repeat;
|
||||
}
|
||||
|
||||
.navi-void, .navi-void:hover {
|
||||
color: #999;
|
||||
background-position: -132px 0;
|
||||
}
|
||||
|
||||
.comic-left .navi-prev, .comic-right .navi-prev, .comic-left .navi-next, .comic-right .navi-next {
|
||||
/* margin: 0 5px; */
|
||||
}
|
||||
|
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 16 KiB |
|
@ -1,7 +0,0 @@
|
|||
<strong>ThemePack</strong>: Blue Ocean<br />
|
||||
<strong>Author</strong>: ComicPress Developement Team<br />
|
||||
<strong>Version</strong>: 0.1.1<br />
|
||||
<br />
|
||||
<strong>Installation Notes</strong>:<br />
|
||||
Has Buttons
|
||||
<br />
|
Before Width: | Height: | Size: 8.6 KiB |
Before Width: | Height: | Size: 7.6 KiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 3.7 KiB |
|
@ -1,557 +0,0 @@
|
|||
/*
|
||||
ThemePack Name: Blue Ocean
|
||||
ThemePack URI: http://comicpress.org
|
||||
Author: Tyler Martin / Philip M. Hofer
|
||||
Author URI: http://mindfaucet.com/
|
||||
Version: 0.1.1
|
||||
*/
|
||||
|
||||
/* STANDARD TAGS */
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: 'Arial', sans-serif;
|
||||
color: #333;
|
||||
background: #01344f url('background.png') top center repeat-x;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #0076b6;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #f00;
|
||||
}
|
||||
|
||||
h1, h1 a, h2, h2 a, h3, h3 a {
|
||||
color: #0b3b6e;
|
||||
}
|
||||
|
||||
h1 a:hover, h2 a:hover, h3 a:hover {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.nav a { color: #fff; }
|
||||
.nav a:hover { color: #fff000; }
|
||||
|
||||
button {
|
||||
background: #aaa url('menu.png');
|
||||
color: #000;
|
||||
font-family: 'Arial', sans-serif;
|
||||
font-size: 13px;
|
||||
line-height: 13px;
|
||||
border: 1px solid #999;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
button:hover {
|
||||
color: #fff;
|
||||
background: #f00 url('menu.png') 0 -75px;
|
||||
}
|
||||
|
||||
/* THE HEADER */
|
||||
|
||||
#header {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#header a {
|
||||
color: #eee;
|
||||
}
|
||||
|
||||
#header .description {
|
||||
color: #555;
|
||||
padding: 0 0 10px 0;
|
||||
font-size: 14px;
|
||||
font-style: italic;
|
||||
letter-spacing: 2px;
|
||||
}
|
||||
|
||||
|
||||
/* THE MENU */
|
||||
|
||||
#menubar {
|
||||
background: url('menu.png');
|
||||
border-width: 1px 1px 1px 0;
|
||||
border-style: solid;
|
||||
border-color: #000;
|
||||
-moz-border-radius: 10px;
|
||||
-khtml-border-radius: 10px;
|
||||
-webkit-border-radius: 10px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
#menunav {
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
.menunav-rss {
|
||||
width: 25px;
|
||||
height: 25px;
|
||||
margin: 0 0 0 4px;
|
||||
padding: 0;
|
||||
display: block;
|
||||
float: left;
|
||||
text-indent: -9999px;
|
||||
overflow: hidden;
|
||||
background: url('menu-nav.png') no-repeat;
|
||||
}
|
||||
|
||||
.menunav-rss:hover {
|
||||
background: Transparent url('menu-nav.png') 0 -25px no-repeat;
|
||||
}
|
||||
|
||||
.menunav a:hover {
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
#menu {
|
||||
border-right: 1px solid #111;
|
||||
margin-left: 10px;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
#menu a {
|
||||
padding: 0px 10px 0 10px;
|
||||
display: block;
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#menu li .rss {
|
||||
padding: 5px 0 5px 0;
|
||||
}
|
||||
|
||||
#menu li {
|
||||
float: left;
|
||||
cursor:pointer;
|
||||
}
|
||||
|
||||
#menu li a {
|
||||
border-left: 1px solid #333;
|
||||
border-right: 1px solid #555;
|
||||
}
|
||||
|
||||
#menu li:hover a, #menu li.sfhover a {
|
||||
border-left: 1px solid #8b160f;
|
||||
border-right: 1px solid #c28380;
|
||||
color: #fff; /* Main menu highlighted text color */
|
||||
background: url('menu.png') 0 -75px;
|
||||
}
|
||||
|
||||
#menu li:hover, #menu li.sfhover {
|
||||
/* Main menu highlighted background color */
|
||||
}
|
||||
|
||||
/* For submenu dropdowns - this order must be maintained */
|
||||
|
||||
#menu ul {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
list-style: none;
|
||||
position: absolute;
|
||||
left: -9999px;
|
||||
width: 175px;
|
||||
line-height: 1;
|
||||
}
|
||||
#menu li li {
|
||||
width: 165px;
|
||||
padding: 4px 5px;
|
||||
color: #fff;
|
||||
}
|
||||
#menu li li a {
|
||||
width: 174px;
|
||||
padding: 0;
|
||||
color: #fff;
|
||||
border: none;
|
||||
}
|
||||
#menu li ul ul {
|
||||
margin: -17px 0 0 170px;
|
||||
}
|
||||
#menu li ul li:hover a, #menu li ul li li:hover a, #menu li ul li li li:hover a, #menu li ul li li li:hover a {
|
||||
color: #fff; /*Submenu highlighted text color */
|
||||
}
|
||||
#menu li:hover li a, #menu li li:hover li a, #menu li li li:hover li a, #menu li li li li:hover li a {
|
||||
color: #fff; /*Submenu text color */
|
||||
border: none;
|
||||
background: none;
|
||||
}
|
||||
#menu li li:hover {
|
||||
background: #f00; /*Submenu highlighted background color */
|
||||
}
|
||||
#menu li:hover ul ul, #menu li:hover ul ul ul, #menu li:hover ul ul ul ul, #menu li.sfhover ul ul, #menu li.sfhover ul ul ul, #menu li.sfhover ul ul ul ul {
|
||||
left: -9999px;
|
||||
}
|
||||
#menu li:hover ul, #menu li li:hover ul, #menu li li li:hover ul, #menu li li li li:hover ul, #menu li.sfhover ul, #menu li li.sfhover ul, #menu li li li.sfhover ul, #menu li li li li.sfhover ul {
|
||||
left: auto;
|
||||
background: #3d5875; /* Submenu background color */
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
#menu .current_page_item a {
|
||||
color: #fff;
|
||||
border-left: 1px solid #555;
|
||||
border-right: 1px solid #555;
|
||||
background: url('menu.png') 0 -50px;
|
||||
}
|
||||
|
||||
/* THE COMIC */
|
||||
|
||||
#comic-head {
|
||||
padding-top: 2px;
|
||||
}
|
||||
|
||||
#comic {
|
||||
background: #fff;
|
||||
border: 1px solid #000;
|
||||
text-align: center;
|
||||
z-index: 100;
|
||||
padding: 5px;
|
||||
-moz-border-radius: 0 10px 10px 10px;
|
||||
-khtml-border-radius: 0 10px 10px 10px;
|
||||
-webkit-border-radius: 0 10px 10px 10px;
|
||||
border-radius: 0 10px 10px 10px;
|
||||
}
|
||||
|
||||
#subcontent-wrapper{
|
||||
background: #004c74;
|
||||
border: solid 1px #000;
|
||||
-moz-border-radius: 10px 0 10px 0;
|
||||
-khtml-border-radius: 10px 0 10px 0;
|
||||
-webkit-border-radius: 10px 0 10px 0;
|
||||
border-radius: 10px 0 10px 0;
|
||||
}
|
||||
|
||||
.narrowcolumn {
|
||||
width: 538px;
|
||||
}
|
||||
|
||||
.layout-standard .narrowcolumn, .layout-v .narrowcolumn {
|
||||
width: 548px;
|
||||
}
|
||||
|
||||
.post, .post-page, .post-comic, #comment-wrapper {
|
||||
background: #bcc7d2;
|
||||
border: solid 1px #000;
|
||||
-moz-border-radius: 0 10px 10px 10px;
|
||||
-khtml-border-radius: 0 10px 10px 10px;
|
||||
-webkit-border-radius: 0 10px 10px 10px;
|
||||
border-radius: 0 10px 10px 10px;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.sidebar a {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.sidebar a:hover {
|
||||
color: #81c4e7;
|
||||
}
|
||||
|
||||
.sidebar h2, .sidebar h2 a {
|
||||
color: #c3e1f1;
|
||||
}
|
||||
|
||||
.sidebar h2 a:hover {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#respond button {
|
||||
float: right;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* COMMENT LINK */
|
||||
|
||||
.comment-link {
|
||||
height: 25px;
|
||||
line-height: 20px;
|
||||
font-family: 'Arial', sans-serif;
|
||||
font-weight: bold;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.comment-link a {
|
||||
color: #333;
|
||||
padding: 0 5px 0 0;
|
||||
}
|
||||
|
||||
.comment-link a:hover {
|
||||
color: #800;
|
||||
}
|
||||
|
||||
.comment-balloon {
|
||||
width: 30px;
|
||||
height: 25px;
|
||||
display: block;
|
||||
float: right;
|
||||
overflow: hidden;
|
||||
text-align: center;
|
||||
line-height: 16px;
|
||||
font-family: 'Georgia', serif;
|
||||
font-size: 16px;
|
||||
font-weight: normal;
|
||||
background: url('comment-balloon.png') no-repeat;
|
||||
}
|
||||
|
||||
.comment-link a:hover .comment-balloon {
|
||||
color: #fff;
|
||||
background-position: 0 -25px;
|
||||
}
|
||||
|
||||
.comment-balloon-empty {
|
||||
font-size: 20px;
|
||||
line-height: 30px;
|
||||
}
|
||||
|
||||
|
||||
/* WIDGETS */
|
||||
|
||||
.archive-dropdown-wrap {
|
||||
background: url('browse-search.png') no-repeat;
|
||||
}
|
||||
|
||||
.archive-dropdown-wrap:hover {
|
||||
background-position: 0 -23px;
|
||||
}
|
||||
|
||||
.archive-dropdown {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 166px;
|
||||
height: 23px;
|
||||
font-size: 12px;
|
||||
font-family: 'Arial' , sans-serif;
|
||||
border: none;
|
||||
opacity: 0;
|
||||
filter: alpha(opacity=0);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* SEARCH */
|
||||
|
||||
#s-search, #s-transcript {
|
||||
width: 138px;
|
||||
padding: 4px 0 0 5px;
|
||||
font-size: 12px;
|
||||
height: 19px;
|
||||
font-family: 'Arial' , sans-serif;
|
||||
color: #000;
|
||||
border: none;
|
||||
float: left;
|
||||
background: url('browse-search.png') 0 -46px no-repeat;
|
||||
}
|
||||
|
||||
#s-search:hover, #s-search:focus, #s-transcript:hover, #s-transcript:focus {
|
||||
color: #550000;
|
||||
background-position: 0 -69px;
|
||||
}
|
||||
|
||||
#searchform button, #searchform-transcript button {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
border: none;
|
||||
height: 23px;
|
||||
width: 23px;
|
||||
line-height: 0;
|
||||
font-size: 0;
|
||||
cursor: pointer;
|
||||
text-indent: -9999px;
|
||||
background: url('browse-search.png') -143px -46px no-repeat;
|
||||
}
|
||||
|
||||
#searchform button:hover, #searchform-transcript button:hover {
|
||||
background-position: -143px -69px;
|
||||
}
|
||||
|
||||
#searchform button:hover, #searchform-transcript button:-moz-focus-inner {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
/* GALLERY */
|
||||
|
||||
.gallery-image {
|
||||
width: 518px;
|
||||
border: 1px solid #000;
|
||||
overflow: hidden;
|
||||
background: #000;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.gallery-caption {
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.gallery-caption p {
|
||||
width: 510px;
|
||||
padding: 5px;
|
||||
margin: 0;
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
background: #000;
|
||||
}
|
||||
|
||||
.imagenav-wrap {
|
||||
margin: 5px 0 0 0;
|
||||
}
|
||||
|
||||
.imagenav {
|
||||
width: 77px;
|
||||
height: 77px;
|
||||
float: left;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.imagenav-center {
|
||||
width: 344px;
|
||||
height: 65px;
|
||||
margin: 0 5px;
|
||||
padding: 10px 5px 0 5px;
|
||||
float: left;
|
||||
color: #000;
|
||||
text-align: center;
|
||||
border: 1px solid #000;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.imagetitle {
|
||||
color: #000;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.imagenav-bg {
|
||||
width: 75px;
|
||||
height: 75px;
|
||||
position: absolute;
|
||||
z-index: 0;
|
||||
background: #ddd;
|
||||
border: 1px solid #000;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.imagenav-bg img {
|
||||
width: 75px;
|
||||
height: 75px;
|
||||
}
|
||||
|
||||
.imagenav-arrow {
|
||||
width: 75px;
|
||||
height: 75px;
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
color: #fff;
|
||||
font-size: 80px;
|
||||
font-weight: bold;
|
||||
line-height: 75px;
|
||||
text-align: center;
|
||||
border: 1px solid #000;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.imagenav-link {
|
||||
width: 75px;
|
||||
height: 75px;
|
||||
position: absolute;
|
||||
z-index: 2;
|
||||
border: 1px solid #000;
|
||||
float: left;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.imagenav-link img {
|
||||
width: 75px;
|
||||
height: 75px;
|
||||
/* opacity: 0.50; filter: alpha(opacity=50); */
|
||||
}
|
||||
|
||||
.imagenav-link img:hover {
|
||||
/* opacity: 0.00; filter: alpha(opacity=0); */
|
||||
}
|
||||
|
||||
/* Pagination */
|
||||
|
||||
#wp-paginav {
|
||||
background: url('menu.png');
|
||||
text-align: left;
|
||||
border: 1px solid #000;
|
||||
-moz-border-radius: 10px;
|
||||
-khtml-border-radius: 10px;
|
||||
-webkit-border-radius: 10px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
#paginav {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
list-style: none;
|
||||
float: left;
|
||||
line-height: 25px;
|
||||
font-size: 13px;
|
||||
color: #fff;
|
||||
border-right: 1px solid #222;
|
||||
}
|
||||
|
||||
#paginav .paginav-pages, #paginav .paginav-extend {
|
||||
padding: 0 15px 0 15px;
|
||||
}
|
||||
|
||||
#paginav a {
|
||||
padding: 0px 10px 0 10px;
|
||||
display: block;
|
||||
color: #777;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#paginav ul {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
#paginav li {
|
||||
float: left;
|
||||
}
|
||||
|
||||
#paginav li a {
|
||||
border-left: 1px solid #111;
|
||||
border-right: 1px solid #444;
|
||||
color: #eee;
|
||||
}
|
||||
|
||||
#paginav .paginav-next, #paginav .paginav-previous {
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
#paginav .paginav-current, #paginav .current {
|
||||
padding: 0px 10px 0 10px;
|
||||
color: #fff;
|
||||
border-left: 1px solid #222;
|
||||
background: url('menu.png') 0 -150px;
|
||||
}
|
||||
|
||||
#paginav li:hover a {
|
||||
border-left: 1px solid #333;
|
||||
border-right: 1px solid #555;
|
||||
color: #fff;
|
||||
background: url('menu.png') 0 -75px;
|
||||
}
|
||||
|
||||
|
||||
#wp-calendar-wrap {
|
||||
width: 170px;
|
||||
border: solid 1px #000;
|
||||
-moz-border-radius: 0 10px 10px 10px;
|
||||
-khtml-border-radius: 0 10px 10px 10px;
|
||||
-webkit-border-radius: 0 10px 10px 10px;
|
||||
border-radius: 0 10px 10px 10px;
|
||||
}
|
||||
|
||||
#footer {
|
||||
background: #fff;
|
||||
border: solid 1px #000;
|
||||
-moz-border-radius: 0 10px 10px 10px;
|
||||
-khtml-border-radius: 0 10px 10px 10px;
|
||||
-webkit-border-radius: 0 10px 10px 10px;
|
||||
border-radius: 0 10px 10px 10px;
|
||||
margin-top: 10px;
|
||||
}
|
Before Width: | Height: | Size: 200 B |
Before Width: | Height: | Size: 215 B |
Before Width: | Height: | Size: 269 B |
|
@ -1,3 +0,0 @@
|
|||
<?php global $post; if ($post->comment_status != 'closed') { ?>
|
||||
<div class="comment-link">[ <?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?> ]</div>
|
||||
<?php } ?>
|
|
@ -1,7 +0,0 @@
|
|||
<strong>ThemePack</strong>: boxed<br />
|
||||
<strong>Author</strong>: ComicPress Development Team<br />
|
||||
<strong>Version</strong>: 0.1.5<br />
|
||||
<br />
|
||||
<strong>Installation Notes</strong>:<br />
|
||||
None<br />
|
||||
<br />
|
Before Width: | Height: | Size: 22 KiB |
|
@ -1,146 +0,0 @@
|
|||
/*
|
||||
ThemePack Name: boxed
|
||||
ThemePack URI: http://comicpress.org
|
||||
Author: ComicPress Developement Team
|
||||
Author URI: http://mindfaucet.com/
|
||||
Version: 0.1.5
|
||||
*/
|
||||
|
||||
/* STANDARD TAGS */
|
||||
|
||||
body {
|
||||
background: #222 url('background.png') repeat;
|
||||
}
|
||||
|
||||
#page, #page-wide {
|
||||
background: #ddd;
|
||||
border-left: solid 1px #000;
|
||||
border-right: solid 1px #000;
|
||||
border-bottom: solid 1px #000;
|
||||
}
|
||||
|
||||
#page-wrap {
|
||||
padding: 0 10px;
|
||||
background: url('classic-background-narrow.png') top center repeat-y;
|
||||
}
|
||||
|
||||
#page-wide-wrap {
|
||||
padding: 0 10px;
|
||||
background: url('classic-background-wide.png') top center repeat-y;
|
||||
}
|
||||
|
||||
#header {
|
||||
background: #333;
|
||||
padding: 20px 0;
|
||||
}
|
||||
|
||||
#header h1 {
|
||||
text-align: left;
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
#header .description {
|
||||
text-align: left;
|
||||
padding-left: 60px;
|
||||
}
|
||||
|
||||
#content-wrapper, #content-wrapper {
|
||||
background: #a0a0a0;
|
||||
}
|
||||
|
||||
#subcontent-wrapper {
|
||||
background: #dfdfdf;
|
||||
}
|
||||
|
||||
#footer {
|
||||
padding: 20px 0;
|
||||
color: #fff;
|
||||
background: #222;
|
||||
border-bottom: solid 1px #000;
|
||||
}
|
||||
|
||||
#comic_navi_wrapper, #comic, .pagenav {
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.narrowcolumn, .widecolumn {
|
||||
background: #efefef;
|
||||
}
|
||||
|
||||
#header h1 a, #header .description {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.page .narrowcolumn { padding-top: 5px; }
|
||||
|
||||
#comic-head {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#sidebar-abovecomic {
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
#comic {
|
||||
margin: 0;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
#sidebar-undercomic, #comic-foot {
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
#footer a {
|
||||
color: #ff0000;
|
||||
}
|
||||
#footer a:hover {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
|
||||
/* MENU */
|
||||
|
||||
.menunav-prev a, .menunav-next a {
|
||||
border-left: solid 1px #aaa;
|
||||
}
|
||||
|
||||
.menunav-rss:hover {
|
||||
background: #ff6600;
|
||||
}
|
||||
|
||||
#menu {
|
||||
text-transform: uppercase;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
#menu li a {
|
||||
border-right: solid 1px #aaa;
|
||||
}
|
||||
|
||||
#menu li:hover li a, #menu li li:hover li a, #menu li li li:hover li a, #menu li li li li:hover li a,
|
||||
#menu li:hover li, #menu li li:hover li, #menu li li li:hover li, #menu li li li li:hover li {
|
||||
text-transform: uppercase;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
/* COMMENT LINK */
|
||||
|
||||
.comment-link {
|
||||
font-size: 9px;
|
||||
}
|
||||
|
||||
#sidebar-undercomic {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.widget_sociable_widget {
|
||||
margin: 0 auto;
|
||||
padding: 0 0;
|
||||
}
|
||||
|
||||
.cpcal-cals {
|
||||
width: 516px;
|
||||
margin: 0 auto;
|
||||
padding-left: 5px;
|
||||
}
|
Before Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 200 B |
Before Width: | Height: | Size: 215 B |
Before Width: | Height: | Size: 269 B |
|
@ -1,3 +0,0 @@
|
|||
<?php global $post; if ($post->comment_status != 'closed') { ?>
|
||||
<div class="comment-link">[ <?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?> ]</div>
|
||||
<?php } ?>
|
Before Width: | Height: | Size: 15 KiB |
|
@ -1,7 +0,0 @@
|
|||
<strong>ThemePack</strong>: sandy<br />
|
||||
<strong>Author</strong>: ComicPress Development Team<br />
|
||||
<strong>Version</strong>: 0.1.1<br />
|
||||
<br />
|
||||
<strong>Installation Notes</strong>:<br />
|
||||
None<br />
|
||||
<br />
|
Before Width: | Height: | Size: 32 KiB |
|
@ -1,147 +0,0 @@
|
|||
/*
|
||||
ThemePack Name: Sandcastle
|
||||
ThemePack URI: http://comicpress.org
|
||||
Author: ComicPress Developement Team
|
||||
Author URI: http://mindfaucet.com/
|
||||
Version: 0.1.0
|
||||
*/
|
||||
|
||||
/* STANDARD TAGS */
|
||||
|
||||
body {
|
||||
background: #dfc786 url('background.jpg') repeat;
|
||||
}
|
||||
|
||||
#page, #page-wide {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.layout-v #page {
|
||||
width: 780px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
|
||||
#page #header, #page #menubar, #page #subcontent-wrapper, #page #footer, #page #comic-head, #page #comic-foot {
|
||||
width: 780px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.layout-gn #page-wide,
|
||||
.layout-rgn #page-wide,
|
||||
.layout-v3c #page-wide,
|
||||
#page-wide #header,
|
||||
#page-wide #menubar,
|
||||
#page-wide #subcontent-wrapper,
|
||||
#page-wide #footer,
|
||||
#page-wide #comic-head,
|
||||
#page-wide #comic-foot {
|
||||
width: 980px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
#headerpwad {
|
||||
margin-top: -20px;
|
||||
}
|
||||
|
||||
.ie #content-wrapper-head, .ie #comic-head {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#comic-head, #comic-foot {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#subcontent-wrapper, .layout-gn #content-wrapper, .layout-rgn #content-wrapper, .layout-v #content-wrapper,
|
||||
.layout-v3c #content-wrapper {
|
||||
background: url('contentbg.jpg') repeat;
|
||||
border-left: solid 1px #000;
|
||||
border-right: solid 1px #000;
|
||||
border-bottom: solid 1px #000;
|
||||
}
|
||||
|
||||
#comic-foot, #comic-head {
|
||||
background: url('contentbg.jpg') repeat;
|
||||
border-left: solid 1px #000;
|
||||
border-right: solid 1px #000;
|
||||
}
|
||||
|
||||
.layout-gn #pagewrap-right, .layout-rgn #pagewrap-right {
|
||||
padding-top: 5px;
|
||||
width: 768px;
|
||||
}
|
||||
|
||||
#comic-foot .archive-dropdown-wrap, #comic-head .archive-dropdown-wrap, #comic-foot .widget, #comic-head .widget {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.layout-gn #subcontent-wrapper, .layout-gn #comic-head, .layout-gn, #comic-foot,
|
||||
.layout-rgn #subcontent-wrapper, .layout-rgn #comic-head, .layout-rgn, #comic-foot {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.layout-gn #page-wide #comic, .layout-gn #page-wide #comic-head, .layout-gn #page-wide #comic-foot {
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
.layout-gn #page-wide #comic-foot, .layout-gn #page-wide #comic-head,
|
||||
.layout-rgn #page-wide #comic-foot, .layout-rgn #page-wide #comic-head,
|
||||
.layout-v #page #comic-foot, .layout-v #page #comic-head {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.layout-standard #page #menubar {
|
||||
width: 782px;
|
||||
}
|
||||
|
||||
.layout-3c #page-wide #menubar, .layout-3c2r #page-wide #menubar {
|
||||
width: 982px;
|
||||
}
|
||||
|
||||
#comic {
|
||||
margin: 0 auto;
|
||||
background: #fff;
|
||||
padding: 5px;
|
||||
border: solid 2px #000;
|
||||
-moz-border-radius: 10px;
|
||||
-khtml-border-radius: 10px;
|
||||
-webkit-border-radius: 10px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.layout-rgn #page-wide #comic, .layout-rgn #page-wide #comic-head, .layout-rgn #page-wide #comic-foot {
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
.layout-3c #comic, .layout-3c2r #comic {
|
||||
width: 1010px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.layout-3c #comic-foot, .layout-3c2r #comic-foot,
|
||||
.layout-3c2r #comic-head, .layout-3c2r #comic-head,
|
||||
.layout-standard #comic-head, .layout-standard #comic-foot {
|
||||
border-left: solid 1px #000;
|
||||
border-right: solid 1px #000;
|
||||
}
|
||||
|
||||
.layout-standard #comic {
|
||||
width: 820px;
|
||||
}
|
||||
|
||||
.layout-gn .narrowcolumn, .layout-rgn .narrowcolumn {
|
||||
width: 538px;
|
||||
}
|
||||
|
||||
.layout-v .narrowcolumn {
|
||||
width: 558px;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
#blogheader {
|
||||
border-color: #000;
|
||||
}
|
||||
|
||||
button {
|
||||
float: right;
|
||||
}
|
Before Width: | Height: | Size: 310 B |
Before Width: | Height: | Size: 9.4 KiB |
Before Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 2.1 KiB |
|
@ -1,5 +0,0 @@
|
|||
<?php global $post; if ($post->comment_status != 'closed') { ?>
|
||||
<div class="comment-link">
|
||||
<?php comments_popup_link('<span class="comment-balloon comment-balloon-empty">”</span>Comment ', '<span class="comment-balloon">1</span>Comment ', '<span class="comment-balloon">%</span>Comment '); ?>
|
||||
</div>
|
||||
<?php } ?>
|
Before Width: | Height: | Size: 8.6 KiB |
Before Width: | Height: | Size: 343 B |
|
@ -1,7 +0,0 @@
|
|||
<strong>ThemePack (default)</strong>: Silver<br />
|
||||
<strong>Author</strong>: ComicPress Development Team<br />
|
||||
<strong>Version</strong>: 1.0.5
|
||||
<br />
|
||||
<strong>Installation Notes</strong>:<br />
|
||||
None.
|
||||
<br />
|
Before Width: | Height: | Size: 42 KiB |
|
@ -1,491 +0,0 @@
|
|||
/*
|
||||
ThemePack Name: Silver
|
||||
ThemePack URI: http://comicpress.org
|
||||
Author: Tyler Martin
|
||||
Author URI: http://mindfaucet.com/
|
||||
Version: 0.1.5
|
||||
*/
|
||||
|
||||
/* STANDARD TAGS */
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: 'Arial', sans-serif;
|
||||
color: #333;
|
||||
background: #fff url('background.png') top center repeat-x;
|
||||
}
|
||||
|
||||
button {
|
||||
background: #aaa url('menu.png');
|
||||
color: #000;
|
||||
font-family: 'Arial', sans-serif;
|
||||
font-size: 13px;
|
||||
line-height: 13px;
|
||||
border: 1px solid #999;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
button:hover {
|
||||
color: #fff;
|
||||
background: #f00 url('menu.png') 0 -75px;
|
||||
}
|
||||
|
||||
/* THE HEADER */
|
||||
|
||||
#header {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#header a {
|
||||
color: #eee;
|
||||
}
|
||||
|
||||
#header .description {
|
||||
color: #555;
|
||||
padding: 0 0 10px 0;
|
||||
font-size: 14px;
|
||||
font-style: italic;
|
||||
letter-spacing: 2px;
|
||||
}
|
||||
|
||||
|
||||
/* THE MENU */
|
||||
|
||||
#menubar {
|
||||
background: url('menu.png');
|
||||
border-width: 1px 1px 1px 0;
|
||||
border-style: solid;
|
||||
border-color: #999;
|
||||
}
|
||||
|
||||
.menunav-rss {
|
||||
width: 25px;
|
||||
height: 25px;
|
||||
margin: 0 0 0 4px;
|
||||
padding: 0;
|
||||
display: block;
|
||||
float: left;
|
||||
text-indent: -9999px;
|
||||
overflow: hidden;
|
||||
background: url('menu-nav.png') no-repeat;
|
||||
}
|
||||
|
||||
.menunav-rss:hover {
|
||||
background: Transparent url('menu-nav.png') 0 -25px no-repeat;
|
||||
}
|
||||
|
||||
.menunav-prev, .menunav-next {
|
||||
display: block;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.menunav a:hover {
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.menunav-prev {
|
||||
margin: 0 0 0 5px;
|
||||
}
|
||||
|
||||
.menunav-prev a, .menunav-next a {
|
||||
width: 25px;
|
||||
height: 25px;
|
||||
display: block;
|
||||
text-indent: -9999px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.menunav-prev a {
|
||||
background: transparent url('menu-nav.png') -25px 0 no-repeat;
|
||||
}
|
||||
|
||||
.menunav-prev a:hover {
|
||||
background: transparent url('menu-nav.png') -25px -25px no-repeat;
|
||||
}
|
||||
|
||||
.menunav-next a {
|
||||
background: url('menu-nav.png') -50px 0 no-repeat;
|
||||
}
|
||||
|
||||
.menunav-next a:hover {
|
||||
background: transparent url('menu-nav.png') -50px -25px no-repeat;
|
||||
}
|
||||
|
||||
#menu {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
list-style: none;
|
||||
float: left;
|
||||
line-height: 25px;
|
||||
font-size: 13px;
|
||||
border-right: 1px solid #aaa;
|
||||
}
|
||||
|
||||
#menu a {
|
||||
padding: 0px 10px 0 10px;
|
||||
display: block;
|
||||
color: #000;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#menu li .rss {
|
||||
padding: 5px 0 5px 0;
|
||||
}
|
||||
|
||||
#menu li {
|
||||
float: left;
|
||||
cursor:pointer;
|
||||
}
|
||||
|
||||
#menu li a {
|
||||
border-left: 1px solid #aaa;
|
||||
border-right: 1px solid #fff;
|
||||
}
|
||||
|
||||
#menu li:hover a, #menu li.sfhover a {
|
||||
border-left: 1px solid #8b160f;
|
||||
border-right: 1px solid #c28380;
|
||||
color: #fff; /* Main menu highlighted text color */
|
||||
background: url('menu.png') 0 -75px;
|
||||
}
|
||||
|
||||
#menu li:hover, #menu li.sfhover {
|
||||
/* Main menu highlighted background color */
|
||||
}
|
||||
|
||||
/* For submenu dropdowns - this order must be maintained */
|
||||
|
||||
#menu ul {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
list-style: none;
|
||||
position: absolute;
|
||||
left: -9999px;
|
||||
width: 175px;
|
||||
line-height: 1;
|
||||
}
|
||||
#menu li li {
|
||||
width: 165px;
|
||||
padding: 4px 5px;
|
||||
color: #fff;
|
||||
}
|
||||
#menu li li a {
|
||||
width: 174px;
|
||||
padding: 0;
|
||||
color: #fff;
|
||||
border: none;
|
||||
}
|
||||
#menu li ul ul {
|
||||
margin: -17px 0 0 170px;
|
||||
}
|
||||
#menu li ul li:hover a, #menu li ul li li:hover a, #menu li ul li li li:hover a, #menu li ul li li li:hover a {
|
||||
color: #fff; /*Submenu highlighted text color */
|
||||
}
|
||||
#menu li:hover li a, #menu li li:hover li a, #menu li li li:hover li a, #menu li li li li:hover li a {
|
||||
color: #fff; /*Submenu text color */
|
||||
border: none;
|
||||
background: none;
|
||||
}
|
||||
#menu li li:hover {
|
||||
background: #f00; /*Submenu highlighted background color */
|
||||
}
|
||||
#menu li:hover ul ul, #menu li:hover ul ul ul, #menu li:hover ul ul ul ul, #menu li.sfhover ul ul, #menu li.sfhover ul ul ul, #menu li.sfhover ul ul ul ul {
|
||||
left: -9999px;
|
||||
}
|
||||
#menu li:hover ul, #menu li li:hover ul, #menu li li li:hover ul, #menu li li li li:hover ul, #menu li.sfhover ul, #menu li li.sfhover ul, #menu li li li.sfhover ul, #menu li li li li.sfhover ul {
|
||||
left: auto;
|
||||
background: #000; /* Submenu background color */
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
#menu .current_page_item a {
|
||||
color: #fff;
|
||||
border-left: 1px solid #555;
|
||||
border-right: 1px solid #555;
|
||||
background: url('menu.png') 0 -50px;
|
||||
}
|
||||
|
||||
/* THE COMIC */
|
||||
|
||||
#comic-head {
|
||||
padding-top: 2px;
|
||||
}
|
||||
|
||||
#comic {
|
||||
background: #fff;
|
||||
border: 1px solid #999;
|
||||
text-align: center;
|
||||
z-index: 100;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
/* COMMENT LINK */
|
||||
|
||||
.comment-link {
|
||||
height: 25px;
|
||||
line-height: 20px;
|
||||
font-family: 'Arial', sans-serif;
|
||||
font-weight: bold;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.comment-link a {
|
||||
color: #333;
|
||||
padding: 0 5px 0 0;
|
||||
}
|
||||
|
||||
.comment-link a:hover {
|
||||
color: #800;
|
||||
}
|
||||
|
||||
.comment-balloon {
|
||||
width: 30px;
|
||||
height: 25px;
|
||||
display: block;
|
||||
float: right;
|
||||
overflow: hidden;
|
||||
text-align: center;
|
||||
line-height: 16px;
|
||||
font-family: 'Georgia', serif;
|
||||
font-size: 16px;
|
||||
font-weight: normal;
|
||||
background: url('comment-balloon.png') no-repeat;
|
||||
}
|
||||
|
||||
.comment-link a:hover .comment-balloon {
|
||||
color: #fff;
|
||||
background-position: 0 -25px;
|
||||
}
|
||||
|
||||
.comment-balloon-empty {
|
||||
font-size: 20px;
|
||||
line-height: 30px;
|
||||
}
|
||||
|
||||
|
||||
/* WIDGETS */
|
||||
|
||||
.archive-dropdown-wrap {
|
||||
background: url('browse-search.png') no-repeat;
|
||||
}
|
||||
|
||||
.archive-dropdown-wrap:hover {
|
||||
background-position: 0 -23px;
|
||||
}
|
||||
|
||||
.archive-dropdown {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 166px;
|
||||
height: 23px;
|
||||
font-size: 12px;
|
||||
font-family: 'Arial' , sans-serif;
|
||||
border: none;
|
||||
opacity: 0;
|
||||
filter: alpha(opacity=0);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* SEARCH */
|
||||
|
||||
#s-search, #s-transcript {
|
||||
width: 138px;
|
||||
padding: 4px 0 0 5px;
|
||||
font-size: 12px;
|
||||
height: 19px;
|
||||
font-family: 'Arial' , sans-serif;
|
||||
color: #000;
|
||||
border: none;
|
||||
float: left;
|
||||
background: url('browse-search.png') 0 -46px no-repeat;
|
||||
}
|
||||
|
||||
#s-search:hover, #s-search:focus, #s-transcript:hover, #s-transcript:focus {
|
||||
color: #550000;
|
||||
background-position: 0 -69px;
|
||||
}
|
||||
|
||||
#searchform button, #searchform-transcript button {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
border: none;
|
||||
height: 23px;
|
||||
width: 23px;
|
||||
line-height: 0;
|
||||
font-size: 0;
|
||||
cursor: pointer;
|
||||
text-indent: -9999px;
|
||||
background: url('browse-search.png') -143px -46px no-repeat;
|
||||
}
|
||||
|
||||
#searchform button:hover, #searchform-transcript button:hover {
|
||||
background-position: -143px -69px;
|
||||
}
|
||||
|
||||
#searchform button:hover, #searchform-transcript button:-moz-focus-inner {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
/* GALLERY */
|
||||
|
||||
.gallery-image {
|
||||
width: 518px;
|
||||
border: 1px solid #000;
|
||||
overflow: hidden;
|
||||
background: #000;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.gallery-caption {
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.gallery-caption p {
|
||||
width: 510px;
|
||||
padding: 5px;
|
||||
margin: 0;
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
background: #000;
|
||||
}
|
||||
|
||||
.imagenav-wrap {
|
||||
margin: 5px 0 0 0;
|
||||
}
|
||||
|
||||
.imagenav {
|
||||
width: 77px;
|
||||
height: 77px;
|
||||
float: left;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.imagenav-center {
|
||||
width: 344px;
|
||||
height: 65px;
|
||||
margin: 0 5px;
|
||||
padding: 10px 5px 0 5px;
|
||||
float: left;
|
||||
color: #000;
|
||||
text-align: center;
|
||||
border: 1px solid #000;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.imagetitle {
|
||||
color: #000;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.imagenav-bg {
|
||||
width: 75px;
|
||||
height: 75px;
|
||||
position: absolute;
|
||||
z-index: 0;
|
||||
background: #ddd;
|
||||
border: 1px solid #000;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.imagenav-bg img {
|
||||
width: 75px;
|
||||
height: 75px;
|
||||
}
|
||||
|
||||
.imagenav-arrow {
|
||||
width: 75px;
|
||||
height: 75px;
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
color: #fff;
|
||||
font-size: 80px;
|
||||
font-weight: bold;
|
||||
line-height: 75px;
|
||||
text-align: center;
|
||||
border: 1px solid #000;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.imagenav-link {
|
||||
width: 75px;
|
||||
height: 75px;
|
||||
position: absolute;
|
||||
z-index: 2;
|
||||
border: 1px solid #000;
|
||||
float: left;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.imagenav-link img {
|
||||
width: 75px;
|
||||
height: 75px;
|
||||
/* opacity: 0.50; filter: alpha(opacity=50); */
|
||||
}
|
||||
|
||||
.imagenav-link img:hover {
|
||||
/* opacity: 0.00; filter: alpha(opacity=0); */
|
||||
}
|
||||
|
||||
/* Pagination */
|
||||
|
||||
#wp-paginav {
|
||||
background: url('menu.png');
|
||||
text-align: left;
|
||||
border: 1px solid #999;
|
||||
}
|
||||
|
||||
#paginav {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
list-style: none;
|
||||
float: left;
|
||||
line-height: 25px;
|
||||
font-size: 13px;
|
||||
border-right: 1px solid #aaa;
|
||||
}
|
||||
|
||||
#paginav .paginav-pages, #paginav .paginav-extend {
|
||||
padding: 0 15px 0 15px;
|
||||
}
|
||||
|
||||
#paginav a {
|
||||
padding: 0px 10px 0 10px;
|
||||
display: block;
|
||||
color: #000;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#paginav ul {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
#paginav li {
|
||||
float: left;
|
||||
}
|
||||
|
||||
#paginav li a {
|
||||
border-left: 1px solid #aaa;
|
||||
border-right: 1px solid #ccc;
|
||||
}
|
||||
|
||||
#paginav .paginav-next, #paginav .paginav-previous {
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
#paginav .paginav-current, #paginav .current {
|
||||
padding: 0px 10px 0 10px;
|
||||
color: #fff;
|
||||
border-left: 1px solid #aaa;
|
||||
background: url('menu.png') 0 -150px;
|
||||
}
|
||||
|
||||
#paginav li:hover a {
|
||||
border-left: 1px solid #8b160f;
|
||||
border-right: 1px solid #c28380;
|
||||
color: #fff;
|
||||
background: url('menu.png') 0 -75px;
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 9.4 KiB |
Before Width: | Height: | Size: 8.5 KiB |
Before Width: | Height: | Size: 396 B |
|
@ -1,6 +0,0 @@
|
|||
<strong>ThemePack</strong>: slickblack<br />
|
||||
<strong>Author</strong>: Philip M. Hofer (Frumph)<br />
|
||||
<br />
|
||||
<strong>Installation Notes</strong>:<br />
|
||||
None.
|
||||
<br />
|
Before Width: | Height: | Size: 93 B |