Duplicate Image on Home Page Post

Discussion in 'ColorWay WordPress Theme' started by bizzyboy, Jun 13, 2013.

Thread Status:
Not open for further replies.
  1. bizzyboy

    bizzyboy Member

    Joined:
    Apr 2, 2013
    Messages:
    87
    Likes Received:
    1
    I have inserted an image, into a Post, through the Media insert option but the image is duplicated within the post. But when I view the individual post it is not duplicated.

    You can see the image duplication at:
    loftconversionadvisor.co.uk

    And the individual post URL where it is NOT duplicated:
    loftconversionadvisor.co.uk/loft-conversion-cost-when-done-professionally

    Please help to clear this problem. Thanks.
     
  2. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
    Hello,
    Go to the loop.php file present in your theme directory and remove the code given below from that file.
    Code:
    <?php if ((function_exists('has_post_thumbnail')) && (has_post_thumbnail())) { ?>
    <?php inkthemes_get_thumbnail(224, 145); ?>
    <?php } else { ?>
    <?php inkthemes_get_image(250, 170); ?>
    <?php
    }
    ?>
    Follow the link given below for reference.
    http://screencast.com/t/crJMyrzGzl

    This will solve your issue.
     
  3. bizzyboy

    bizzyboy Member

    Joined:
    Apr 2, 2013
    Messages:
    87
    Likes Received:
    1
    Thanks for your help, that worked perfectly.
     
Thread Status:
Not open for further replies.

Share This Page