fix for links page showing the menubar, moved the pw ad space in blog and the blog sidebar to under comic blog post on the index page
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
parent
737466c654
commit
83abc7aeee
|
@ -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 = "58";
|
$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 = "55";
|
$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";
|
||||||
|
@ -30,4 +30,4 @@ $mini_comic_width = "80";
|
||||||
//Minithumb Comic Folder - The folder for your your mini thumbs (default "comics-mini")
|
//Minithumb Comic Folder - The folder for your your mini thumbs (default "comics-mini")
|
||||||
$mini_comic_folder = "comics-mini";
|
$mini_comic_folder = "comics-mini";
|
||||||
|
|
||||||
?>
|
?>
|
22
index.php
22
index.php
|
@ -48,17 +48,7 @@
|
||||||
<div class="column">
|
<div class="column">
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
<?php if (function_exists('the_project_wonderful_ad')) { ?>
|
<?php if (!$comicpress_options['disable_comic_frontpage'] && !$comicpress_options['disable_comic_blog_frontpage'] && !is_paged() ) { ?>
|
||||||
<div class="blogpwad">
|
|
||||||
<center>
|
|
||||||
<?php the_project_wonderful_ad('blog'); ?>
|
|
||||||
</center>
|
|
||||||
</div>
|
|
||||||
<?php }
|
|
||||||
|
|
||||||
get_sidebar('blog');
|
|
||||||
|
|
||||||
if (!$comicpress_options['disable_comic_frontpage'] && !$comicpress_options['disable_comic_blog_frontpage'] && !is_paged() ) { ?>
|
|
||||||
<?php while ($comicFrontpage->have_posts()) : $comicFrontpage->the_post();
|
<?php while ($comicFrontpage->have_posts()) : $comicFrontpage->the_post();
|
||||||
display_comic_post();
|
display_comic_post();
|
||||||
$comicFrontPage->is_single = true;
|
$comicFrontPage->is_single = true;
|
||||||
|
@ -66,6 +56,16 @@ if (!$comicpress_options['disable_comic_frontpage'] && !$comicpress_options['dis
|
||||||
endwhile; ?>
|
endwhile; ?>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
|
<?php if (function_exists('the_project_wonderful_ad')) { ?>
|
||||||
|
<div class="blogpwad">
|
||||||
|
<center>
|
||||||
|
<?php the_project_wonderful_ad('blog'); ?>
|
||||||
|
</center>
|
||||||
|
</div>
|
||||||
|
<?php } ?>
|
||||||
|
|
||||||
|
<?php get_sidebar('blog'); ?>
|
||||||
|
|
||||||
<?php if (!$comicpress_options['disable_blogheader']) { ?>
|
<?php if (!$comicpress_options['disable_blogheader']) { ?>
|
||||||
<div id="blogheader"><!-- This area can be used for a heading above your main page blog posts --></div>
|
<div id="blogheader"><!-- This area can be used for a heading above your main page blog posts --></div>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
|
@ -7,7 +7,9 @@ Template Name: Links
|
||||||
<?php include(get_template_directory() . '/layout-head.php'); ?>
|
<?php include(get_template_directory() . '/layout-head.php'); ?>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$bookmarks = wp_list_bookmarks('echo=0');
|
$linkcatid = get_term_by('name','menubar','link_category');
|
||||||
|
$linkcatid = $linkcatid->term_id;
|
||||||
|
$bookmarks = wp_list_bookmarks('echo=0&categorize=1&exclude_category='.$linkcatid);
|
||||||
$bookmarks = preg_replace('#<li ([^>]*)>#', '<li>', $bookmarks);
|
$bookmarks = preg_replace('#<li ([^>]*)>#', '<li>', $bookmarks);
|
||||||
$bookmarks = preg_replace('#<ul ([^>]*)>#', '<ul>', $bookmarks);
|
$bookmarks = preg_replace('#<ul ([^>]*)>#', '<ul>', $bookmarks);
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue