Show Only Titles In Blog Archives With Dates

You would have noticed that, visitors, do click on the monthly archive links [like Oct 2008, Dec 2008, etc. in the Blog Archive], in your blog. But if you write a lot, like 20-30 posts in a month, then all the posts will open in the archive page and it will take a lot of time to load that page. This can be very annoying for the visitor, and he/she may simply close your blog in the frustration.
So if you want to keep your visitors happy, then you should better NOT display the content BUT only their titles in the archive results page.

For doing so, follow these steps:

Log in to Blogger
Go to Layout, and click on "Edit HTML" tab.
and mark the tick-box "Expand Widget Templates"
Now find (CTRL+F) this code in the template:
<b:include data='post' name='post'/>

And REPLACE that line with this code:
<!--ARCHIVE-TITLES-STARTS-->
<b:if cond='data:blog.homepageUrl !=
data:blog.url'>
<b:if cond='data:blog.pageType != "item"'>
<b:if cond='data:blog.pageType != "static_page"'>
<li><a expr:href='data:post.url'>
<data:post.title/></a></li><br/><br/>
<b:else/>
<b:include data='post' name='post'/>
</b:if>
<b:else/>
<b:include data='post' name='post'/>
</b:if>
<b:else/>
<b:include data='post' name='post'/>
</b:if>
<!--ARCHIVE-TITLES-STOPS-->
I have already done this hack, in this blog, here have a look at the screen shot :

NOTE: Here's a new hack to show TITLES along with SUMMARY and IMAGE THUMBNAILS in Archive Pages.

ProBlogger - Inspiring Others Realize Their Dreams!

Share this

Related Products

Related Posts

Previous
Next Post »

67 comments

Write comments
January 08, 2009 3:06 PM delete

Hey great website... and great content. WIth this post you have hit on something very important that I was going to mention in a coming post. By having this excerpt content duplicated is bad for Search engine optimization for google.

Google specifically states that duplicated content over multiple pages will not be added into the google directory.

This is also the case for using excerpts, as this reduces the chance of this happening over the entire blog where content could easily be duplicated without the user knowing.

Reply
avatar
January 09, 2009 12:43 AM delete

I recently came accross your blog and have been reading along. I thought I would leave my first comment. I dont know what to say except that I have enjoyed reading. Nice blog. I will keep visiting this blog very often.



Sarah

http://www.thetreadmillguide.com

Reply
avatar
January 09, 2009 7:34 AM delete

Hi Matthew
Yes you have added a really important point to this post, thanks for this.
Although Blogger blocks labels/categories thru the robots.txt file, but archives aren't blocked, so of course now content duplication can be avoided too by this method...

Reply
avatar
January 09, 2009 7:38 AM delete

Hi sarah

Thanks for your visit, and appreciation, u are always welcome here !

Reply
avatar
January 13, 2009 3:36 AM delete

hey thank u hav a look here
http://keralastatertc.blogspot.com/2008_12_01_archive.html

Reply
avatar
February 25, 2009 10:32 PM delete

I will learn a lot as your above post (show only titles..) and try to make my own blog more interesting.do not you mind coming to my blog here http://ptcinfoklik.blogspot.com

Reply
avatar
February 26, 2009 8:41 AM delete

@ Sujith
Good work !

@ning
Do not try to spam !

Reply
avatar
March 17, 2009 12:43 AM delete

All Hacks are very gooooooooooooooood and written in a professional way .A am trying to read each & every post of this blog whenever I had a Time.Hack are easy to understands and well explained.

Reply
avatar
March 17, 2009 3:44 AM delete

I am reallllllly glad you were here Rajan, thanks for appreciating the work !

Regards
Sai

Reply
avatar
May 02, 2009 6:35 PM delete

very nice tweak

what if i want to show title only in archives and searches but not in labels

since i have already tweak my labels to show maximum results only

thanks

Reply
avatar
May 03, 2009 2:40 AM delete

I would advice you to let this be applied to labels too, as even labels pages become too long, when visitors click on any label. By this method as only titles are shown in the result page, so people can then easily select the post they want.

Reply
avatar
May 08, 2009 9:21 PM delete

Divya,
I don't know what some of us would have done if people like you wouldn't share their knowledge.
Whoever said, 'information is power' was very right, it is power indeed when shared correctly.
Thanks D, for helping me make my blog easy to navigate through!

Reply
avatar
May 09, 2009 2:59 AM delete

Is there any possible way to display the post titles with first few lines of the post?

Reply
avatar
May 13, 2009 10:21 AM delete

u're genius buddy! i'am a newbie n this twaek its really funtastic for me

Reply
avatar
July 02, 2009 10:32 AM delete

hey plz help me out... I am unable to find the first line of code.

I use a modified template... My blog

Reply
avatar
July 07, 2009 12:04 AM delete

Fantastic. I had done this but I had to do it manually after every post. I would submit the date and title to another one of my sites that I set up just for that purpose. No More. Your tip has saved me so much work and it looks better than what I was doing and it doesn't take my readers away from my blog.

Excellent...Outstanding...Thank you
Attrus

Reply
avatar
July 07, 2009 1:32 PM delete

I am really glad you were here Attrus, thanks for commenting :)

Regards
Sai

Reply
avatar
August 08, 2009 8:11 AM delete

Thank you very much for writing, I wish success

Reply
avatar
September 28, 2009 10:33 AM delete

Hi:
I used your hack, thanks a lot. Only thing is, now when I am on a post and I click the "next" or "previous" post links at the bottom, the resulting page also contains just the label, and not the entire post. Help! Did I mess something up?
Check it out at http://likeitspicy.blogspot.com.
Thanks in advance.

Reply
avatar
September 28, 2009 12:00 PM delete

@LikeItSpicy
JUst checked your blog, and the links are working fine. Also the hack is working good. Can you please rephrase your query...

Reply
avatar
September 28, 2009 3:35 PM delete

Hi:
From the home page, click "Next" at the bottom. Instead of displaying the entire next post, it displays only the post title. This happened after I inserted the hack. I am seeing this using Google Chrome and IE.

If I click on one of the labels, the resulting page displays only the titles - so the hack is working as it should. I just don't want the Next & Previous links also leading to only the post titles..

Were you able to see this now?

Reply
avatar
September 29, 2009 11:50 AM delete

Hi:
Just wanted to add to my question above. When you click "Next" from the home page, make sure you do not expand the post using "Read on..." link. You'll see that clicking Next displays only the post title of the next post.

If you do expand the post on the home page and then click Next, then the next post displays correctly. This is so bizzare, I am completely stumped. And this problem disappears if I remove the hack. Help!

Reply
avatar
September 29, 2009 1:39 PM delete

@LikeItSpicy
Okay I got your point, but actually this is a SEO trick, and one of the main purpose of doing is to avoid content duplication. Anyways presently Google has already adjusted it's algorithm and I think this hack is no longer needed for SEO.

What you want is not possible with this method, but you may try an other method to automatically truncate all your posts on homepage, labels-pages and also when you click "new" or "old" posts:
http://bloggerstop.net/2009/05/automatic-read-more-hack-for-blogger.html

Reply
avatar
September 29, 2009 2:37 PM delete

Not sure I understood your response. I DO NOT want to truncate posts on my home page or when I click Previous and Next. What is not possible with this method?
Thanks for your patience!

Reply
avatar
September 29, 2009 3:56 PM delete

...
you want this in your blog:
- only titles to appear when you click on labels.
- complete post to appear when you click on "new posts" link.
right?

but when you use this code, it will display the posts as titles in all pages except "hompage" and the actual "posts/articles pages".

so if you use the "automatic-read-more-hack" then whenever you click on labels, then the posts will be displayed in truncated form. and so, readers will select the posts themselves.
and also when you click on the "newer posts" link again posts will appear with a summary.

PS: Actually you'll like this hack more, if you display more than 1 post in your homepage (4/5 truncated posts).
Along with homepage, whenever you click on "newer posts" link again 4/5 posts will be displayed (again truncated posts)

Reply
avatar
September 30, 2009 10:04 AM delete

Understood, and thanks for explaining it to me. I'll try this out. I appreciate all your help, you have a great blog here!

Reply
avatar
Anonymous
October 13, 2009 11:29 AM delete

Hi - I loved this hack. Very useful. Quick question - on the results page, is there a way to make the Label the page title?

Reply
avatar
November 20, 2009 2:07 PM delete

Ilike this trick and add to my blog Long time i search in goole, yahoo and many search engine to this hack
This is most usfull Hack Bro

Thx Bro
Visit My Blog: http://www.bsongz.blogspot.com/

Reply
avatar
November 30, 2009 3:40 AM delete

Opps. Wrong comment! Sorry. Please delete my above comment.
That comment should be in others blog posts.

BTW great tip.

Reply
avatar
Anonymous
December 22, 2009 10:50 PM delete

This is really great! Thank you for this.

Do you have any idea how to do something similar for labels? It would be great to click on a label like "Charlie Chaplin", and get an alphabetized list of movies labelled "Charlie Chaplin".

Reply
avatar
December 23, 2009 2:43 AM delete

This hack also applies to labels, although not in alphabetical order, but according to the publishing dates.

Reply
avatar
February 20, 2010 3:02 AM delete

Hi this is not working on my Blog. Can you give the possible reason. My blog in http://complete-solution.blogspot.com
Please provide a sample text file with this code.
I will be thankfull to yoiu.
Sunil Saharan (admin{at}sunilsaharan.co{dot}cc)
Thanks again.

Reply
avatar
February 20, 2010 9:16 AM delete

Hi Sunil,

Just checked out an archive page on your blog...and found the script at its work.
This is the page I checked: http://complete-solution.blogspot.com/2010_02_01_archive.html

I checked a label page too and the posts were being displayed as titles in that page too (as expected).

Reply
avatar
February 23, 2010 5:52 AM delete

doesn't wornking on my blog.. ~x(

there is no search term that you mentioned to do.. instead of this one..

Reply
avatar
February 23, 2010 9:31 AM delete

Hello Friends,
Thanks for the hack. It is working on archieve page but at homepage it is showing all posts. I want to show post title at home page not complete post. So please help me.
Regards,
Sunil Saharan

Reply
avatar
February 23, 2010 9:47 AM delete

Use this method to truncate posts on homepage, it is up to you, if you want to show a small summary or want to hide complete posts:
http://bloggerstop.net/2009/09/read-more-is-official-now-and-static.html

Reply
avatar
March 06, 2010 7:25 PM delete

i implemented this code but am having problems with it. please if you have time, see how my archive looks. it is not very user friendly.

i recently switched templates to a more custom one from btemplates (suited for blogger).

i think i made a mistake, however, by saying "yes, keep widgets" when uploading the new template. could this be the problem for my archive (and a few other issues)?

please help. any advice would be most appreciated.

your fan,

-elizabeth (www.myrealitybit.com)

Reply
avatar
March 08, 2010 10:44 AM delete

Hi Elizabeth,

I don't think the code has been successfully been added to your template, and anyways I have just now updated this post, plz try it again and tell me if it works this time.

Reply
avatar
March 08, 2010 11:44 AM delete

thank you for your responses, sai.
i copied the code above in place of the original one line of code. my archives looked the same. i went into layout and under the archive widget, i changed it to "hierarchy." When I did this, the archives completely disappeared.

i am worried that these problems i am experiencing are due to when i switched templates and did the "keep widgets" option. is there any fixing this mess i have created?

anxiously awaiting help,
elizabeth

Reply
avatar
March 08, 2010 12:26 PM delete

okay, got your point...
Actually this post may be quite confusing for some bloggers.
Here we are not talking about the "Archives Widget"
Rather this is about the pages where archives are shown. For Example, in this blog if you click on the link "Dec 2009" in the sidebar (archives widget), you'll be shown the posts published during that period.
But if you apply this hack/tutorial, and again click on that link, then instead of showing complete posts, only "Post-Titles" will be shown and you have to click on any title to read any particular post. See the screenshot in the above post, to understand it better. Hope it helps...

Reply
avatar
March 08, 2010 2:43 PM delete

okay, i think i got it.

but can you answer me my other looming problem ... do you think the uploading of the new template, keeping the widgets on option is the hidden root of some of my problems?

i.e., when i implement adsense in between posts, that no longer works. also, i tried implementing the three column widget below, that wouldn't work. i used to have no problem doing things like this before.

if you think this is my problem, what do you suggest i do? i thought about uploading a new template, and this time, marking "don't keep widgets" option. however, i'm afraid of losing all the new seo code i recently implemented.

thanks for your time,
elizabeth

Reply
avatar
March 13, 2010 10:26 AM delete

Actually Elizabeth, that shouldn't be a problem. But I would also recommend a template change, if you are facing these problems. You may even try the new templates by Blogger.com or try any other template (I would recommend a light background and black text), and you may read on how you should go for the template change:
http://bloggerstop.net/2008/12/how-to-change-bloggerblogspot-templates.html

I have written that tutorial when there wasn't any option to "Keep widgets" while changing the template, so kindly read on how to retain your widgets without using that "keep widgets" button.

Reply
avatar
March 15, 2010 7:29 PM delete

Awesome!! thanks!! I mainly wanted it for the labels, based on which I have the different links on my "pages". Thanks!

Reply
avatar
boffin
May 02, 2010 1:12 PM delete

great..awesome..mindblowing..u rock..

Reply
avatar
September 10, 2010 11:50 AM delete

Hi Div

I also have problem in crawling my pages its 808 pages & total posts are 868. I applied ur hack for archieves but not affected any increment in no of crawl pages.

http://sarkarivacancies.blogspot.com

if i search my site first word its sarkarivacancies my page is not in the first 10 pages in google so its very imp. to increase the level of my site.
please suggest some advise
email id: sarkarivacancies@gmail.com

thanks
jyoti

Reply
avatar
September 10, 2010 12:04 PM delete

Well actually getting 808 pages indexed out of 868 is very good. Getting 100% pages indexed is difficult even for some of the popular blogs.

Your second problem is of course an issue of concern.
Nowadays, ranking for specific keywords is a must.

For immediate effect, go to as many site-directories as possible and submit your site with your blog's name in the keywords/linking keyword/blog title.

& Follow the SEO Tips discussed here on this blog.

Reply
avatar
September 10, 2010 12:19 PM delete

Okay I found a problem in your blog (& I'm SURE it IS causing the problem):

Your title tag is showing the signs of Grey hat SEO. Which is not good.

Remeber that a bit of SEO is always good, but as much as possible, design your blog with readers as people and NOT search engines in your mind.

Presently your title reads:
"Vacancies, govt jobs, teaching jobs , lecturer, sarkari naukri, bank jobs, stenographer, data entry jobs, naukri, computer operator, naukri sarkari, accounts jobs, legal jobs, technical jobs, accounting jobs, teaching jobs, jobs oil and gas, west bengal, himachal pradesh, chhattisgarh, uttranchal, madhya pradesh, himachal, uttaranchal, rajasthan, maharashtra, uttar pradesh, andhra pradesh, tamilnadu, employment vacancies, fresher jobs, jobs online, job bank, graduate vacancies, job portal, upsc and rrb jobs, career"

Title should be precise but should not miss keywords. So remove all that un-necessary stuff off it, and design it in such a way that a human being can read it in one go.

Something like this:
"Indian Sarkari Vacancies Blog"

That's it. Don't worry about that huge list of keywords I missed out. Once you do this, then stuff your Meta keywrods and Description tags (AGAIN DO IT CAREFULLY - otherwise it may go completely against you rather than doing any help) with those keywords.

Finally when writing the Titles for your posts, again add some good keywords (1/2 per title) to them.

Read this report and follow its advise:
http://websitegrader.com/site/sarkarivacancies.blogspot.com/

Reply
avatar
September 11, 2010 2:37 AM delete

Hey Div

Thanks for ur advice

Keywords are of two types one is 1. Keyword & 2. Top Adwords paying keywords what I can use.

I have more than 8 accounts of social community sites (rediff, linkedin, twitter etc.) are not sufficient for ranking my keyword sarkarivacancies or these are denominating my own page credibility.

What site-directories are u mentioning. Du u have any post in ur blog on this pls provide the url.

I change my title into short 2-3 words, and I have title, description, keywords, subject, abstract tags for keywords. Will I use all these tags (with short list of keywords) or delete any 1 or 2.

And last one what happens if in Meta content= index, follow (name=robots). Is this allow all robots or restrict any or all.

Thanks
jyoti

Reply
avatar
September 12, 2010 11:23 AM delete

Well, as of now focus on those keywords which will bring more traffic to you. If you don't already have it, open an account at Google-Webmaster Tools and within a few days, you will see what are the searches being made that bring traffic to you and therefore you can focus on those important keywords.
Read about it here:
http://bloggerstop.net/2010/04/best-serp-tool-ever-seo-for-blogs.html

I just saw your new title, containing hindi words. But I don't think it will help you in bringing any traffic, as searches made in hindi are very few (if at all there are any). So keep it simple, and only in english.

Some good site-directories list can be found here:
(Go for those directories, with a valid pagerank 2+ and mainly those which do not make it compulsory for you to give them a linkback):
1. http://www.whenweseo.com/web_directories/high_pagerank_directories.jsp
2. http://www.bestcatalog.net/seo_tips/directories.htm

Reply
avatar
September 12, 2010 11:28 AM delete

And regarding your meta tags query, that will allow the robots to index your content.
Read about meta tags, here:
Meta Tags - Importance and How To Use

Reply
avatar
September 16, 2010 8:33 AM delete

Hi Div,

I just go through your post "Duplicate Meta Description and Titles Issues In Blogger" & add this description condition in my blog but i can't find any comment text
but i also have problem in Duplicate meta descriptions & Duplicate title tags.

And in crawl error section all errors are related to label pages.........1 from these error is

http://sarkarivacancies.blogspot.com/search/label/(RBI)
URL restricted by robots.txt

please help me to solve this

thanks
jyoti

Reply
avatar
September 16, 2010 12:24 PM delete

Replying to your comment here:
http://bloggerstop.net/2009/01/show-only-titles-in-blog-archives-with.html

Reply
avatar
December 27, 2010 3:36 AM delete

Hi sai It's working fine...

but my requirement is it's can't work on labels selection ..

what is the if condition for checking labels ...

Help me...
Thanks in advance ..

Funny Stuff

Reply
avatar
January 08, 2011 5:43 AM delete

GREAT JOB MAN THIS IS THE BEST SCRIPT , i found lots of other scripts like this but this is the only one that worked for me :) Re5pect man

Reply
avatar
January 24, 2011 8:22 AM delete

Hi,

Thanks for the usefull tips but i having trouble on this hack to work. Where should i place the hack code? I have 3 line with the same code to replace

Thank you for your help

Reply
avatar
January 24, 2011 12:45 PM delete

Please help me to solve this problem.
My blog http://darul-azzikri.blogspot.com/

thanks in advance

Reply
avatar
February 09, 2011 10:04 AM delete

Great work..Excellent tip...Thanks

Reply
avatar
May 18, 2011 4:01 PM delete

Worked fine,but I would only work in In Blog Archives, and not on labels any idea;

Reply
avatar
September 26, 2011 9:10 PM delete

Men you rock !!! I was having issue on static pages,as i put codes for post title on all pages with home pages,and didnt work ,wherever i look no one had solution for that,so i mix this code for label and archive and one for home pages i finaly it works,static pages shows properly..

I know lots of people search for this,maybe you can update post with post title on home page to (with working static pages)

so what i did ..follow you step and then this one

replace this line


Hmm it wont let me to put a code here please contact me about this (footygo@gmail.com) if you want this,i know it help people a lot.

Best regards for you awesome site and tips
http://ifootballvideo.blogspot.com/

Reply
avatar
bd
November 20, 2011 11:38 AM delete

hei sai,
i was thinking whether it's possible to customise it..i mean how many post title on a single page

Reply
avatar
December 16, 2011 10:38 AM delete

this website never ceases to amaze me... love every content of it... 50% of my blog skills came from this website... keep it up! http://dustent.blogspot.com/search/label/Commentaries

Reply
avatar
April 04, 2012 4:36 PM delete

Is it possible to change page title .does it is against Google policies because i am using blogspot blog.
Thanks reply me ASAP

Reply
avatar
June 11, 2012 10:22 AM delete

Hi my name is Rizwan my blogger post not visible in pagin
please help any one to me what is the solution for this...

Reply
avatar

Comments are moderated on this blog

Allowed HTML tags: <b>, <i> and <a>

Comment Like This! and Optimize your blog EmoticonEmoticon