E
by Ashley Gibson
4.7 (6 reviews)
Expanding Archives
This plugin adds a new widget where you can view your old posts by expanding certain years and months.
Tested up to WP 6.4 (Current: 6.9)
vtrunk
Current Version vtrunk
Updated 1 year ago
Last Update on 23 Mar, 2024
Synced 8 hours ago
Last Synced on
Rank
#4,612
-1 this week
Active Installs
2K+
-28.3%
KW Avg Position
190
+1 better
Downloads
22.3K
+4 today
Support Resolved
0%
—
No change
Rating
94%
Review 4.7 out of 5
4.7
(6 reviews)
Next Milestone 3K
2K+
3K+
194
Ranks to Climb
-
Growth Needed
8,000,000
Active Installs
Pro
Unlock Exact Install Count
See the precise estimated active installs for this plugin, calculated from real-time ranking data.
- Exact install estimates within tiers
- Track install growth over time
- Milestone progress predictions
Need 202 more installs to reach 3K+
Rank Changes
Current
#4,612
Change
Best
#
Downloads Growth
Downloads
Growth
Peak
Upgrade to Pro
Unlock 30-day, 90-day, and yearly download history charts with a Pro subscription.
Upgrade NowReviews & Ratings
4.7
6 reviews
Overall
94%
5
4
(67%)
4
2
(33%)
3
0
(0%)
2
0
(0%)
1
0
(0%)
Tracked Keywords
Showing 1 of 1| Keyword | Position | Change | Type | Updated |
|---|---|---|---|---|
| archives | 190 | — | Tag | 9 hours ago |
Unlock Keyword Analytics
Track keyword rankings, search positions, and discover new ranking opportunities with a Pro subscription.
- Full keyword position tracking
- Historical ranking data
- Competitor keyword analysis
Track This Plugin
Get detailed analytics, keyword tracking, and position alerts delivered to your inbox.
Start Tracking FreePlugin Details
- Version
- trunk
- Last Updated
- Mar 23, 2024
- Requires WP
- 3.0+
- Tested Up To
- 6.4
- PHP Version
- 7.4 or higher
- Author
- Ashley Gibson
Support & Rating
- Rating
- ★ ★ ★ ★ ★ 4.7
- Reviews
- 6
- Support Threads
- 0
- Resolved
- 0%
Keywords
Upgrade to Pro
Unlock keyword rankings, search positions, and detailed analytics with a Pro subscription.
Upgrade NowSimilar Plugins
WP Adminify – White Label WordPress, Admin Menu Editor, Login Customizer
7K+ installs
#2,736
Master Addons For Elementor - White Label, Free Widgets, Hover Effects, Conditions, & Animations
40K+ installs
#929
Qi Addons For Elementor
200K+ installs
#253
MW
MW WP Form
200K+ installs
#262
WPFront Scroll Top
200K+ installs
#270
Frequently Asked Questions
Common questions about Expanding Archives
The plugin does not come with a settings panel so you have to do this with your own custom CSS. Here are a few examples: Change the year background colour: .expanding-archives-title { background: #000000; } Change the year font colour: .expanding-archives-title a { color: #ffffff; }
By default, the widget includes posts in all categories. You can add the following code to a custom plugin or a child theme's functions.php file to limit the results to posts in a specific category: add_filter('expanding_archives_get_posts', function(array $args) { $args['cat'] = 2; // Replace with ID of your category. return $args; }); add_filter('expanding_archives_query', function(string $query) { $category = get_category(2); // Replace with ID of your category. if (! $category instanceof \WP_Term) { return $query; } global $wpdb; return " SELECT DISTINCT MONTH(post_date) AS month, YEAR(post_date) AS year, COUNT(id) as post_count FROM {$wpdb->posts} INNER JOIN {$wpdb->term_relationships} ON ({$wpdb->posts}.ID = {$wpdb->term_relationships}.object_id AND {$wpdb->term_relationships}.term_taxonomy_id = 2)
AND post_date <= now() AND post_type = 'post' GROUP BY month, year ORDER BY post_date DESC "; }); Be sure to set the ID of your category in both of the designated places (the examples use ID 2). Note that the results may not update instantly, as the query to retrieve the date periods is cached for one day. To force the query to re-run, delete this transient: expanding_archives_months
By default, the widget will show a list of every year you've published posts. If you have a lot of posts, you may wish to only show results from the last few years. This can be done with the following code snippet: add_filter('expanding-archives/earliest-date', fn() => '-4 years'); You can change -4 years to any value supported by the PHP DateTime constructor. This can be a relative value (as shown above), or a specific date like: add_filter('expanding-archives/earliest-date', fn() => '2023-01-01'); Note that the results may not update instantly, as the query to retrieve the date periods is cached for one day. To force the query to re-run, delete this transient: expanding_archives_months