The WordPress wp_get_archives() function makes this really easy.
At the bare minimum, you can specify the type and the limit and it will return a collection of posts within that range.
Related Posts:
- Is there a plugin that provides a stackoverflow style editor for wordpress? [closed]
- Show a different number of posts per page depending on context (e.g., homepage, search, archive)
- Who are the most trusted plugin developers? [closed]
- Open Source Forum for wordpress similar to stackexchange or stackoverflow [closed]
- Archive list with only years and months
- Send email when a new post is published [closed]
- How to transfer a WordPress blog to a different domain?
- Membership / subscription plugins – alternatives [closed]
- Email Notifications of new posts to users – suggestions [closed]
- How to override normal WordPress search in Buddypress? [closed]
- How to Add jQuery Infinite Scroll to My Custom Archive Page
- Library plugin for WordPress [closed]
- Markdown in WordPress 3.2?
- Integrating Google Maps with custom marker and hover?
- Network-Wide Plugin Settings Management
- Change Permalinks Structure to a Sequential Number for Each Post?
- Quote rotator in the sidebar
- Image Crop/Resize Function/Code Sinppet/Plugin to adjust/crop images during upload
- Recommendationf for Quiz Plugin that saves results [closed]
- Conditional Display of Links in Widgets
- Plugin to restrict login and unpublish content from an author
- WordPress Plugin for One-Time Event Registration? [closed]
- recommended breadcrumb plugins with possibility for hiding “Home” link [closed]
- Looking for a WordPress plugin to show five latest tweets one at a time? [closed]
- Is there a good plugin for social bookmarking on site for WordPress [closed]
- Automagic Link Shortening for Non-Hosted WP
- plugin suggestion for barcode
- Peer Review Plugin for Posts? [closed]
- How to restrict an entire WordPress site to visitors, but the register and login page?
- Duplicate a Multi-Site Subdomain
- Is it possible to integrate WordPress *posts* and social media (Facebook, Google+, Twitter)? [closed]
- New Plugin: Post update pushes a copy as a revision
- Is there a plugin to record querystring parameters for a page (for customer tracking)? [closed]
- How to Implement “Notice: This theme recommands the following plugin:xyz” in wordpress? [closed]
- Display comments of users on single page
- Is there a way to alter the order in which the plugins appear in the page?
- How can I implement a notification system in wordpress?
- Does a wordpress plugin (not a membership one) exist for selling access to some webpages? [closed]
- How to make an interface similar to multi-site for switching between multiple (single) sites for administrators?
- How to make a customize role and view a specific plugins base on that role?
- Woocommerce plugin for minimum order and add-to-card-step
- How can I disable widget from being visible on some pages?
- Information and Videos for Customers in the Backend [closed]
- Multiple instances of nivo slider plugin
- What plugin should I use for booking events and receiving payments? [closed]
- Trying to create a private area custom for each user where they upload images to a server [closed]
- WordPress plugin/theme or other wayout to create portable pages?
- Paypal Integration [closed]
- Is there a WordPress plugin that can post to Google+? [closed]
- Limit the amount of words displayed by the Latest News plugin, or recommend an alternative [closed]
- Plugin to hide image in excerpt
- Allow customers to download updated versions of software
- HelpDesk solution for WordPress [closed]
- Can I use Symfony components in a plugin that I want to submit to the WordPress plugin repository?
- How to automatically add edit link on frontpage post of any wordpress theme?
- How to install Google Analytics onto site without internet access
- Fullscreen gallery plugin [closed]
- Short messages widget [closed]
- I want to know about the plugins that help in while I write code on my Page? [closed]
- breadcrumb need to show all pages and subpages
- Free paypal cart solution [closed]
- Show icons or badges under title on product archives/category pages
- WordPress as heavily personalized content management portal, and somewhat like dropbox [closed]
- How to use existing hook in twentytwelve to all theme of wordpress?
- Mass Mail Plugin to Email Specified User Roles [closed]
- Using Amazon Book Gallery Plugins in WordPress [closed]
- How to get Facebook comment plugin in blog? [closed]
- Specific plugin for custom user information access? [closed]
- Plug-in that shows x number thumbnails from another post
- Plugin to create unlimited custom shortcodes?
- How to get Recent Post From Each Category with Thumbnail?
- Adding custom Field To The Posts Listing
- Is there any plugin to show number of clicks on the link?
- Disable Author Archive just for certain roles in bulk
- Elementor Sidebar not loading when PRO elements plugin is active
- Access remote SFTP server via WordPress login?
- How to update all in-site redirect URLs to destination URLs at once
- Create survey that redirects to sidebar menu customized to answers
- Scheduled emails to include only posts and calendar events for the upcoming week
- How to create a dashboard for logged-in users with custom functionality? [closed]
- Posted posts scheduling to unhide for new members
- Category archive in menu
- is ther a plugin that will hide/show content for a scheduled period of time? [closed]
- Any plugins that upload, resize, and display images? [closed]
- Automatically send an email to list when blog is updated
- Making a particular kind of search engine with WordPress?
- Display Facebook photo albums and photo comments?
- Looking for a related post plugin which slides-in like the one at inc.com does [closed]
- wordpress Search function is not working
- Is there a WordPress Plugin like Imsanity that keeps high resolution originals? [closed]
- Facebook like plugin with Multi Option-Needed [closed]
- WordPress Plugin for Maps of specific Tweets? [closed]
- How can I create a navigation menu in the sidebar that can also act like a slider?
- Looking for a home page carousel [closed]
- Social network plugins for WordPress [closed]
- Need a Plugin to create a registration form for my website? [closed]
- Slider Plugins for header [closed]
- registration plugin [closed]
- how to make wordpress remember my choice
- I’m getting the following error: Fatal error: Uncaught Error: Call to undefined function oil_paint_regeneration() [closed]