more stuff
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
parent
e67e0bb9e2
commit
dd0b65003b
|
@ -49,8 +49,8 @@
|
||||||
<?php if (is_category() && in_comic_category()) { ?>
|
<?php if (is_category() && in_comic_category()) { ?>
|
||||||
|
|
||||||
<div class="comicthumbwrap">
|
<div class="comicthumbwrap">
|
||||||
<div class="comicarchiveframe" style="width:120px;">
|
<div class="comicarchiveframe">
|
||||||
<a href="<?php the_permalink() ?>"><img src="<?php the_comic_archive() ?>" alt="<?php the_title() ?>" title="Click for full size." width="120" /></a><br />
|
<a href="<?php the_permalink() ?>"><img src="<?php the_comic_archive() ?>" alt="<?php the_title() ?>" title="<?php the_title() ?>" /></a><br />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
//COMIC CATEGORY -the WordPress ID # of your comic category (default "3")
|
//COMIC CATEGORY -the WordPress ID # of your comic category (default "3")
|
||||||
$comiccat = "4";
|
$comiccat = "3";
|
||||||
|
|
||||||
//BLOG CATEGORY - the WordPress ID of your blog category (default "1")
|
//BLOG CATEGORY - the WordPress ID of your blog category (default "1")
|
||||||
$blogcat = "3";
|
$blogcat = "4";
|
||||||
|
|
||||||
//COMIC FOLDER - the folder your comics files are located in (default "comics")
|
//COMIC FOLDER - the folder your comics files are located in (default "comics")
|
||||||
$comic_folder = "comics";
|
$comic_folder = "comics";
|
||||||
|
|
|
@ -27,6 +27,14 @@ function comicpress_body_class($classes = '') {
|
||||||
$classes[] = 'user-guest';
|
$classes[] = 'user-guest';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (is_single()) {
|
||||||
|
if (in_comic_category()) {
|
||||||
|
$classes[] = 'comiccat';
|
||||||
|
} else {
|
||||||
|
$classes[] = 'blogcat';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (function_exists('comicpress_is_member')) {
|
if (function_exists('comicpress_is_member')) {
|
||||||
if (comicpress_is_member()) {
|
if (comicpress_is_member()) {
|
||||||
$classes[] = 'sitemember';
|
$classes[] = 'sitemember';
|
||||||
|
@ -69,7 +77,7 @@ function comicpress_body_class($classes = '') {
|
||||||
if ((int)$rightnow > 1129) $classes[]='noon';
|
if ((int)$rightnow > 1129) $classes[]='noon';
|
||||||
} else {
|
} else {
|
||||||
if ((int)$rightnow < 30) $classes[] = 'noon';
|
if ((int)$rightnow < 30) $classes[] = 'noon';
|
||||||
if ((int)$rightnow < 560) $classes[] = 'day';
|
if ((int)$rightnow < 559) $classes[] = 'day';
|
||||||
if ((int)$rightnow > 559 && (int)$rightnow < 1130) $classes[] = 'evening';
|
if ((int)$rightnow > 559 && (int)$rightnow < 1130) $classes[] = 'evening';
|
||||||
if ((int)$rightnow > 1129) $classes[]='midnight';
|
if ((int)$rightnow > 1129) $classes[]='midnight';
|
||||||
}
|
}
|
||||||
|
|
|
@ -735,10 +735,11 @@ ul.children {
|
||||||
/* For the built-in WordPress archive pages (by month or category) as well as search result pages */
|
/* For the built-in WordPress archive pages (by month or category) as well as search result pages */
|
||||||
|
|
||||||
.comicthumbwrap {
|
.comicthumbwrap {
|
||||||
overflow: hidden;
|
|
||||||
float: left;
|
float: left;
|
||||||
height: 140px;
|
width: 120px;
|
||||||
margin: 2px 2px 16px 2px;
|
height: 130px;
|
||||||
|
overflow: hidden;
|
||||||
|
margin: 2px 2px 6px 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.comicarchiveframe {
|
.comicarchiveframe {
|
||||||
|
|
|
@ -4,7 +4,7 @@ Widget Name: Menubar
|
||||||
Widget URI: http://comicpress.org/
|
Widget URI: http://comicpress.org/
|
||||||
Description: Display a calendar of this months posts.
|
Description: Display a calendar of this months posts.
|
||||||
Author: Philip M. Hofer (Frumph)
|
Author: Philip M. Hofer (Frumph)
|
||||||
Version: 1.01
|
Version: 1.05
|
||||||
Author URI: http://webcomicplanet.com/
|
Author URI: http://webcomicplanet.com/
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
@ -50,8 +50,7 @@ global $contact_in_menubar,$enable_search_in_menubar,$enable_rss_in_menubar,$ena
|
||||||
$menulinks = preg_replace('#<li ([^>]*)>#', '<li class="page-item link">', $menulinks);
|
$menulinks = preg_replace('#<li ([^>]*)>#', '<li class="page-item link">', $menulinks);
|
||||||
$menulinks = preg_replace('#<ul ([^>]*)>#', '', $menulinks);
|
$menulinks = preg_replace('#<ul ([^>]*)>#', '', $menulinks);
|
||||||
$menulinks = str_replace('</ul>', '', $menulinks);
|
$menulinks = str_replace('</ul>', '', $menulinks);
|
||||||
$bookmarkargs =
|
$bookmarks = wp_list_bookmarks('echo=0&title_li=&categorize=1&title_before=&title_after=&exclude_category=menubar');
|
||||||
$bookmarks = wp_list_bookmarks('echo=0&title_li=&categorize=1&title_before=&title_after=&exclude_name=menubar');
|
|
||||||
$bookmarks = preg_replace('#<li ([^>]*)>#', '<li class="page-item link">', $bookmarks);
|
$bookmarks = preg_replace('#<li ([^>]*)>#', '<li class="page-item link">', $bookmarks);
|
||||||
$bookmarks = preg_replace('#<ul ([^>]*)>#', '<ul>', $bookmarks);
|
$bookmarks = preg_replace('#<ul ([^>]*)>#', '<ul>', $bookmarks);
|
||||||
$listpages = '';
|
$listpages = '';
|
||||||
|
|
Loading…
Reference in New Issue