Hi, I’m no longer using the image zoom/fancybox on the homepage and now just have the thumbnail’s clicking through to the full-size images which works great for my needs – I did this just with the css. The problem I’m having according to firefox dev tools is that the full-size images are still being loaded alongside thumbnails in the background which is slowing page load times without any benefit.
I did try digging around in the code deleting a few things but in truth I don’t really know what I’m doing!
It would be really helpful if you could tell me what to change so that the homepage loads only the thumbnails.
Thanks very much,
Found the answer to this myself 🙂
Deleted the following lines from content.php, doesn’t seem to have broken anything I’m using and the homepage loads way way faster now.
<?php if ( is_search() ) : ?>
<?php the_excerpt(); ?>
<?php else : ?>
<?php the_content(”); ?>
<?php wp_link_pages( array( ‘before’ => ‘<div class=”item-link-pages”><span> ‘ . __( ‘Pages:’, ‘dw-wallpress’ ) . ‘</span>’, ‘after’ => ‘</div>’ ) ); ?>
<?php endif; ?>
Please login or Register to submit your answer