Wednesday, April 11, 2012

How to Replace Older Posts and Newer Posts Links with Blogger Post Titles

If you have ever visited a WordPress blog, you might have noticed that the blog pager on these blogs displays the actual post titles, not just links to the older and newer posts that you find at the bottom of your Blogger blog. This links are parts of the so-called blog pager which helps readers navigate between pages and posts.

If you want to increase your page impressions, one of the ways is to replace the older/newer posts links with the Blogger post titles.

Adding Post Titles Instead of Older Post/Newer Post Links

Step 1. Log in to Blogger, go to Layout and click on "Add A Gadget" link

Step 2. From the pop-up window, choose "HTML/JavaScript"

Step 3. Paste the following code into the empty field of the HTML/JavaScript gadget:

<script type="text/javascript" src=""></script>
<script type="text/javascript">
var olderLink = $("").attr("href");
$("").load(olderLink+" h3:first", function() {
var olderLinkTitle = $("").text();
var newerLink = $("").attr("href");
$("").load(newerLink+" h3:first", function() {
var newerLinkTitle = $("").text();

Note: The line in red is for acquiring jQuery framework. If you have acquired jQuery in your template, then you can just delete this part.

Step 4. Now Save the Widget and drag it under the Blog Posts section.

Step 5. Click on the "Save arrangement" button.

Now view your blog and see the older/newer posts link replaced with your post titles.

No comments:

Post a Comment

Search This Blog

Recent Post

Recent Posts Widget

Blog Archive

Popular Posts