iamnickarmstrong
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Why does uploading images store 3 images on server?I had this same problem – I had generated about 2-3 MB in extra image files.
I fixed it by going to Settings -> Media and setting all of the sizes to 0. I also unchecked the “Crop thumbnail to exact dimensions (normally thumbnails are proportional)” box and saved the settings.
I tested this by uploading a massive test image – it did not create a thumbnail or any additional files… so I’m satisfied that this works.
Forum: Themes and Templates
In reply to: The requested theme does not exist error in 2.5.1Your stylesheet.css probably had something like this at the top:
/*
Theme Name: Theme Name
Theme URI: https://www.whitehouse.org
Description: Theme Description
Version: 2.0.8
Author: Author Name
Author URI: https://www.whitehouse.org
*/If you remove or edit this information, WordPress can’t detect what theme it is and it generates this error.
The solution is to restore the original style.css (or wherever the lines that look like the ones above were), select a different theme from the appearance menu, activate it, then re-activate your original theme. It seemed to work for me.
Forum: Themes and Templates
In reply to: “The Requested Theme Does Not Exist”Your stylesheet.css probably had something like this at the top:
/* Theme Name: Theme Name Theme URI: https://www.whitehouse.org Description: Theme Description Version: 2.0.8 Author: Author Name Author URI: https://www.whitehouse.org */
If you remove this information, WordPress can’t detect what theme it is and it generates this error.
The solution is to restore the original style.css (or wherever the lines that look like the ones above were), select a different theme from the appearance menu, activate it, then re-activate your original theme. It seemed to work for me.
-Nick
PsychoticResumes.comForum: Themes and Templates
In reply to: “The Requested Theme Does Not Exist”sorry for the double-post
Forum: Alpha/Beta/RC
In reply to: Freshy 2 – Current Page Highlight Problem, WP 2.7 Beta 3Did you see my fix?
So the same thing happened to you, eh? Was it right after you’d upgraded or upon installation of Freshy 2?
Forum: Fixing WordPress
In reply to: Need Advice – 2.7 vs 2.6.5Ok, so I fixed the current page issue – somehow the update from 2.6.5 to 2.7 RC1 caused an is_home() condition to appear above the first line in my functions.php file.
I still don’t think Freshy 2 is going to take full advantage of 2.7, but I can do most of the fixes myself and make it work.
Just a bummer it took that long to find the answer to those problems!
-Nick
Forum: Alpha/Beta/RC
In reply to: Freshy 2 – Current Page Highlight Problem, WP 2.7 Beta 3I’ve fixed this issue. Somehow this (before 2.7)
$_current_page = get_page( $current_page ); if ( $page->ID == $current_page || $page->ID == $_current_page ) $css_class .= ' current_page_item '; elseif ( $_current_page && $page->ID == $_current_page->post_parent ) $css_class .= ' current_page_parent'; elseif ( $page->ID == freshy_get_page_root($_current_page->post_parent) ) $css_class .= ' current_page_parent'; elseif ( get_option('page_for_posts') == $page->ID && $_GET['page_id'] == $page->ID ) // a little hacky $css_class .= ' current_page_parent'; elseif ( get_option('page_for_posts') == $page->ID && $post->post_type == 'post' ) // a little hacky $css_class .= ' current_page_parent';
became this after I upgraded:
$_current_page = get_page( $current_page ); if ( $page->ID == $current_page || $page->ID == $_current_page ) if (is_home()) $css_class .= ' current_page_item '; elseif ( $_current_page && $page->ID == $_current_page->post_parent ) $css_class .= ' current_page_parent'; elseif ( $page->ID == freshy_get_page_root($_current_page->post_parent) ) $css_class .= ' current_page_parent'; elseif ( get_option('page_for_posts') == $page->ID && $_GET['page_id'] == $page->ID ) // a little hacky $css_class .= ' current_page_parent'; elseif ( get_option('page_for_posts') == $page->ID && $post->post_type == 'post' ) // a little hacky $css_class .= ' current_page_parent';
Anybody else had this problem?
Forum: Themes and Templates
In reply to: Finding Current Page – Freshy 2 and WP 2.7 Beta 3?I’ve fixed this issue. Somehow this (before 2.7)
$_current_page = get_page( $current_page ); if ( $page->ID == $current_page || $page->ID == $_current_page ) $css_class .= ' current_page_item '; elseif ( $_current_page && $page->ID == $_current_page->post_parent ) $css_class .= ' current_page_parent'; elseif ( $page->ID == freshy_get_page_root($_current_page->post_parent) ) $css_class .= ' current_page_parent'; elseif ( get_option('page_for_posts') == $page->ID && $_GET['page_id'] == $page->ID ) // a little hacky $css_class .= ' current_page_parent'; elseif ( get_option('page_for_posts') == $page->ID && $post->post_type == 'post' ) // a little hacky $css_class .= ' current_page_parent';
became this after I upgraded:
$_current_page = get_page( $current_page ); if ( $page->ID == $current_page || $page->ID == $_current_page ) if (is_home()) $css_class .= ' current_page_item '; elseif ( $_current_page && $page->ID == $_current_page->post_parent ) $css_class .= ' current_page_parent'; elseif ( $page->ID == freshy_get_page_root($_current_page->post_parent) ) $css_class .= ' current_page_parent'; elseif ( get_option('page_for_posts') == $page->ID && $_GET['page_id'] == $page->ID ) // a little hacky $css_class .= ' current_page_parent'; elseif ( get_option('page_for_posts') == $page->ID && $post->post_type == 'post' ) // a little hacky $css_class .= ' current_page_parent';
Anybody else had this problem?
Forum: Themes and Templates
In reply to: Finding Current Page – Freshy 2 and WP 2.7 Beta 3?Bump.
Forum: Alpha/Beta/RC
In reply to: Freshy 2 – Current Page Highlight Problem, WP 2.7 Beta 3Bump.
Forum: Fixing WordPress
In reply to: Need Advice – 2.7 vs 2.6.5Bump.