FirstProgramming
Forum Replies Created
-
That is the code that I used to create it. I want it to exclude applying the featured images to ‘the_content()’, not the the_excerpt().
<?php if ( is_search() | is_home() ) : // Edit this to show excerpts in other areas of the theme?> <div class="entry-summary"> <!-- This adds the post thumbnail/featured image --> <div class="excerpt-thumb"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"> <?php the_post_thumbnail('excerpt-thumbnail', 'class=alignleft'); ?></a></div> <?php if($wp_query->current_post == 0 && !is_paged()) { the_content(); } else { the_excerpt(); } ?> </div><!-- .entry-summary --> <?php else : ?> <div class="entry-content"> <?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentyeleven' ) ); ?> <?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 'after' => '</div>' ) ); ?> </div><!-- .entry-content --> <?php endif; ?>Hi,
I ripped out the original twenty-eleven theme, and replaced it with my own custom header. It’s in the <head> tags in the source code. It works for chrome, but fails in IE.
What is the element that is doing that?
Forum: Themes and Templates
In reply to: Help With Centering My HeaderIs there anything I could do to squish the right side? I checked other browsers, and it does the same thing.
Thanks
Forum: Themes and Templates
In reply to: Help With Centering My HeaderHi,
The issue is on the right side here. I marked it in red. The right side is leaning over the actual ‘blog’. That is why the left side looks blank.
It could be one of the values that I input.
Thanks
Forum: Themes and Templates
In reply to: [Theme: TwentyEleven] Re-centering the headerNote to mods
**I understand that there is a previous post, but it wasn’t descriptive enough, so I marked it as solved. I double posed previously because I realized that I did not put the theme name on the first post, and the forum does not allow me to edit my posts. The second posts got responses, and then that one was deleted.Sorry for the inconvenience.
Forum: Themes and Templates
In reply to: Help With Centering My HeaderI will repost. I tried to repost previously as this post wasn’t descriptive, and the moderator didn’t understand.