brocoli
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Mystique Custom Header in pagesSolved the problem
in the core.php file located in the lib folder i replaced the following code in line 451if($options['logo']) // logo image? $output .= '<a href="'.$siteurl.'"><img src="'.$options['logo'].'" title="'.$sitename.'" '.$size.' alt="'.$sitename.'" /></a>'; else $output .= '<a href="'.$siteurl.'">'.$sitename.'</a>'; $output .= '</'.$tag.'>'; echo apply_filters('mystique_logo', $output); }by the following code depending on the page number overrides the custom logo image uploaded in the mystique settings by the one of your choice
if ( is_page(array (6,9,106,11,117,123,125,127,13,15,17)) || $post->post_parent == '6' ) { // the page is "6,9,106,11,etc...", or the parent of the page is "6" $output .= '<a href="'.$siteurl.'"><img src="link to the image" title="'.$sitename.'" '.$size.' alt="'.$sitename.'" /></a>'; } elseif ( is_page(array(22,24,26,28)) || $post->post_parent == '22' ) { $output .= '<a href="'.$siteurl.'"><img src="link" title="'.$sitename.'" '.$size.' alt="'.$sitename.'" /></a>'; } elseif ( is_page(array (32,34,36,38)) || $post->post_parent == '32' ) { $output .= '<a href="'.$siteurl.'"><img src="link" title="'.$sitename.'" '.$size.' alt="'.$sitename.'" /></a>'; } elseif ( is_page(array (44,46,48,50)) || $post->post_parent == '44' ) { $output .= '<a href="'.$siteurl.'"><img src="link" title="'.$sitename.'" '.$size.' alt="'.$sitename.'" /></a>'; } elseif ( is_page(array (54,56,58,60,62)) || $post->post_parent == '54' ) { $output .= '<a href="'.$siteurl.'"><img src="link" title="'.$sitename.'" '.$size.' alt="'.$sitename.'" /></a>';; } elseif ( is_page(array (66,68,70,72,74)) || $post->post_parent == '66' ) { $output .= '<a href="'.$siteurl.'"><img src="link" title="'.$sitename.'" '.$size.' alt="'.$sitename.'" /></a>'; } elseif ( is_page(array (79,81,83)) || $post->post_parent == '79' ) { $output .= '<a href="'.$siteurl.'"><img src="link" title="'.$sitename.'" '.$size.' alt="'.$sitename.'" /></a>'; } elseif ($options['logo']) // logo image? $output .= '<a href="'.$siteurl.'"><img src="'.$options['logo'].'" title="'.$sitename.'" '.$size.' alt="'.$sitename.'" /></a>'; else $output .= '<a href="'.$siteurl.'">'.$sitename.'</a>'; $output .= '</'.$tag.'>'; echo apply_filters('mystique_logo', $output); }the last part trows back the default image uploaded if none of the pages match.
Hope this helps someone
Forum: Fixing WordPress
In reply to: WordPress jumping back to default themeGreat idea!! will do. I use pandela i think it’s pretty good. Thanks to both.
Forum: Fixing WordPress
In reply to: WordPress jumping back to default themeUnfortunatly no one knows the password, i am activating the theme, Not using turbo setting, don’t have a caching plugin. I don’t think my host is restoring from old backups since i don’t lose infomartion
(new post, picturs, etc..)Forum: Installing WordPress
In reply to: Can’t loginrenaming the plugin folder worked for me
Forum: Fixing WordPress
In reply to: Works fine in IE not on Firefox flash sidebar helpfound the problem just a typo hehe silly well i still don’t know why it work fine in explorer typo included and all