From 93d6998ee8ec4e2726b3a4337b54a3dd457c31dc Mon Sep 17 00:00:00 2001 From: "Philip M. Hofer (Frumph)" Date: Thu, 27 Aug 2009 08:12:08 -0700 Subject: [PATCH] tylers CSS cleaning fixed IE problem with seeing the tabbed pages for IE by creating a seperate css for it which checks browser type Signed-off-by: Philip M. Hofer (Frumph) --- archive-comic-year.php | 2 +- author.php | 3 +- comicpress-config.php | 2 +- comments.php | 45 +-- functions/displayblogpost.php | 6 +- functions/wp-pagenavi.php | 16 +- images/calendar.png | Bin 1559 -> 1096 bytes js/tabbed/tabbed_pages_ie.css | 60 ++++ style.css | 525 +++++++++++++++---------------- widgets/graphical-navigation.php | 9 +- 10 files changed, 357 insertions(+), 311 deletions(-) create mode 100644 js/tabbed/tabbed_pages_ie.css diff --git a/archive-comic-year.php b/archive-comic-year.php index 1e21eab..414eec5 100644 --- a/archive-comic-year.php +++ b/archive-comic-year.php @@ -42,7 +42,7 @@ Template Name: Comic Year Archive
-

+

diff --git a/author.php b/author.php index a1021ee..6b904d8 100644 --- a/author.php +++ b/author.php @@ -69,8 +69,9 @@ -
+
+
+ + 0)); + if (!empty($pagelinks)) { + $pagelinks = preg_replace('#\#', '', $pagelinks); + $pagelinks = preg_replace('#\#', '', $pagelinks); ?> +
+
+
  • Comment Pages
  • '. $pagelinks . ''; ?> +
    +
    +
    + + + + +
    +
    +
    +
    +
    + +
    diff --git a/functions/displayblogpost.php b/functions/displayblogpost.php index d08cdb7..429e2eb 100644 --- a/functions/displayblogpost.php +++ b/functions/displayblogpost.php @@ -40,9 +40,11 @@ function display_blog_post() { '); ?>
    - +
    diff --git a/functions/wp-pagenavi.php b/functions/wp-pagenavi.php index a75f6a0..5d5078c 100644 --- a/functions/wp-pagenavi.php +++ b/functions/wp-pagenavi.php @@ -78,7 +78,7 @@ function wp_pagenavi($before = '', $after = '') { if($max_page > 1 || intval($pagenavi_options['always_show']) == 1) { $pages_text = str_replace("%CURRENT_PAGE%", number_format_i18n($paged), $pagenavi_options['pages_text']); $pages_text = str_replace("%TOTAL_PAGES%", number_format_i18n($max_page), $pages_text); - echo $before.'
    '."\n"; + echo $before.'
      '."\n"; switch(intval($pagenavi_options['style'])) { case 1: if(!empty($pages_text)) { @@ -91,9 +91,9 @@ function wp_pagenavi($before = '', $after = '') { echo '
    • '.$pagenavi_options['dotleft_text'].'
    • '; } } - echo "
    • "; + echo '
    • '; previous_posts_link($pagenavi_options['prev_text']); - echo "
    • "; + echo ''; for($i = $start_page; $i <= $end_page; $i++) { if($i == $paged) { $current_page_text = str_replace("%PAGE_NUMBER%", number_format_i18n($i), $pagenavi_options['current_text']); @@ -103,12 +103,12 @@ function wp_pagenavi($before = '', $after = '') { echo '
    • '.$page_text.'
    • '; } } - echo "
    • "; - next_posts_link('
    • '.$pagenavi_options['next_text'].'
    • ', $max_page); - echo ""; + echo '
    • '; + next_posts_link($pagenavi_options['next_text'], $max_page); + echo '
    • '; if ($end_page < $max_page) { if(!empty($pagenavi_options['dotright_text'])) { - echo '
    • '.$pagenavi_options['dotright_text'].'
    • '; + echo '
    • '.$pagenavi_options['dotright_text'].'
    • '; } $last_page_text = str_replace("%TOTAL_PAGES%", number_format_i18n($max_page), $pagenavi_options['last_text']); echo '
    • '.$last_page_text.'
    • '; @@ -134,7 +134,7 @@ function wp_pagenavi($before = '', $after = '') { echo "\n"; break; } - echo '
    '.$after."\n"; + echo '
    '.$after."\n"; } } } diff --git a/images/calendar.png b/images/calendar.png index 841ee219d5fbf4610c2d893bd8534cbd523eb1b3..54268d21d0e73ea206530719cdc380256ccd54c8 100644 GIT binary patch delta 1022 zcmV*z+s(7D} z1-G}iX@zF934fQDm$10FSXwaxBX|zVVRZ(qt*xc)udc3k2=N)veOf9WXW-b#-Q685 zFE7LC=_y=YUBU41aA|maA4ZvH3)k1zS^FsD=;$bXe0=aKsQ4dDBwVHE=V#d6-A(WD z0}<91g67JT`Yr<=A0Of1;2=#83=E{;x*@Xz9A7p$Ie(d2jbVIz+^J9~wFz!&Y6{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# z)q3>jS5!8WfTvYGJ3E8Z)6*W)N~!T@75XqVH#Y}IM@O+}GK%?0bl>fE86ah1www6F zM&DJ!-{j*DS=2GvxeSeVI!Ya8l)zD@YyJ-vGD>v{6m(sy)fhC@>1$RD`1<<#7M6D~ rzXH!tBF5X8cb^fwyCGiqUw{DsaZ0TeLS2En00000NkvXXu0mjfQIpg> diff --git a/js/tabbed/tabbed_pages_ie.css b/js/tabbed/tabbed_pages_ie.css new file mode 100644 index 0000000..bf76e64 --- /dev/null +++ b/js/tabbed/tabbed_pages_ie.css @@ -0,0 +1,60 @@ +#cpadmin { + font: 11px verdana,arial,sans-serif; + padding: 5px 0 0 0; + line-height: 5px; + margin: 0 0 -1px 0; +} + +#cpadmin div.off { + color: #000; + height: 23px; + margin: -1px 2px -1px 0; + line-height: 23px; + padding: 0 10px; + float: left; + background: url(tabs_0.gif) repeat-x left bottom; + border-top: 1px solid #ddd; + border-left: solid 1px #ddd; + border-right: solid 1px #ddd; + position: relative; + cursor: pointer; + z-index: 20; +} +#cpadmin div.on { + color: #c00; + padding: 0 10px; + margin: 0 2px 0 0 0; + float: left; + background: url(tabs_2.gif) repeat-x left bottom; + border-top: 1px solid #000; + border-left: 1px solid #000; + border-right: 1px solid #000; + cursor: pointer; + height: 23px; + line-height: 22px; + position: relative; + z-index: 100; +} + +div.hide { + display: none; + width: 0; + overflow: hidden; +} +div.show { + clear: left; + display: run-in; + background: #fff; + border: 1px solid #000; + padding: 20px; + z-index: 50; + font: 11px verdana, arial, sans-serif; + line-height: 18px; +} +div.show img { + float: left; + margin: 0 10px 10px 0; +} +.clear { + clear: both; +} diff --git a/style.css b/style.css index 33338cb..3d8e67e 100644 --- a/style.css +++ b/style.css @@ -11,14 +11,18 @@ http://www.opensource.org/licenses/gpl-3.0.html . */ - /* STANDARD TAGS */ - body { margin: 0; - font-size: 14px; - font-family: 'Arial' , sans-serif; + font-family: “Lucida Sans Unicode”, “Lucida Grande”, sans-serif; + font-size: 13px; + font-style: normal; + font-weight: normal; + text-transform: none; + letter-spacing: normal; + color: #333; + background: #fff url('images/background.jpg') top repeat-x; z-index: 0; } @@ -48,19 +52,16 @@ img { padding: 0; } - small { font-size: 11px; } - hr { height: 1px; color: #000; border: 0px; } - blockquote { margin: 10px; padding: 5px 10px 5px 20px; @@ -69,20 +70,17 @@ blockquote { border-color: #000; } - blockquote cite { margin: 5px 0 0; display: block; } - cite { font-size: 13px; font-weight: bold; font-style: normal; } - code { padding: 10px; display: block; @@ -91,112 +89,107 @@ code { overflow: scroll; } - acronym, abbr, span.caps { cursor: help; } - acronym, abbr { border-bottom: 1px dashed #000; } - form { margin: 0; } + .button { + background: #aaa url('images/menu.png'); + height: 25px; + } .sfhover { padding: 0; margin: 0; } - /* HEADINGS */ - h1, h1 a { padding: 10px 0 0 0; margin: 0; - color: #000; - font-size: 60px; - font-family: 'Georgia' , serif; + color: #fff; + font-size: 56px; + font-family: 'georgia' , serif; font-weight: normal; - line-height: 50px; + line-height: 46px; text-decoration: none; - letter-spacing: -4px; + letter-spacing: -5px; font-variant: small-caps; } - h2, h2 a { margin: 0; - color: #000; - font-weight: bold; + color: #333; + font-weight: normal; letter-spacing: -1px; font-size: 24px; line-height: 24px; padding-bottom: 2px; + font-family: 'trebuchet ms'; } -h2.pagetitle, h2.pagetitle a { - padding: 0 0 5px 0; - margin: 0 0 20px 0; - font-family: 'Georgia' , serif; - font-size: 32px; - font-weight: normal; - letter-spacing: -2px; - clear: both; -} - + h2.pagetitle, h2.pagetitle a { + padding: 0 0 5px 0; + margin: 0 0 20px 0; + font-family: 'Georgia' , serif; + font-size: 32px; + font-weight: normal; + letter-spacing: -2px; + clear: both; + } h3, h3 a { padding: 0; margin: 0; font-size: 20px; - font-weight: bold; + font-weight: normal; text-align: left; - color: #000; + color: #333; text-decoration: none; clear: both; letter-spacing: -1px; + font-family: 'verdana'; } - - - /* THE PAGE WRAPPER */ /* Change this width to set the entire site's width - increase/reduce #content width by the same amount */ - #page { width: 780px; margin: 0px auto; } - #page-wide { width: 980px; margin: 0px auto; } - /* THE HEADER */ - #header { text-align: center; } + #header a { + color: #fff; + } -.description { - padding: 0 0 10px 0; - font-size: 14px; - font-style: italic; - letter-spacing: 2px; -} - + #header .description { + color: #ddd; + padding: 0 0 10px 0; + font-size: 14px; + font-style: italic; + letter-spacing: 2px; + } /* THE MENU */ @@ -227,9 +220,9 @@ h3, h3 a { background: url('images/menu-nav.png') no-repeat; } -.menunav-rss:hover { - background-position: 0 -25px; -} + .menunav-rss:hover { + background-position: 0 -25px; + } .menunav-prev, .menunav-next { display: block; @@ -240,29 +233,29 @@ h3, h3 a { 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, .menunav-next a { + width: 25px; + height: 25px; + display: block; + text-indent: -9999px; + overflow: hidden; + } -.menunav-prev a { - background: url('images/menu-nav.png') -25px 0 no-repeat; -} + .menunav-prev a { + background: url('images/menu-nav.png') -25px 0 no-repeat; + } -.menunav-prev a:hover { - background-position: -25px -25px; -} + .menunav-prev a:hover { + background-position: -25px -25px; + } .menunav-next a { background: url('images/menu-nav.png') -50px 0 no-repeat; } -.menunav-next a:hover { - background-position: -50px -25px; -} + .menunav-next a:hover { + background-position: -50px -25px; + } #menu { padding: 0; @@ -274,95 +267,92 @@ h3, h3 a { border-right: 1px solid #aaa; } -#menu a { - padding: 0px 10px 0 10px; - display: block; - color: #000; - text-decoration: none; -} + #menu a { + padding: 0px 10px 0 10px; + display: block; + color: #000; + text-decoration: none; + } -#menu li .rss { - padding: 5px 0 5px 0; -} + #menu li .rss { + padding: 5px 0 5px 0; + } -#menu li { - float: left; -} + #menu li { + float: left; + } -#menu li a { - border-left: 1px solid #aaa; - border-right: 1px solid #fff; -} + #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('images/menu.png') 0 -75px; -} + #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('images/menu.png') 0 -75px; + } -#menu li:hover, #menu li.sfhover { - /* Main menu highlighted background color */ -} + #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('images/menu.png') 0 -50px; -} - + #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('images/menu.png') 0 -50px; + } /* THE COMIC */ - #comic { background: #fff; padding: 10px 0; @@ -371,34 +361,28 @@ h3, h3 a { z-index: 100; } - -.comic-left { - float: left; -} + #comic .comic-left { + float: left; + } + + #comic .comic-right { + float: right; + } -.comic-right { - float: right; -} - - -.comic-content { - z-index: 100; -} - + #comic .comic-content { + z-index: 100; + } /* THE FOOTER */ - #footer { padding: 5px 0; text-align: center; } - /* NAVIGATION */ - .nav { float: right; font-size: 12px; @@ -427,7 +411,6 @@ h3, h3 a { float: left; } - .pagenav, .commentnav { height: 25px; color: #000; @@ -488,30 +471,26 @@ h3, h3 a { overflow: hidden; } + .narrowcolumn { + width: 560px; + margin: 0 auto; + float: left; + } -.narrowcolumn { - width: 560px; - margin: 0 auto; - float: left; -} - - -.widecolumn { - margin: 0 auto; -} + .widecolumn { + margin: 0 auto; + } .column { margin: 0 5px 0 5px; padding: 5px 0; } - .post, .post-comic, .post-page { clear: both; padding: 0 5px; } - .post-head, .post-page-head, .post-comic-head { } @@ -592,30 +571,25 @@ h3, h3 a { font-size: 11px; } - .comment-link { font-family: 'Georgia' , serif; font-size: 13px; text-align: right; } - .related_posts { margin-top: 10px; font-weight: 700; } - .related_posts ul { list-style: none; font-weight: normal; font-size: 12px; } - /* THE BLOG HEADER */ - #blogheader { font-family: 'Georgia' , serif; padding: 5px 0 5px 0; @@ -625,17 +599,12 @@ h3, h3 a { margin-top: 10px; } - - - /* COMMENTS */ - .comment-wrap { padding: 0 20px; } - .comment-wrap h3 { margin: 0; padding: 20px 0 0 0; @@ -645,42 +614,58 @@ h3, h3 a { font-family: 'Georgia' , serif; } +.commentlist { +} .comment { - padding: 10px; + padding: 2px; margin: 10px 0 0 0; clear: both; min-height: 64px; } -.comment .avatar { - border: solid 1px #000; - margin: 0 10px 0 0; - float: left; -} + .comment .comment { + margin-left: 10px; + padding-bottom: 10px; + background: #fff; + } -.comment .trackping { - float: left; -} + .comment .comment .comment { + margin-left: 30px; + padding: 5px; + margin-top: 2px; + border: 1px dotted #ccc; + background: #fff; + } + .comment .comment .comment .comment { + background: transparent; + border: none; + background: #fff; + } -.comment .comment { - margin-left: 30px; -} + .comment .avatar { + margin: 0 10px 5px 0; + float: left; + } -.comment .comment .comment { -} + .comment .trackping { + float: left; + } + .comment #respond { + padding: 5px; + } -.comment #respond { -} + .comment .comment .bypostauthor, .comment .comment .comment .bypostauthor { + background: #efefef; + } .comment-author { display: inline; } - .comment-meta { display: inline; padding: 0 0 0 5px; @@ -688,7 +673,6 @@ h3, h3 a { border-left: 1px solid #000; } - .says { display: none; } @@ -699,32 +683,22 @@ h3, h3 a { font-size: 11px; } - #comment { width: 99%; font-size: 12px; font-family: 'Arial' , sans-serif; } - #author, #email, #url { font-size: 12px; font-family: 'Arial' , sans-serif; } - -#submit { - margin: 0 0 20px 0; - float: right; -} - - .commentlist ul { list-style: none; margin-bottom: 30px; } - ol.commentlist { margin: 0; padding: 0; @@ -732,33 +706,24 @@ ol.commentlist { list-style: none; } - ol.commentlist p { margin: 10px 0 0 74px; } - ul.children { margin: 0; padding: 0; list-style: none; } - .reply { padding: 10px 0 0 0; text-align: right; } - - - - - /* ARCHIVE */ /* For the built-in WordPress archive pages (by month or category) as well as search result pages */ - .comicarchiveframe { padding: 5px; border: 1px solid #000; @@ -769,47 +734,41 @@ ul.children { .comicarchiveframe:hover { } - .comicarchiveframe h3 { margin: 0; } - .comicarchiveframe a small { display: block; color: #000; } - .archive-year { font-size: 48px; } - .archive-yearlist { padding: 0 0 10px 0; font-size: 14px; } - /* SIDEBAR */ - - - /* Left Sidebar Themes */ #sidebar-left { float: left; width: 210px; } - /* Right Sidebar Themes */ #sidebar-right { float: right; width: 210px; } +#sidebar-overcomic { + padding: 20px 0 0 0; +} .customsidebar ul, .customsidebar li { margin: 0; @@ -817,11 +776,16 @@ ul.children { list-style: none; } - .widget { margin: 0 auto; } +.widget_comicpress_comictitle { + font-size: 36px; + font-family: georgia; + letter-spacing: -2px; + text-align: center; +} /* Sidebar Class */ @@ -894,9 +858,16 @@ ul.children { /* CALENDAR */ +#wp-calendar-wrap { + background:#fff; + padding:10px; + border:1px solid #999; + margin:10px 0 0 0; +} #wp-calendar { border: solid 1px #000; + background: #efefef; width: 165px; margin: 0 auto; } @@ -1155,14 +1126,13 @@ ul.children { float: left; } - - - - - /* TRANSCRIPT */ +a.transcript-title { +} +.transcript-border {border-color:#555;} +#transcript {border-color:#333;} #transcript { padding: 0 10px; font-size: 11px; @@ -1170,7 +1140,6 @@ ul.children { border-right: 4px dotted #000; } - .transcript-border { padding: 0 5px; margin: 15px 0; @@ -1179,28 +1148,29 @@ ul.children { clear: both; } - a.transcript-title { padding: 0 0 5px 0; margin: 0 0 5px 0; display: block; font-family: 'Georgia' , serif; font-style: italic; - font-size: 16px; - letter-spacing: -1px; border-bottom: 1px dashed #000; + font-size: 12px; + font-style: normal; + font-weight: normal; + text-transform: uppercase; + letter-spacing: 1px; + line-height: 2em; + border-color: #777; } - #transcript-content { font-family: 'Courier New' , monospace; overflow: hidden; } - /* Pingbacks and Trackbacks */ - li.pingback div p, li.trackback div p { margin-left: 0; } @@ -1448,46 +1418,52 @@ li.storyline-root { border-right: 1px solid #aaa; } -#paginav .paginav-pages { - padding: 0 15px 0 15px; -} + #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 a { + padding: 0px 10px 0 10px; + display: block; + color: #000; + text-decoration: none; + } -#paginav li { - float: left; -} + #paginav ul { + margin: 0; + padding: 0; + list-style: none; + } -#paginav li a { - border-left: 1px solid #aaa; - border-right: 1px solid #fff; -} + #paginav li { + float: left; + } -#paginav .paginav-current { - padding: 0px 10px 0 10px; - color: #fff; - border-left: 1px solid #aaa; - background: url('images/menu.png') 0 -150px; -} + #paginav li a { + border-left: 1px solid #aaa; + border-right: 1px solid #ccc; + } + #paginav .paginav-next, #paginav .paginav-previous { + font-size: 20px; + } -#paginav li:hover a { - border-left: 1px solid #8b160f; - border-right: 1px solid #c28380; - color: #fff; - background: url('images/menu.png') 0 -75px; -} - + #paginav .paginav-current, #paginav .current { + padding: 0px 10px 0 10px; + color: #fff; + border-left: 1px solid #aaa; + background: url('images/menu.png') 0 -150px; + } + #paginav li:hover a { + border-left: 1px solid #8b160f; + border-right: 1px solid #c28380; + color: #fff; + background: url('images/menu.png') 0 -75px; + } /* Drop Bar */ - .dropbar { position: absolute; left: 0px; @@ -1511,17 +1487,14 @@ li.storyline-root { background-image: url('images/dropbar.png'); } - /* members only */ - .members-only { border: solid 1px #000; - background: #ccc; + background: #eee; padding: 3px; } - /* Tool Tips */ diff --git a/widgets/graphical-navigation.php b/widgets/graphical-navigation.php index 8091f79..908d718 100644 --- a/widgets/graphical-navigation.php +++ b/widgets/graphical-navigation.php @@ -25,13 +25,14 @@ class widget_comicpress_graphical_navigation extends WP_Widget { $wp_query->is_single = true; $prev_comic = get_previous_comic_permalink(); $next_comic = get_next_comic_permalink(); - $prev_story = get_previous_storyline_start_permalink(); - $next_story = get_next_storyline_start_permalink(); $wp_query->is_single = $temp_query; $temp_query = null; $first_comic = get_first_comic_permalink(); - $last_comic = get_last_comic_permalink(); + $last_comic = get_last_comic_permalink(); + + $prev_story = get_previous_storyline_start_permalink(); + $next_story = get_next_storyline_start_permalink(); ?>
    @@ -80,7 +81,7 @@ class widget_comicpress_graphical_navigation extends WP_Widget { + if (!empty($next_story) && !is_home()) { ?>