nadjaeberhardt
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
Forum: Fixing WordPress
In reply to: Not able to login to wp-admin – error in headerIt was one of the plugins that was causing the problems. Switching them off allowed me to log in again and sort out all the rest of the problems.
Thanks for your help!
Forum: Fixing WordPress
In reply to: Not able to login to wp-admin – error in headerIt’s not my blog, I’m just trying to help them out. So any advice would be much appreciated.
Forum: Themes and Templates
In reply to: twenty eleven disable featured image in headerI’ve uploaded a custom header so I can’t remove it completely, I just don’t want the featured images to override the header… which is why I presume I need to alter the code. Or is there another way you know of?
Forum: Themes and Templates
In reply to: twenty eleven disable featured image in headerThanks dogoodzilla,
which lines do I have to remove from the header? I’m not a complete expert at php so sometimes I don’t quite get it right!<?php // Check if this is a post or page, if it has a thumbnail, and if it's a big one if ( is_singular() && current_theme_supports( 'post-thumbnails' ) && has_post_thumbnail( $post->ID ) && ( /* $src, $width, $height */ $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'post-thumbnail' ) ) && $image[1] >= HEADER_IMAGE_WIDTH ) : // Houston, we have a new header image! echo get_the_post_thumbnail( $post->ID ); elseif ( get_header_image() ) : ?>But I must’ve got that wrong as the header wouldn’t load anymore…
Thanks!
Viewing 4 replies - 1 through 4 (of 4 total)