Skip to main content

blogger workaround: archive pagination

There is no pagination for the hierarchical archive list in blogger. Very annoying when you have a ton of posts and click on the 'year' link. Javascript pagination is no solution since the complete page is loaded anyway.

Instead I applied a simple workaround to this problem, there is no real need to click on a month/year link since all posts are already listed. So in your archive widget find the lines:


<b:includable id='interval' var='intervalData'>
<b:loop values='data:intervalData' var='i'>
<ul>
<li expr:class='"archivedate " + data:i.expclass'>
<b:include data='i' name='toggle'/>
<a class='post-count-link' expr:href='data:i.url'><data:i.name/></a>


Comment out the line in bold like this


<!-- a class='post-count-link' expr:href='data:i.url'--><data:i.name/><!-- /a -->


Now only the post titles wil be presented as links.

Comments