a post list added to a single post’s sidebar for almost-spring-adsense theme
So far, most of the traffic to this site was referred by Google Search or alike. More often than not, readers land on a single post. I believe a list of recent posts would appeal more to the readers to hang around than the current page list. This site uses SEO Dave’s almost-spring-adsense theme with a few of my own tweaks. Almost-spring-adsense theme doesn’t have post list at all, while the Blix-adsense theme does.
For the Blix-adsense theme, the post list is supported by a BX_get_recent_posts() function from BX-functions.php . To render a post list in almost-spring-adsense theme,
- I copied the BX_get_recent_posts() function from Blix theme to almost-spring-adsense theme’s functions.php
- added a call to the function from sidebar.php.
- limited the call for single-post view only.
When you view this post as a single post, you’ll see nine latest posts listed near the top of the sidebar. Nice, isn’t it
If you are familiar with Blix theme, you’d say why nine. Well, there’s a bug causing it to be ten instead of nine. I fixed the minor Blix theme bug for Wordpress 2.1.










