If you have read most of my posts you would have seen or read my article on how to remove older posts and newer posts links. So today we will discuss how to replace an image instead of older posts and newer posts links. This hack is about replacing an image with the hyperlink instead of just the text link alone.
How to replace an image instead of Newer Posts, Older posts and Home
If you have noticed under my blog post i have added this hack and before you implement this hack make sure that you have created the necessary image for each links (Newer Post, Older Post and Home) and have uploaded in a web host. Now let us see how we can replace an image instead of Newer Posts, Older posts and Home link.<span id='blog-pager-newer-link'>
<a class='blog-pager-newer-link' expr:href='data:newerPageUrl' expr:id='data:widget.instanceId + "_blog-pager-newer-link"' 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 + "_blog-pager-older-link"' expr:title='data:olderPageTitle'><data:olderPageTitle/></a>
</span>
</b:if>
<b:if cond='data:blog.homepageUrl != data:blog.url'>
<a class='home-link' expr:href='data:blog.homepageUrl'><data:homeMsg/></a>
<b:else/>
<b:if cond='data:newerPageUrl'>
<a class='home-link' expr:href='data:blog.homepageUrl'><data:homeMsg/></a>
</b:if>
</b:if>
<data:newerPageTitle/> : <img alt='Newer Posts' src='http://NewerPostImageURL'/>
<data:olderPageTitle/> : <img alt='Older Posts' src='http://OlderPostImageURL'/>
<data:homeMsg/> : <img alt='Home' src='http://HomeImageURL'/>
Remember to change the NewerPostImageURL with the image source of Newer post image URL, OlderPostImageURL with the image source of Older post image URL and HomeImageURL with the Home image URL that you have uploaded.
Subscribe in a reader |
Bookmark this post:
|
Link to this post:
nice hack ;)