In a previous post, I talked about how to implement Google Instant Pages on your Website, but that method does not work for WordPress websites.In this post, I will teach you how to use Google Instant Pages on a WordPress Blog or Website.
This is a simple WordPress Trick and requires only basic template knowledge.All you need to do is paste the following snippet of code just before </head> and you would have activated the Google Instant Pages on your WordPress Website.
This of course will quicken the load time of the "Next Page" option on each of your WordPress pages, that is, if your are in Page 2, then Page 3 will be loading in the background for an easy fetch.This is a simple WordPress Trick and requires only basic template knowledge.All you need to do is paste the following snippet of code just before </head> and you would have activated the Google Instant Pages on your WordPress Website.
<?php if (is_archive()) { ?>
<!-- Instant Pages for Google Chrome -->
<link rel="prerender" href="<?php echo get_next_posts_page_link(); ?>">
<?php } ?>
<!-- Instant Pages for Google Chrome -->
<link rel="prerender" href="<?php echo get_next_posts_page_link(); ?>">
<?php } ?>