Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #15151

    We have added images to some posts using the featured media feature. This works fine except when the blog has featured media image at top of a page. It then creates two images. This only occurs when the image happens to be at the top of a page.

    See: http://www.fiction-books.biz/page/3/

    #86439

    hey!

    open template-blog.php and replace:


    $slider = new avia_slideshow(get_the_ID());
    if($slider->slidecount) echo $slider->display();

    with


    if(is_page())
    {
    $slider = new avia_slideshow(get_the_ID());
    if($slider->slidecount) echo $slider->display();
    }

    That will fix the error. The next theme update will also include the fix so you can safely update if you want to, without losing the modification ;)

    Cheers

    #86440

    Good job, Done and dusted – Thanks

    #86441

    Hey,

    Good thing it is fixed. :)

    Regards,

    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Duplicate images on page breaks’ is closed to new replies.