- Joined
- Apr 2, 2015
- Messages
- 502
- Likes
- 558
- Degree
- 2
Go edit single.php from this:
Code:<div class="main-wrap"> <div class="post-wrap" id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <h1><?php the_title(); ?></h1> <p>Posted in <?php the_category( ', ' ); ?> on <?php the_time( get_option( 'date_format' ) ); ?><br /> <?php the_tags(); ?></p> <?php if (get_option('buso_show_post_image') == 1) { ?> <?php if ( has_post_thumbnail() ) { the_post_thumbnail(); } ?> <?php } ?> <p><?php the_content(); ?></p> <?php endwhile; else : ?> <p><?php _e( 'Sorry, no posts matched your criteria.', 'buso-lightning' ); ?></p> <?php endif; ?> </div> <?php wp_link_pages(); ?> <?php comments_template(); ?> </div> <!-- main wrap -->
to this:
Code:<div class="main-wrap"> <div class="post-wrap" id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <?php if (get_option('buso_show_post_image') == 1) { ?> <?php if ( has_post_thumbnail() ) { the_post_thumbnail(); } ?> <?php } ?> <h1><?php the_title(); ?></h1> <p>Posted in <?php the_category( ', ' ); ?> on <?php the_time( get_option( 'date_format' ) ); ?><br /> <?php the_tags(); ?></p> <p><?php the_content(); ?></p> <?php endwhile; else : ?> <p><?php _e( 'Sorry, no posts matched your criteria.', 'buso-lightning' ); ?></p> <?php endif; ?> </div> <?php wp_link_pages(); ?> <?php comments_template(); ?> </div> <!-- main wrap -->
The images are set by default to fill the container... I believe. Because I had issues getting it to not do that. Do you mean like, completely full screen stretch without any container?
Edit: Oh, were you talking about category pages?
I mean something like this:
http://www.developgoodhabits.com/
On home page, where it lists all the articles, I want to get the same result as this page has.