ADD IMAGE SIZE
I am using :
add_image_size( ‘category-post-thumbnail’, 100, 160 );
in functions and
<?php if ( is_archive() || is_search() ) : // Only display excerpts for archives and search. ?> <div class="entry-summary"> <?php the_post_thumbnail('category-post-thumbnail'); ?> <?php the_excerpt(); ?>
in a category-loop.php page to call the thumbnails set by the set featured image.
I want these thumbnails to also be included with the excerpt on archives and tag pages.
So do i just add to functions:
add_image_size( ‘archive-post-thumbnail’, 100, 160 );
add_image_size( ‘tag-post-thumbnail’, 100, 160 );
(I am not sure if that is the correct naming?)
Then of course make a archive-loop.php
and tag-loop.php to call them??
It took me a long time getting the category one to work..
Using a child of twentyten.
- The topic ‘ADD IMAGE SIZE’ is closed to new replies.