{"id":3855,"date":"2009-04-28T09:25:49","date_gmt":"2009-04-28T09:25:49","guid":{"rendered":"https:\/\/www.amitbhawani.com\/blog\/?p=3855"},"modified":"2009-09-11T04:16:08","modified_gmt":"2009-09-11T04:16:08","slug":"latest-posts-sidebar-code","status":"publish","type":"post","link":"https:\/\/www.amitbhawani.com\/blog\/latest-posts-sidebar-code\/","title":{"rendered":"Show Recent Blog Posts on Sidebar without Plugin"},"content":{"rendered":"<p>While you are using a wordpress based blog you would like to show all the latest blog posts you have made on your blog&#8217;s sidebar , which can help all your blog readers easily navigate through them instead of searching for them. Most Blog themes have around 10 latest posts linked but if you want to show a higher number then you try out using Widgets option available under Appearance &gt; Widgets &gt; Recent Posts<\/p>\n<p><img data-recalc-dims=\"1\" decoding=\"async\" class=\"alignright\" title=\"Recent Posts Widget WordPress\" src=\"https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/Images\/R\/Recent-Posts-Widgets.PNG\" alt=\"Recent Posts Widget WordPress\" \/>Under the Widgets you have a option of &#8211; &#8216;Number of posts to show:<br \/>\n(at most 15)&#8217; which means that you cannot show more than 15 Recent Blog post links on the sidebar and hence you either have to go for some wordpress plugin or else settle with whats offered.<\/p>\n<p>I like to link back to all the latest blog posts for some period of time and this is the reason i was looking through wordpress themes codes for finding the correct code which can be added in the blog&#8217;s sidebar.<\/p>\n<p>&lt;li&gt;&lt;?php get_archives(&#8216;postbypost&#8217;, 30); ?&gt;&lt;\/li&gt;<\/p>\n<p>Using the above code and editing the number in it, you can show as many posts you want in the sidebar or any where in your blog&#8217;s theme. This is similar to the simple code we need to set up for <a href=\"https:\/\/www.amitbhawani.com\/blog\/busy-on-weekdays-schedule-your-blog-posts-now\/\">scheduled posts<\/a> which can be shown on your blogs sidebar as <a href=\"http:\/\/www.amitbhawani.com\/help\/topic\/how-do-show-future-posts-in-wordpress\">future posts<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>While you are using a wordpress based blog you would like to show all the latest blog posts you have made on your blog&#8217;s sidebar , which can help all your blog readers easily navigate through them instead of searching for them. Most Blog themes have around 10 latest posts linked but if you want [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":19046,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[376],"tags":[],"class_list":["post-3855","post","type-post","status-publish","format-standard","has-post-thumbnail","category-wordpress","entry"],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2010\/12\/Recent-Posts-Widgets.png?fit=282%2C200&ssl=1","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":16118,"url":"https:\/\/www.amitbhawani.com\/blog\/display-latest-ebay-sale-listings-blog-sidebar-posts\/","url_meta":{"origin":3855,"position":0},"title":"How do i display latest eBay Sale listings on Blog Sidebar or within Posts","author":"Amit Bhawani","date":"November 2, 2010","format":false,"excerpt":"I have started selling products on eBay from the past few days and now i wanted to increase the sales by promoting the listings through my WordPress based blog. Please do a research and tell me how can I display my current ebay listings into a page(pages) of my site.\u2026","rel":"","context":"In &quot;Web Tools&quot;","block_context":{"text":"Web Tools","link":"https:\/\/www.amitbhawani.com\/blog\/category\/web-tools\/"},"img":{"alt_text":"eBay Listing WordPress Widgets","src":"https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2010\/11\/eBay-Listing-WordPress-Widgets-300x259.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":2421,"url":"https:\/\/www.amitbhawani.com\/blog\/best-blogspot-themes-templates\/","url_meta":{"origin":3855,"position":1},"title":"Best of the Best BlogSpot Themes \/ Templates","author":"Amit Bhawani","date":"December 2, 2008","format":false,"excerpt":"I dont use Blogspot blogs now because they cannot be used for long term purpose, but still its good for new bloggers who are looking to develop small blogs and make some amount of money from this. Blogger.com offers you with some templates in the 'Create New Blog' section which\u2026","rel":"","context":"In &quot;Top Lists&quot;","block_context":{"text":"Top Lists","link":"https:\/\/www.amitbhawani.com\/blog\/category\/top-lists\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2010\/12\/visionary-reloaded-theme.png?fit=312%2C218&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":6340,"url":"https:\/\/www.amitbhawani.com\/blog\/show-category-icons-in-sidebar\/","url_meta":{"origin":3855,"position":2},"title":"WordPress Plugin to Show Category Icons in Sidebar","author":"Amit Bhawani","date":"October 9, 2009","format":false,"excerpt":"Every Blog displays a Category List on their Sidebar using the Widgets or the default code which is available in the sidebar.php and this does not offer anything new to the readers, but if you can display some beautiful Icons next to the Category names, it would look great. In\u2026","rel":"","context":"In &quot;Wordpress Guide&quot;","block_context":{"text":"Wordpress Guide","link":"https:\/\/www.amitbhawani.com\/blog\/category\/wordpress\/"},"img":{"alt_text":"Category Page Icons Plugin","src":"https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2009\/10\/category-page-icons-plugin.jpg?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2009\/10\/category-page-icons-plugin.jpg?resize=350%2C200 1x, https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2009\/10\/category-page-icons-plugin.jpg?resize=525%2C300 1.5x"},"classes":[]},{"id":5656,"url":"https:\/\/www.amitbhawani.com\/blog\/memepress-show-yahoo-meme-updates-on-wordpress\/","url_meta":{"origin":3855,"position":3},"title":"MemePress Show Yahoo Meme Updates on WordPress","author":"Amit Bhawani","date":"September 11, 2009","format":false,"excerpt":"If you are already getting addicted to the Twitter Clone, Yahoo Meme then its time you should download this Wordpress Plugin which will offer you a excellent widget to setup on the sidebar of your blog. You dont have to worry much about the settings and other stuff because its\u2026","rel":"","context":"In &quot;Wordpress Guide&quot;","block_context":{"text":"Wordpress Guide","link":"https:\/\/www.amitbhawani.com\/blog\/category\/wordpress\/"},"img":{"alt_text":"YahooMeme Wordpress Widget","src":"https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2009\/09\/YahooMeme-Widget-150x150.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":16564,"url":"https:\/\/www.amitbhawani.com\/blog\/display-twitter-followers-wordpress-blog-widget\/","url_meta":{"origin":3855,"position":4},"title":"Display Twitter Followers as WordPress Blog Sidebar Widget","author":"Yogesh Patel","date":"November 18, 2010","format":false,"excerpt":"You must be aware on how to display the Facebook Fans on any web page. It's very popular that all the bloggers are displaying it on their blogs and websites, it makes then grow their social network relation and appear more big. Nevertheless you can consider Twitter as a less\u2026","rel":"","context":"In &quot;Twitter Blog&quot;","block_context":{"text":"Twitter Blog","link":"https:\/\/www.amitbhawani.com\/blog\/category\/twitter-blog\/"},"img":{"alt_text":"Twitter Followers","src":"https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2010\/11\/twitter-followers2-300x238.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":8625,"url":"https:\/\/www.amitbhawani.com\/blog\/show-latest-google-buzz-posts-on-wordpress-blog-sidebar\/","url_meta":{"origin":3855,"position":5},"title":"Show Latest Google Buzz Posts on WordPress Blog Sidebar","author":"Amit Bhawani","date":"February 22, 2010","format":false,"excerpt":"Google Buzz, the service which is integrated into Gmail allows you to publish latest updates similar to what Twitter offers but offers you with no limits, Images & Videos etc. This service can also be considered similar to Yahoo Meme whose updates were also shown on wordpress. The plugin can\u2026","rel":"","context":"In &quot;Wordpress Guide&quot;","block_context":{"text":"Wordpress Guide","link":"https:\/\/www.amitbhawani.com\/blog\/category\/wordpress\/"},"img":{"alt_text":"Google Buzz Feed","src":"https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2010\/02\/Google-Buzz-Feed.png?resize=350%2C200","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.amitbhawani.com\/blog\/wp-json\/wp\/v2\/posts\/3855","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.amitbhawani.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.amitbhawani.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.amitbhawani.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.amitbhawani.com\/blog\/wp-json\/wp\/v2\/comments?post=3855"}],"version-history":[{"count":0,"href":"https:\/\/www.amitbhawani.com\/blog\/wp-json\/wp\/v2\/posts\/3855\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.amitbhawani.com\/blog\/wp-json\/wp\/v2\/media\/19046"}],"wp:attachment":[{"href":"https:\/\/www.amitbhawani.com\/blog\/wp-json\/wp\/v2\/media?parent=3855"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.amitbhawani.com\/blog\/wp-json\/wp\/v2\/categories?post=3855"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.amitbhawani.com\/blog\/wp-json\/wp\/v2\/tags?post=3855"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}