Hi,
I would prefer, if the expanded Items, months and years, would get reset to closed after page reload.
How can I achieve this?
Thanks !
]]>Hello do you think it will be possible to excluded from liste some category ?
regards
]]>The input fields inExcludeCats and inExcludeYears do not function properly for me. I can’t type into the fields and I get an unCaught reference error: setAttributes is not defined.
I am trying to only render one of my Post categories, and not all of them on my website page.
I have the latest version of WP installed, and am using the 2023 theme.
Thanks in advance,
Katrina
Hi Rob,
I had a bit of a shock when updating the Collapsing Archives V3.0.3 plugin on a production site – it disapeared from installed plugins and was replaced by an unactivated Collapsing Categories V3.0.8 installation.
It looks like the V3.0.8 files from Collapsing Categories have somehow been commited to Collapsing Archives.
The source files still look correct on:
https://plugins.trac.www.ads-software.com/log/collapsing-archives/trunk
The details of both of these on WP.org are now showing the same (despite their correct original URLs):
https://www.ads-software.com/plugins/collapsing-archives
https://www.ads-software.com/plugins/collapsing-categories
This is also the case when trying to install a plugin from a WP Add Plugins admin page – if you search for ‘collapsing’ you get two called ‘Collapsing Categories’, but one of them should be Collapsing Archives.
I’ve rolled back to a backup copy of V3.0.3 manually for now, and will avoid clicking on this WP plugin update message again until it’s fixed:
“There is a new version of Collapsing Archives available. View version 3.0.8 details or update now.”
Hope that makes sense.
]]>The archives collapse to zero with this update (ie they disappear). The widget itself disappears from the ‘available widgets’ menu.
I have to use a previous version to get them back.
Hi there,
After updating to the newest version, I’m not seeing the collapsing archive widget available for use in the widgets section of the WP admin page. My customer is still using the classic editor, I’m not sure if that’s the reason why? But it’s just no longer available there even though the plugin is installed and activated.
Help?
]]>After recent update plugin doesn’t follow $defaults array. You can change any parameters in it, but it won’t change anything in behaviour and appearance.
]]>Hi! I went digging around in the forums here to see if there was a solution to the problem I’m having, found the beta version you linked in another post, & immediately grabbed it. It’s fixed the problem I already had (even when I had ‘expand current year’ & ‘expand current month’ unchecked, they were still loading expanded), AWESOME.
HOWEVER, I have ‘clicking on year or month’ set to ‘expands to show month and/or posts’, but when I click on the month (or year), it goes to that page instead.
I changed the setting to ‘links to archive’, & it both expands the month/year AND goes to that page.
I poked around a bit more & found things mostly working as designed, though changing to the different themes didn’t make any difference that I saw.
Happy to supply details as needed. Thanks for this plugin, I’ve had a hard time finding anything to make my archive look decent.
]]>Gave it a try after recent update – works fine, but sidebar widget setup seems to ignore DISABLED option to show dates for posts, it will show post date in a list regardless, using the provided format.
The only way to truly disable post date – is to remove formatting for date from options.
]]>Using Collapsing Archives version 2.1.4 on a PHP 8 site, I’m getting PHP warnings. Managed to fix those with the following changes (deprecated functions)
In file collapsArchList.php line 298 replace
$title_text = wp_specialchars($text,1);
with:
$title_text = esc_html($text,1);
In file collapsArchWidget.php line 44 replace
echo esc_attr($title) with echo attribute_escape($title);
Hope that helps…
]]>I gave up on this plugin after viewing page just could not.
Today it had a update and I installed it and enabled it.
Can now view the page but the Collapsing Archives did not change any thing.
Is there something still wrong?
]]>The plugin has not been updated for 10 months, or the last three major WordPress updates. It throws a critical error on my website, and I had to deactivate it. Are you planning to update the plugin? I have been using this plugin on my website for the last 8 years. I like it, and it would pain me to have to say goodbye.
]]>Hey there!
First, thanks for the plugin… overall, working really well, although I have had to interject some jquery to make it more ADA compliant (all good though)! ??
The issue I was hoping you might look into and fix is, sometimes, when clicking on one of the years, it doesn’t open until another click.
If you need more from me, please let me know?
Thanks, and hope all is well!
We love how tidy Collapsing Archives makes our website.
However, today we learned that the server error log was ballooning, and our provider pointed out one that suggests Collapsing Archives as the culprit. The error our host supplied is below. I’m scrupulous about keeping plugins up to date, but don’t know how to address this. Help? Thank you. Here’s the error:
[18-Dec-2022 23:09:54] WARNING: [pool 74_wp_2mdn8a_apache2-dp-1568e6bca9]
child 29955 said into stderr: "NOTICE: PHP message: PHP Warning:
call_user_func_array() expects parameter 1 to be a valid callback, class
'collapsArch' does not have a method 'enqueue_scripts' in
/home/wp_2mdn8a/collegeparentcentral.com/wp-includes/class-wp-hook.php on
line 308"
]]>
I got this on Ubuntu Linux 22.04 that my be why this plug in don’t work. It says what the Topic says on this.
When I Activate it then I get that error and when I deactivate it don’t get the error any more.
Or this my be why I have this:
# php -v
PHP 8.1.2 (cli) (built: Apr 7 2022 17:46:26) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.2, Copyright (c) Zend Technologies
with Zend OPcache v8.1.2, Copyright (c), by Zend Technologies
Hope you can fix this.
-Raymond Day
]]>Hi Support,
When we are clicking on any Date or Year in drop down listing, this is not showing the correct archive listing. it is showing same result for any archive by date. example:- when i click on the year 2007 or other and check the lisiting and again when I click on year 2014 or any other year the lisiting is showing same.
Thanks!
]]>Hello, I saw that there is the possibility to automatically expand the months of the current year, while I would like the months to expand in all years, is it possible? How can I do? I am attaching screenshot (https://paste.pics/cf6345d58ba06f19efc67af7bb64f7e3) of how I would like it to be. Thanks
]]>I’m not exactly sure what “deprecation warning” version 2.1.3 was trying to fix (I never noticed any problems with 2.1.2), but since I upgraded, I’m getting the following warning displayed on every page:
Warning: call_user_func_array() expects parameter 1 to be a valid callback, class ‘collapsArch’ does not have a method ‘enqueue_scripts’ in …/wordpress/wp-includes/class-wp-hook.php on line 307
Reverting to 2.1.2 fixes the problem.
See also https://www.ads-software.com/support/topic/update-caused-the-problem-it-meant-to-fix/ which describes the same issue, but IMO the proposed fix is not correct. I would suggest instead:
Index: collapsArch.php
===================================================================
--- collapsArch.php (revision 2704189)
+++ collapsArch.php (working copy)
@@ -39,7 +39,7 @@
/****************/
if (!is_admin()) {
wp_enqueue_script('jquery');
- add_action( 'wp_enqueue_scripts', array( 'collapsArch', 'enqueue_scripts' ) );
+ add_action( 'wp_enqueue_scripts', array( 'collapsArch', 'add_scripts' ) );
} else {
// call upgrade function if current version is lower than actual version
$dbversion = get_option('collapsArchVersion');
]]>
The update to 2.1.3 caused the very warning it said it was fixing –
Warning: call_user_func_array() expects parameter 1 to be a valid callback, class ‘collapsArch’ does not have a method ‘enqueue_scripts’ in /home/carnethy/public_html/wp-includes/class-wp-hook.php on line 307
I’ve rolled back to a previous version 2.0.5. I’d rather have 2.1.2 but the rollback plugin doesn’t list that one.
]]>I set up a page for posts with the category “Musical Moments with Mike” and have the collapsing archives set up in the column to the right of the page. I want the posts in the collapsing menu to open in this page, but they open individually in their own page.
Is there a way to set the archive links to open in a specified page?
Hello,
I have upgraded to PHP 8 and WordPress 5.6
I got a Fatal error after click Activate. The Fatal error as below:
Array and string offset access syntax with curly braces is no longer supported in …\wp-content\plugins\collapsing-archives\collapsArchList.php on line 138
Do you have any advices to solve this problem ?
Thanks in advance.
Hi, I’m trying to get the archive to be unexpanded by default. I’ve tried this:
‘expandCurrentYear => false&expandCurrentMonth => false’
…but no luck, what do I need to do?
]]>The plugin is really great!
I have a problem with expand and collapse year links. When I click on any year link, 404 error is shown.
With PHP 8.0 installed the WP is crashing when using this plugin. I fixed the bugs several months ago and sent a mail to the Author with the changes. Now I have to avoid the update.
]]>Hi.
Can you make something to use this plugin, because it says that it’s back with tree major versions by my version.
]]>I’ve been using this plugin for quite some time, and it’s been a great, simple and reliable plugin, together with all my other plugins without any problems. Recently though I started seeing problems in another plugin, Jetpack, which reported errors in connecting to WordPress, and after some testing back and forth it appears these two are in some kind of conflict, turning off this plugin and Jetpack will work fine again, having both enable at the same time and all features except the config menu seemingly work, except it is extremely slow to open the page first time. Which is consistent with the Jetpack error that the problem is a timeout.
Jetpack gets quite frequently updated, and something in their new version is most likely the cause for the problems, however my question to you is whether this plugin is active, as it appears not to have been updated in a few years and I’d hate to have to remove it?
Best regards
Mikael
I notice that because of the Bootstrap Collapse module which uses the CSS class “collapse” and “collapsing,” the plugin does not work if Bootstrap is loaded. The moment I exclude bootstrap, everything works fine. Will you consider changing the classname to something more proprietary like “ca_collapse” so that there is no conflict?
]]>line 35: "/wp-content/plugins/collapsArch/" ?>img/collapse.gif' /> <img
and
line 37: "/wp-content/plugins/collapsArch/" ?>img/expand.gif' /></label>
should be
line 35: "/wp-content/plugins/collapsing-archives/" ?>img/collapse.gif' /> <img
and
line 37: "/wp-content/plugins/collapsing-archives/" ?>img/expand.gif' /></label>
The plugin uses deprecate constructs that are no more compatible with the current PHP versions. It is present in the collapsArchWidget.php
file
hi
i want to display this plugin in the main menu
thank you