How to change the size of my blog post images??
-
How do I customize the size of the blog images on my main blog page? I want the first three images to be large and the rest to be small. How is this done?
Here’s the code
<?php get_header(); ?> <div class="container"> <div class="main-content"> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <div <?php post_class() ?>> <h2> <a href="<?php the_permalink() ?>"> <?php the_title(); ?> </a> </h2> <?php the_content(''); ?> </div> <?php endwhile; ?> <?php endif; ?> </div> </div>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘How to change the size of my blog post images??’ is closed to new replies.