Permalink
Browse files

ComicPress 2.9.2.25 Almost done push.

Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
  • Loading branch information...
1 parent dd960a0 commit 74030f87c4ff1a4613b571f8de8e98a1ceac4b91 Philip M. Hofer (Frumph) committed Nov 26, 2010
View
@@ -5,7 +5,7 @@
<div class="post-content">
<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><?php the_widget('WP_Widget_Search'); ?></p>
+ <p><?php get_search_form(); ?></p>
</div>
<div class="post-foot"></div>
</div>
@@ -40,6 +40,10 @@
<div class="post-foot"></div>
</div>
+<?php
+endwhile;
+?>
+
<div <?php post_class(); ?>>
<div class="post-head"></div>
<div class="post-content">
@@ -67,5 +71,4 @@
</div>
<div class="post-foot"></div>
</div>
-<?php endwhile; ?>
<?php get_footer() ?>
View
@@ -4,15 +4,22 @@ adding comic-id-# ($post->id) as a wrap with #comic-wrap so that it can be targe
added check to see if on the comic_next for hovering over to see if its empty or not, if it is do a # instead of empty ""
Removed comicpress-debug.php, so no debug messages anymore
Removed copyright.php, it hasnt been in use in a long time
+changed the <div for the post title in the comic blog post widget to an h2 so that ttf replacer plugins can handle it
+fixed the /?randomcomic /?randompost to have &nocache=1 on the line so that wp-supercache doesn't cache it
+implemented easel's menubar code which uses less CSS then the new comicpress's /cleaned up code/ no images for down arrow -> right arrow no, is text characters
+fixed classic menubar's error with the comicpress_get_all_comic_categories_as_cat_string() when its supposed to be: comicpress_all_comic_categories_string()
+You can now assign comics to individual posts, which means.. yes.. multiple comics per day with multiple posts. A little bit extra work than just uploading but works great.
+Still need to make comicpress managers bulk editor recognize which comic is assigned to it and think about making an assign comic box for the post editor.
+Added new widget "Donation" widget which lets you set a 'target' donation amount and then set how much in donations you currently have and it displays a nice little donation image percentile of how far its got to go to get the target mark
+Fixed Notice that appears on 404 and search pages when no results found.
+
2.9.2.23
-Adjusted "The Footer" back to just "Footer" the browsers that can't handle it will just have to be SOL
+Fixed footer - the-footer problem with widgets in the footer area
made the is_cp_theme_layout into a function_exists so that it can be rehandled in the child-functions.php
2.9.2.22
Added ?latestcomic=# where # = category #
So you can do ?latestcomic and it will redirect to the latest comic of all categories
or latestcomic = 3 will redirect to the latestcomic of category ID #3
-
custom image header now defaults to click to home
-
View
@@ -1,7 +1,7 @@
<?php get_template_part('layout', 'foot'); ?>
<div id="footer">
<?php
-if (is_active_sidebar('footer')) get_sidebar('footer');
+if (is_active_sidebar('the-footer')) get_sidebar('footer');
if (!comicpress_themeinfo('disable_footer_text')) {
echo comicpress_footer_text();
View
@@ -113,7 +113,7 @@
__('Over Blog', 'comicpress'),
__('Blog', 'comicpress'),
__('Under Blog', 'comicpress'),
- __('Footer', 'comicpress')
+ __('The Footer', 'comicpress')
) as $sidebartitle) {
register_sidebar(array(
'name'=> $sidebartitle,
@@ -127,13 +127,10 @@
}
}
-// This theme uses wp_nav_menu() in 2 locations. (if wp3.0)
-if (function_exists('register_nav_menus')) {
- register_nav_menus( array(
- 'menubar' => __( 'Menubar', 'comicpress' )
-// 'footer' => __( 'Footer', 'comicpress' )
- ) );
-}
+
+register_nav_menus(array(
+ 'menubar' => __( 'Menubar', 'comicpress' )
+));
@@ -253,7 +250,7 @@ function comicpress_footer_text() {
$output .= __('Powered by','comicpress') . " <a href=\"http://wordpress.org/\">WordPress</a> " . __('with','comicpress'). " <a href=\"http://comicpress.org/\">ComicPress</a>\r\n";
$output .= "<span class=\"footer-subscribe\">";
$output .= "<span class=\"footer-pipe\">|</span>";
- $output .= "Subscribe: <a href=\"" . get_bloginfo('rss_url') ."\">RSS</a>\r\n";
+ $output .= "Subscribe: <a href=\"" . get_bloginfo('rss2_url') ."\">RSS</a>\r\n";
$output .= "</span>\r\n";
if (comicpress_themeinfo('enable_scroll_to_top')) {
$output .= "<span class=\"footer-uptotop\">";
@@ -475,7 +472,8 @@ function comicpress_load_options() {
'enable_comment_javascript' => true,
'disable_showing_members_category' => true,
'enable_multicomic_jquery' => false,
- 'enable_equal_height_sidebars' => false
+ 'enable_equal_height_sidebars' => false,
+ 'prefab_design' => 'none'
) as $field => $value) {
$comicpress_options[$field] = $value;
@@ -518,7 +516,7 @@ function comicpress_themeinfo($whichinfo = null) {
if ($comicpress_themeinfo['enable-storyline-support']) {
// This is now sep. to make sure that it only loads when it needs to
$comicpress_storyline = array(
- 'category_tree' => comicpress_create_comic_category_tree(),
+ 'category_tree' => comicpress_create_category_tree(),
'storyline-category-order' => get_option('comicpress-storyline-category-order')
);
$comicpress_themeinfo = array_merge($comicpress_themeinfo, $comicpress_storyline);
@@ -215,8 +215,6 @@ function comicpress_display_comic() {
return $output;
}
-
-
if (!function_exists('comicpress_comic_clicks_next')) {
function comicpress_comic_clicks_next($output) {
global $post, $wp_query;
@@ -20,6 +20,7 @@ function comicpress_random_comic() {
if ($randomComicQuery->have_posts()) {
$randomComicQuery->the_post();
$random_comic_id = get_the_ID();
+ define('DONOTCACHEPAGE', true);
wp_redirect( get_permalink( $random_comic_id ) );
}
exit;
@@ -34,6 +35,7 @@ function comicpress_random_post() {
while ($randomComicQuery->have_posts()) : $randomComicQuery->the_post();
$random_comic_id = get_the_ID();
endwhile;
+ define('DONOTCACHEPAGE', true);
wp_redirect( get_permalink( $random_comic_id ) );
exit;
}
View
@@ -28,8 +28,7 @@
</head>
<body <?php body_class(); ?>>
-<?php
-do_action('comicpress-body');
+<?php
if (is_active_sidebar('above-header')) get_sidebar('above');
?>
<div id="page-head"></div>
View
@@ -16,7 +16,7 @@
var ddsmoothmenu = {
//Specify full URL to down and right arrow images (23 is padding-right added to top level LIs with drop downs):
- arrowimages: { down: ['downarrowclass', '/wp-content/themes/comicpress/images/down.gif', 23], right: ['rightarrowclass', '/wp-content/themes/comicpress/images/right.gif'] },
+ arrowimages: { down: ['downarrowclass', '/wp-content/themes/easel/images/down.gif', 23], right: ['rightarrowclass', '/wp-content/themes/easel/images/right.gif'] },
transition: { overtime: 200, outtime: 200 }, //duration of slide in/ out animation, in milliseconds
shadow: { enable: false, offsetx: 2, offsety: 2 }, //enable shadow?
showhidedelay: { showdelay: 100, hidedelay: 200 }, //set delay in milliseconds before sub menus appear and disappear, respectively
@@ -64,9 +64,8 @@ var ddsmoothmenu = {
this.istopheader = $curobj.parents("ul").length == 1 ? true : false //is top level header?
$subul.css({ top: this.istopheader && setting.orientation != 'v' ? this._dimensions.h + "px" : 0 })
$curobj.children("a:eq(0)").css(this.istopheader ? { paddingRight: smoothmenu.arrowimages.down[2]} : {}).append( //add arrow images
- '<img src="' + (this.istopheader && setting.orientation != 'v' ? smoothmenu.arrowimages.down[1] : smoothmenu.arrowimages.right[1])
- + '" class="' + (this.istopheader && setting.orientation != 'v' ? smoothmenu.arrowimages.down[0] : smoothmenu.arrowimages.right[0])
- + '" style="border:0;" />'
+ '<span class="arrowclass">' + (this.istopheader && setting.orientation != 'v' ? '&darr;' : '&rarr;')
+ + '</span>'
)
if (smoothmenu.shadow.enable) {
this._shadowoffset = { x: (this.istopheader ? $subul.offset().left + smoothmenu.shadow.offsetx : this._dimensions.w), y: (this.istopheader ? $subul.offset().top + smoothmenu.shadow.offsety : $curobj.position().top)} //store this shadow's offsets
View
@@ -1,7 +1,7 @@
ddsmoothmenu.init({
mainmenuid: "menubar-wrapper", //menu DIV id
orientation: 'h', //Horizontal or vertical menu: Set to "h" or "v"
- classname: 'menubar', //class added to menu's outer DIV
+ classname: 'menu', //class added to menu's outer DIV
customtheme: ["Transparent", "Transparent"],
contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
});
@@ -64,7 +64,36 @@ function showimage(sel,pic) {
</td>
</tr>
</table>
-
+ <table class="widefat" cellspacing="0">
+ <thead>
+ <tr>
+ <th colspan="4"><?php _e('Child Themes','comicpress'); ?></th>
+ </tr>
+ </thead>
+ <tr>
+ <td colspan="5">
+ These child themes can be downloaded from either <a href="http://comicpress.org/download/" target="_blank">ComicPress.org</a> or <a href="http://frumph.net/downloads/comicpress-child-themes/" target="_blank">Frumph.NET</a>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ List Child Themes Available Here
+ </td>
+ </tr>
+ </table>
+
+ <table class="widefat" cellspacing="0">
+ <thead>
+ <tr>
+ <th colspan="4"><?php _e('Color Scheme','comicpress'); ?></th>
+ </tr>
+ </thead>
+ <tr>
+ <td colspan="5">
+ Coming Soon.
+ </td>
+ </tr>
+ </table>
<div class="clear"></div>
</div>
View
@@ -34,7 +34,7 @@
<div class="post-content">
<h3><?php _e('No entries found.','comicpress'); ?></h3>
<p><?php _e('Try another search?','comicpress'); ?></p>
- <p><?php the_widget('WP_Widget_Search'); ?></p>
+ <p><?php get_search_form(); ?></p>
</div>
<div class="post-foot"></div>
</div>
View
@@ -1,3 +1,3 @@
<div id="sidebar-footer" class="customsidebar <?php if (comicpress_themeinfo('enable_widgetarea_use_sidebar_css')) { ?> sidebar<?php } ?>">
- <?php dynamic_sidebar('footer'); ?>
+ <?php dynamic_sidebar('the-footer'); ?>
</div>
Oops, something went wrong.

0 comments on commit 74030f8

Please sign in to comment.