Put the featured image outside the content
-
hi, i m just trying to make a child of twentytwelve.
in the post page i want the featured image to be outside the content box.
So i made this in my content.php<?php the_post_thumbnail(); ?> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <?php if ( is_sticky() && is_home() && ! is_paged() ) : ?> <div class="featured-post"> <?php _e( 'Featured post', 'twentytwelve' ); ?> </div> <?php endif; ?> <header class="entry-header">
i reached my goal. the problem is that also in the index page the featured image is outside the content box while i want this to happen only on my post page.
to resume the speech: i would like to have the featured image outside the box of content only on my post page. Which conditional form i ve to put, and where?
thank you gentlemen ??
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Put the featured image outside the content’ is closed to new replies.