I've recently added CDN hosting to our website, but we can't get the tiles images to load from the CDN.
I've done a little research and seen that loading background images from a CDN can be problematic, and saw it was advised to host css and other relevant files from the CDN.
I'm using W3 Total Cache and have tried pointing it to various files in WP-Tiles like
As you see it should be hosting the root anyway, so i'm not sure what the problem is?
I was thinking maybe I could modify the plugin to include our CDN url infront of the image - would this be a good way to do it, you think?
Also if you checkout thenoisegate .com you'll see we managed to integrate pagination :)
Here's the code
<?php $offset = $_GET['offset']; $numposts = 12; $query = 'numberposts='. $numposts . '&offset=' . $offset; $acturl = 'http://' . $_SERVER['SERVER_NAME'] . $_SERVER['SCRIPT_NAME'] . "/test/?offset="; ?> <?php the_wp_tiles(array('posts_query'=>$query)); ?> <a href="<?php echo $acturl . ($offset + $numposts);?>" id="pagination">next page</a>
Any ideas on how to get AJAX going. Ideally we'd like to load another 6 tiles when the user reaches the bottom
Thanks Mike :)