WordPress.org

Forums

Image width and Height on Home Page in Excerpt (3 posts)

  1. Naveeddil
    Member
    Posted 2 years ago #

    Hey Folks,

    I've installed the myweblog theme on my newly blog at fun.imsciences.net.

    I'm getting a problem which i cant sort out.

    The Images are coming over each other on the Main Page and categories page.
    I want to get a propper thumbnails for the Excerpt on Main Page.

    In the main index template i have code

    <div class="post-content clearfix">
    
    												<?php if( ($image || get_option('woo_auto_img') == 'true')&& $full == true) : ?>NEW
    
                                                        <div class="wp-caption-thumb alignleft"><?php echo woo_get_image('image','300','130'); ?></div>
    
                                                    <?php elseif (($image || get_option('woo_auto_img') == 'true' ) && $full == false) :?>
    
                                                        <div class="wp-caption-thumb alignleft"><?php echo woo_get_image('image','120','100'); ?></div>
    
    												<?php endif; ?>
    
    												<?php the_excerpt(); ?>
    
                                                    <a class="read-more" href="<?php the_permalink() ?>">Read More...</a>
    
    											</div><!-- End post-content -->
  2. Naveeddil
    Member
    Posted 2 years ago #

    i sorted it out upto
    <?php the_excerpt(); ?>
    now from where this <?php the_excerpt(); ?> is getting the EXCERPT because i havn't given it in the posts
    Its the theme or WP that allowing it auto EXCERPT
    but how to edit the EXCERPT images (the post first image) so that real post wont get affected
    the question still remains?

    One thing more that the theme is using TimThumb script's thumb.php BUT is it working or not is another question coz i've turned it on in the settings

  3. Naveeddil
    Member
    Posted 2 years ago #

    now i have fixed the issue Manually by adding Excerpt but there are hundreds of post and not possible to do for all from scratch
    i wont touch this one category so please take a look at these
    http://www.imsciences.net/fun/?cat=9

    * thumb.php is working when i add it manually but how it will auto work on Main Page, Categories, Archieves Page is still a question?

Topic Closed

This topic has been closed to new replies.

About this Topic