Thứ Ba, 31 tháng 12, 2013

how to change Older, Newer And Home Blogger links with an image or text


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.












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:

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:

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

Add the below code just at the beginning of each of the colored fragments of codes from step 2.
<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



 
3. That's it! Preview and Save the Template.

Không có nhận xét nào:

Đăng nhận xét