Post Archive
Developed by azurecurve
Plugin Description
Display an archive of your published posts, grouped by year and month, in a widget or via a shortcode.
Display an archive of your published posts, grouped by year and month, in a widget or via a shortcode – with a choice of four display styles (bars, heatmap, or either of those two collapsed into an expandable year-by-year timeline).
- Download the latest release of the plugin from GitHub.
- Upload the entire zip file using the Plugins upload function in your ClassicPress admin panel.
- Activate the plugin.
- Add the “Post Archive” widget to a sidebar, and/or add the
[post-archive]shortcode to a post or page. - Configure the site-wide defaults (years shown, display style, post counts) via the configuration page in the admin control panel (azurecurve menu).
Yes, the .pot file is in the plugin’s languages folder; if you do translate this plugin, please send the .po and .mo files to [email protected] for inclusion in the next version (full credit will be given).
This plugin is developed for ClassicPress, but will likely work on WordPress.
Bars and Heatmap show every visible year on the page at once, so they suit a site with a handful of years of history. Timeline (bars) and Timeline (heatmap) instead show a collapsed row per year that expands on click, which stays compact for a site with many years of history.
- Rebuilt to match the current azurecurve plugin architecture (namespaced code, settings/menu split across includes files, tabbed admin UI matching the rest of the plugin family).
- Added a working Settings tab: site-wide defaults for years shown, display style, and whether post counts are shown, all previously not configurable.
- Added two new display styles – Timeline (bars) and Timeline (heatmap) – alongside refreshed versions of the original Bars style and a new Heatmap style; selectable site-wide, and per-instance on both the widget and the
[post-archive]shortcode’s newstyleattribute. - Added a
yearsattribute to the[post-archive]shortcode, and a site-wide default for it; previously the shortcode always showed every year with a post, unbounded. - Fixed a bug where a site with zero published posts produced a PHP warning and a broken archive display, in both the widget and the shortcode.
- Fixed the widget’s stylesheet always being enqueued whenever the widget class was registered, rather than only when an instance is actually placed in a sidebar.
- Fixed the archive stylesheet’s cache-busting version being hard-coded to
1.0.0regardless of the plugin’s actual version, so browsers could keep serving a stale stylesheet across releases. - Fixed several dynamic values (year/month title attributes, widget footer text) not being consistently escaped on output.
- Removed a leftover
wp_reset_query()call that did nothing useful, since the plugin has never used the main WordPress loop for its archive query. - The widget and the shortcode now share one archive-data query/cache and one set of renderers (previously two separate, near-duplicate implementations), and the archive-data query is now cached for up to an hour instead of re-running on every single page load.
- BREAKING: minimum PHP requirement raised to 8.2.
- BREAKING: text domain renamed from
post-archivetoazrcrv-pa; existing translation (.po/.mo) files must be re-supplied under the new domain. - Update readme.md and remove readme.txt (not required for ClassicPress).
- Update azurecurve menu.
- Update plugin header for compatibility with ClasssicPress v2.
- Update plugin header and readme for compatibility with ClassicPress Directory v2.
- Update Update Manager to version 2.5.0.
- Update readme file for compatibility with ClassicPress Directory.
- Update readme files.
- Update language template.
- Fix bug with azurecurve menu.
- Update azurecurve menu.
- Update readme files.
- Update azurecurve menu and logo.
- Add limit to number of years in widget.
- Add field to store text at bottom of widget (such as link to archive page).
- Fix plugin action link to use admin_url() function.
- Add plugin icon and banner.
- Update azurecurve plugin menu.
- Amend to only load css when shortcode on page.
- Fix bug with plugin menu.
- Update plugin menu css.
- Upgrade azurecurve plugin to store available plugins in options.
- Update Update Manager class to v2.0.0.
- Update action link.
- Update azurecurve menu icon with compressed image.
- Fix bug with incorrect language load text domain.
- Add integration with Update Manager for automatic updates.
- Fix issue with display of azurecurve menu.
- Change settings page heading.
- Add load_plugin_textdomain to handle translations.
- Update azurecurve menu for easier maintenance.
- Move require of azurecurve menu below security check.
- Fix bug in shortcode output.
- Initial release for ClassicPress forked from azurecurve Post Archive WordPress Plugin.
azurecurve was one of the first plugin developers to start developing for ClassicPress; all plugins are available from azurecurve Development and are integrated with the Update Manager plugin for fully integrated, no hassle, updates.
The plugins available from azurecurve are:
- Add Open Graph Tags – details / download
- Add Twitter Cards – details / download
- Avatars – details / download
- BBCode – details / download
- Breadcrumbs – details / download
- Broken Links – details / download
- Call-out Boxes – details / download
- Chroma – details / download
- Code – details / download
- Comment Validator – details / download
- Conditional Links – details / download
- Contact Forms – details / download
- Disable FLoC – details / download
- Display After Post Content – details / download
- Estimated Read Time – details / download
- Events – details / download
- Feed to Post – details / download
- Filtered Categories – details / download
- Flags – details / download
- Floating Featured Image – details / download
- Get GitHub File – details / download
- Icons – details / download
- Image Optimiser – details / download
- Images – details / download
- Insult Generator – details / download
- Load Admin CSS – details / download
- Loop Injection – details / download
- Lorem Ipsum Generator – details / download
- Maintenance Mode – details / download
- Markdown – details / download
- Nearby – details / download
- Page Index – details / download
- Post Archive – details / download
- Quiz Engine – details / download
- Read GitHub File – details / download
- Redirect – details / download
- Remove Revisions – details / download
- RSS Feed – details / download
- RSS Suffix – details / download
- Series Index – details / download
- Shortcodes in Comments – details / download
- Shortcodes in Widgets – details / download
- SMTP – details / download
- Snippets – details / download
- String Inspector – details / download
- Strong Password Generator – details / download
- Tag Cloud – details / download
- Taxonomy Index – details / download
- Taxonomy Order – details / download
- Theme Switcher – details / download
- Timelines – details / download
- Toggle Show/Hide – details / download
- Update Admin Menu – details / download
- URL Shortener – details / download
- Username Protection – details / download
- View Counter – details / download
- Widget Announcements – details / download