Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removing reset query and counting on protect_unprotect

  • Loading branch information...
commit 3538b0112aa4840c360188b951dbbafe1665dfe9 1 parent 2a1e24b
@Frumph authored
View
6 comicpress-config.php
@@ -1,10 +1,10 @@
<?php
//COMIC CATEGORY -the WordPress ID # of your comic category (default "3")
-$comiccat = "111";
+$comiccat = "4";
//BLOG CATEGORY - the WordPress ID of your blog category (default "4")
-$blogcat = "110";
+$blogcat = "3";
//COMIC FOLDER - the folder your comics files are located in (default "comics")
$comic_folder = "comics";
@@ -28,4 +28,4 @@
$mini_comic_width = "198";
//Minithumb Comic Folder - The folder for your your mini thumbs (default "comics-mini")
-$mini_comic_folder = "comics-mini";
+$mini_comic_folder = "comics-mini";
View
4 widgets/archivedropdown.php
@@ -115,7 +115,7 @@ function widget($args, $instance) {
}
wp_cache_set( 'comicpress', $comicpress_storyline_dropdown_archive, 'archivedropdown', 7200 );
}
- wp_reset_query();
+// wp_reset_query();
echo $comicpress_storyline_dropdown_archive;
}
break;
@@ -178,4 +178,4 @@ function form($instance) {
}
register_widget('comicpress_archive_dropdown_widget');
-?>
+?>
View
4 widgets/comicblogpost.php
@@ -42,7 +42,7 @@ function widget($args, $instance) {
}
endwhile;
}
- wp_reset_query();
+// wp_reset_query();
} else {
setup_postdata($post);
if (!(empty($post->post_content) && $instance['hidecontent']) && comicpress_in_comic_category()) {
@@ -91,4 +91,4 @@ function form($instance) {
}
register_widget('comicpress_comic_blog_post_widget');
-?>
+?>
Please sign in to comment.
Something went wrong with that request. Please try again.