SEO Search

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Friday, 6 April 2012

Replace Older, Newer And Home Blogger links with an image or text

Posted on 13:58 by Unknown
Newer Post, Home and Older Post are links that appear on the bottom of the posts. When a visitor click on one of these links, they will take him to the page with the list of your previous posts.
The number of the posts on these pages will be the same as the number of the posts on your main page.


What we can do:

A. Change the text of Newer, Older, Home links
B. Place a picture beside them (a small icon, arrow, or whatever...)
C. Add an image instead of the links

So let's start customizing them...

1. Log in to your Blogger Dashboard, go to Template > Edit HTML

2. Click anywhere inside the code area and find - using CTRL + F keys - the following code:
    <b:if cond='data:newerPageUrl'>
      <span id='blog-pager-newer-link'>
      <a class='blog-pager-newer-link' expr:href='data:newerPageUrl' expr:id='data:widget.instanceId + &quot;_blog-pager-newer-link&quot;' expr:title='data:newerPageTitle'><data:newerPageTitle/></a>
      </span>
    </b:if>

    <b:if cond='data:olderPageUrl'>
      <span id='blog-pager-older-link'>
      <a class='blog-pager-older-link' expr:href='data:olderPageUrl' expr:id='data:widget.instanceId + &quot;_blog-pager-older-link&quot;' expr:title='data:olderPageTitle'><data:olderPageTitle/></a>
      </span>
    </b:if>

    <a class='home-link' expr:href='data:blog.homepageUrl'><data:homeMsg/></a>
Or find in this code the following fragments which corresponds to each page links
  • <data:newerPageTitle/> represents Newer Posts link
  • <data:olderPageTitle/> represents Older Posts link
  • <data:homeMsg/> represents Home link

Now change these fragments of codes as it follows:

A. Change the text of Newer Posts, Older Posts and Home Links


You need to REPLACE following parts in original code with ANY TEXT you like:
  • replace <data:newerPageTitle/> with, for example NEXT POST 
  • replace <data:olderPageTitle/> with, for example PREVIOUS POST
  • replace <data:homeMsg/> (only the first one) with, for example HOMEPAGE

    B. Place a picture beside Newer Posts, Older Posts and Home links


    Add the below code just at the beginning of each of the colored fragments of codes from step 2.
    <img src="URL Address"/>

    So it should look like this:
    <img src="URL Address"/><data:newerPageTitle/>
    Note: Replace URL Address text with the url address of the image you want to appear

    C. Replace Older Posts, Newer Posts and Home links with an image/picture


    You can place any kind of picture you want All you have to do is use this code for the pic:
    <img src="URL ADDRESS"/>
    ...just replace URL ADDRESS, with the URL of your hosted picture
    ...and in code, REPLACE the original link code for text with picture code
    • replace <data:newerPageTitle/> with the pic for newer (next) posts
    • replace <data:olderPageTitle/> with the pic for older (previous) posts
    • replace <data:homeMsg/> (only the first one) with the pic for homepage
    Screenshot
    blogger tricks, older posts, newer posts

    3. That's it! Preview and Save the Template.
    Email ThisBlogThis!Share to XShare to Facebook
    Posted in Blog Design, Hacks, Navigation | No comments
    Newer Post Older Post Home

    0 comments:

    Post a Comment

    Subscribe to: Post Comments (Atom)

    Popular Posts

    • CSS Basics. How to Apply Rounded Corners On Images #1
      This tutorial will explain how to change the outside border of any image using some simple CSS rules to make it round, but this is so easy t...
    • How to change Blogger "Post A Comment" Message
      In this tutorial i will show you how to replace the 'Post A Comment' text that appears above the comment form with an image. Also, I...
    • Google Translate Widget with Flags For Blogger
      The Google Translate Widget for Blogger allows the visitors to translate your site or blog in their own language. This widget also auto-dete...
    • How to Write SEO Optimized Blog Posts
      I'm not a SEO Expert, nor what we will read further is a top secret, but this is something about basic positioning that everyone should ...
    • Scriptaculous image slider/carousel for Blogger
      This is a very nice carousel slideshow made by Brian R. Miedlar which shows a gallery of images having a sliding effect that returns to the...
    • A Simple Related Posts Widget For Blogger
      In the last tutorial, i've been talking about the Related Posts widget  that shows related posts along with thumbnails just at the end ...
    • Blogger Auto Video Template by webbilgi
      Rate this template: Demo: Click here for Demo Source And Designer: Author page Click here to Download Features: Automatic thumbnail creati...
    • A Beautiful jQuery Drop-Down Menu For Blogger Blogspot
      Alright, this time, we are going to make a stylish and simple jQuery drop down menu. The main objective is to make it as simple as possible,...
    • Turn off the lights with jQuery
      For those who enjoy watching videos on the net, this is a very useful script made by Janko with jQuery. So what this script does? It will ...
    • How to add go to top and go to bottom buttons Using jQuery in Blogger
      The Up and Down buttons can be used to navigate to the top and bottom of the page content, especially when on the main page there are many ...

    Categories

    • adsense
    • adsense optimization
    • adsense tips
    • Auto Video Template
    • avatars
    • blockquotes
    • Blog Design
    • blogger
    • blogger posts
    • color code generator
    • Comments
    • comments tricks
    • css
    • emoticons
    • Emoticons/Smileys
    • Facebook
    • feedburner
    • forum
    • Hacks
    • how to
    • how to make a blog
    • Image Effects
    • internet
    • jQuery
    • labels
    • menus
    • Navigation
    • navigation menu
    • popular posts
    • posts
    • read more
    • recent comments
    • recent posts
    • related posts
    • RSS
    • SEO
    • sitemaps
    • slideshows
    • social media
    • social media plugins
    • static pages
    • Templates
    • threaded comments
    • titles
    • tools
    • translating
    • webbligi
    • Widgets

    Blog Archive

    • ►  2013 (57)
      • ►  November (4)
      • ►  October (16)
      • ►  September (13)
      • ►  June (3)
      • ►  May (4)
      • ►  April (5)
      • ►  March (12)
    • ▼  2012 (73)
      • ►  July (1)
      • ►  June (3)
      • ►  May (9)
      • ▼  April (23)
        • Google Translate Widget with Flags For Blogger
        • Simple Recent Posts Widget for Blogger/Blogspot
        • A Beautiful jQuery Drop-Down Menu For Blogger Blog...
        • How to Add Emoticons/Smileys in Blogger Comments
        • How To Add or Change Favicon on Blogger Blogspot
        • How to number comments in Blogger/BlogSpot
        • How to Add A Comment Count Bubble To Blogger Post ...
        • How to Add Different Backgrounds In Blogger Pages
        • How to Add Different Background Color or Image in ...
        • How to Create Static Pages in Blogger
        • Tips To Avoid Your Google Adsense Account From Get...
        • Ways To Increase Page Impressions and Traffic on Y...
        • How to Replace Older Posts and Newer Posts Links w...
        • How To Disable or Turn Off Lightbox View For Blogg...
        • Blogger Auto Video Template by webbilgi
        • Add a Popular Posts Gallery just above your Blogge...
        • Add Google Adsense to Blogger Header (Above the Ti...
        • How to add an image next to Blogger Post Title
        • How to remove Blogger Picture/Image Shadow and Border
        • Replace Older, Newer And Home Blogger links with a...
        • Add Static Facebook Pop Out Like Box with Smooth J...
        • Amazing Examples To Customize Blockquote Style In ...
        • A Simple Related Posts Widget For Blogger
      • ►  March (30)
      • ►  February (7)
    Powered by Blogger.

    About Me

    Unknown
    View my complete profile