Hi,
I’m using the latest version of the plugin 1.0.15 with WordPress 6.3.0 and PHP 8.0.29
I’m getting the following warning messages appearing in WordPress:
Deprecated: Required parameter $args follows optional parameter $selected in C:\inetpub\wwwroot\wp-content\plugins\archives-calendar-widget\arw-settings.php on line 178
Deprecated: Required parameter $pages follows optional parameter $view in C:\inetpub\wwwroot\wp-content\plugins\archives-calendar-widget\arw-widget.php on line 480
Deprecated: Required parameter $archiveYear follows optional parameter $view in C:\inetpub\wwwroot\wp-content\plugins\archives-calendar-widget\arw-widget.php on line 480
Deprecated: Required parameter $args follows optional parameter $view in C:\inetpub\wwwroot\wp-content\plugins\archives-calendar-widget\arw-widget.php on line 480
David Green
Hi
I’m not sure when it started, but I have noticed that when I click on a month in the calendar widget it no longer opens the list of posts for that month, it loads the home page.
Has anybody else experienced this and, if so, what is the solution?
Thanks
Ian
]]>But it keeps breaking. I’ve rolled back to the previous version.
]]>Hello Alek,
I love the “Archives Calendar Widget” you provide.
Currently, there is no WordPress plugin other than “Archives Calendar Widget” that can display archives including custom posts on the calendar.
Therefore, I would like to use this plug-in for a long time, so I earnestly ask for continued maintenance.
In the thread below, I read that you are considering support for the widget block editor provided by WP5.8, so please take care of it.
Warnings in WP5.8
To use this plugin, we need to enable Classic Widgets, but we expect that Classic Widgets will be supported by the end of 2024.
Hi, when I try to edit the categories from the widgets area it doesn’t work. I click on the Categories Accordion but it doesn’t expand. Same with post types. Is there a fix for this?
]]>Hello, I am using Elementor builder (PRO version). I have added your widget to Elementor place, but can’t edit the posts-categories. I have got something like this – empty category & post types. How can I solve this?
When I tried to call the function in my functions.php I have get the big calendar at the top of the page ??
Here’s the screenshot: https://snipboard.io/5rUqML.jpg
]]>Thanks for best calendar, we using it for many years!
It is possible to make horizontal calendar with ajax? like this https://night2day.ru/novosibirsk/events/type/klub/
Thanks in advance
]]>I just noticed when using the month dropdown list, it cuts off at the end of my sidebar and there doesn’t seem to be a way to scroll to prior months. Is there a way to remedy this?
]]>Hi
My site was recently updated to WordPress 5.8 and I am now getting a warning in the Widget control panel. The warning is as follows:
“The “archives_calendar” block was affected by errors and may not function properly. Check the developer tools for more details.”
The widget does still seem to be working properly, despite the warning.
Thanks
Ian
]]>Really like the look of this plugin and the options to modify the widget design.
Installs fine but when you click on a date it just takes you back to the homescreen instead of posts?
As it says in the title, the plugin seems to work well in the main page but after I select a specific date, while it shows the correct posts, if I go down to look at the widget it is on a random month of a random year. (I’m using “Current Month” in the settings, that’s the only change I made I believe)
]]>Hi Alek
It seems that posts which are password-protected are not shown in the calendar.
Can you guide me what to do or can you make an update to fix that?
Best Regards Michael
]]>Thanks for the updated version!
Just wanted to point out that when I upgraded, I lost my Custom 1 theme. I had created it back in 2016 using your theme editor (https://arcw.alek.be/). I was luckily able to restore the arw1-theme1.css file (under archives-calendar-widget/themes) to fix the problem.
]]>It sounds as if this plugin is no longer current and has been abandoned. Is that correct? Is there any other plugin that users of this one have found to do the exact same thing for archives into calendar?
]]>WordPress depreciated the current_time command in WordPress 5.3, so the plugin no longer is able to get the current date/time/zone setting you have set in your WordPress and is very off.
Anyone find any ways to fix this?
]]>In the menu container month view, I want to change month date format. Example: January = 01.
]]>If You get this Error:
Warning: count(): Parameter must be an array or an object that implements Countable in /wp-content/plugins/archives-calendar-widget/arw-widget.php
than You need to change twice in arw-widget.php
if(count($categories))
into
if(count((array)$categories))
Cheers
Henry
Hey guys,
I totally love this little plugin – I do however have one small request.
Is it possible to have the default calendar day links go to the specific post rather than the archive post page? I am not using the calendar to link to multiple posts per day only one post per day so it would make more sense to me when someone clicks on a particular day that they are taken to the exact post that is on that day – not the archive posts page.
Is that an easy fix? If so, how would I make that happen?
Regards,
]]>we get this messages:
1) ( ! ) Deprecated: Function create_function() is deprecated in ….wp-content\plugins\archives-calendar-widget\archives-calendar.php on line 69
instead, you should use like:
add_action("blabla...", function(){ } );
2) Notice: Undefined index: title in \wp-content\plugins\archives-calendar-widget\arw-widget.php on line 20
3) Warning: count(): Parameter must be an array or an object that implements Countable in wp-content\plugins\archives-calendar-widget\arw-widget.php on line 154
4) Warning: count(): Parameter must be an array or an object that implements Countable in \wp-content\plugins\archives-calendar-widget\arw-widget.php on line 185
5) (if chosen “months” instead of “years” in widget) Warning: count(): Parameter must be an array or an object that implements Countable in wp-content\plugins\archives-calendar-widget\arw-widget.php on line 388
6) if you can, please integrate ARCW Popover plugin. Please dont read full readme where you mention that there exist such addon. I accidentally saw that. So, please just integrate that inside the main plugin.
7) for ARCW popover addon, i have this suggestion for changes:
– on line 74th, you should have this code:
$cat = !empty($params['cats']) ? $params['cats'] : '';
$post_type = !empty($params['posts']) ? $params['posts'] : 'post';
first thing is that it should check with (!empty) otherwise throws error, when that arcf
parameter not defined at all.
8) also, there is some bug in your plugin. For example, I choose “xyz” custom post type in main plugin, and it shows calendar well, but the popover plugin send the request, which only gets ‘post’ post-types, and not the custom-post which is set for that calendar. I think, from main calendar widget, you should output the javascript variable, which determines what custom post-types are being used, and the popover plugin should use that variable and send request to use that custom-post-types. (at this moment I see that uses $url = $_POST['link']
with from where it tries to get some arguments of arcf
parameter, which is incorrect, as our urls are like : example.com/2017/03/ and there are no arcf
arguments in url)
9) also, will be nice to integrate apply_filters
as many places as possible, so we can hook into plugin smoothly, like:
$args =apply_filters('arcw_arguments_filter', $args);
$posts_array = get_posts( $args );
and also in other places.
10) would be nice if in the bottom of calendar, there was a h2 (or bolded) text, which shows of which category posts are being shown on calendar (when calendar query was made with $cat
parameter). If possible, the category chooser under calendar, will be much better!
shortly, enable wp_debug and test your plugin fully on clean wordpress install, to see all the problems.
thanks, nice plugin !
Hi i add the plugin in a widget and y set it to display only one category by years, the problems is that the plugin show me for example the year 2014 and i have no post in that year, when y click in a month go to 404 not found. So why the plugin display that years and the month ar clickable? how i disable that?
Thanks
]]>Hi. In general the plugin works fine in my wordpress 4.9.7 (great work!) but I was selected this option: “Current month” in the widget and showm me on frontend the same calendar that “Latest month”. Any idea? maybe do you have an upgrade?
Thanks in advance.
Hi
I have some Posts protected with a Password. The day of these Posts are not highlight in the calendar.
Please can you advise me what to do.
Best Regrads
Michael
Hi!
In my debug.log, I found the following lines:
PHP Deprecated: Function create_function() is deprecated in /public_html/wp-content/plugins/archives-calendar-widget/archives-calendar.php on line 69
PHP Deprecated: Function create_function() is deprecated in /public_html/wp-content/plugins/archives-calendar-widget/arw-settings.php on line 78.
Is it possible to set a specific month to display?
Could be a good option.
Thansks
We use “Page Builder by SiteOrigin” to compose the pages.
In one of this page we whant to put a calendar widget, same as we can do in sidebar.
The problem is that wen we try to set the options: categories the accordion not work.. I think is sometings incompatible scripts..
There is the new EU regulation comming May 2018 where every WordPress site needs to make sure that the site is GDPR comliant. Plugins can only be used if they are GDPR compliant.
Ist the tool GDPR compliant?
]]>Hi
The date of TODAY is styled with css (border-bottom). It doesn’t work in IE11 but in the Mozilla Firefox Browser.
Please can you check and provide an update of your plugin.
BR
Michael
I have been using your plugin on my other website and had no problems there. However, after installing it here, I found out it has a conflict with my calendar plugin. Are you going to fix it for me?
]]>Hi and thanks for the awesome plugin!
It seems like the only filter with WordPress categories is applied to the external body of the widget (days with posts in a specific category have a different color in the widget), but it doesn’t apply to the final result: when you click a day with posts in the calendar, it opens a link to the general archive page for that day of your site, with ALL categories and no filter.
So if you happen to have written something for category A and category B on the same day and you select the filter to only show posts from category B in the calendar, it will highlight that day in the widget, then you click it, then it will open a page with posts from category A and category B.
Is there a solution or a workaround?
Hi Alek,
I’m using a custom WordPress directory (bedrock) for the plugins and I’m getting and error when trying to update the Archive Calendar css due a problem with the absolute path (file arw-editor.php):
function arcw_write_css($file, $css)
{
global $wpdb;
if ($css) {
if (isMU()) {
$old_blog = $wpdb->blogid;
$blogids = $wpdb->get_results(“SELECT blog_id FROM $wpdb->blogs”);
foreach ($blogids as $blogid) {
$blog_id = $blogid->blog_id;
switch_to_blog($blog_id);
$filename = ‘../wp-content/plugins/’ . dirname(plugin_basename(__FILE__)) . ‘/themes/’ . $file . ‘-‘ . $wpdb->blogid . ‘.css’;
$themefile = fopen($filename, “w”) or die(“Unable to open file!”);
fwrite($themefile, $css);
fclose($themefile);
}
switch_to_blog($old_blog);
} else {
$filename = ‘../wp-content/plugins/’ . dirname(plugin_basename(__FILE__)) . ‘/themes/’ . $file . ‘.css’;
$themefile = fopen($filename, “w”) or die(“Unable to open file!”);
fwrite($themefile, $css);
fclose($themefile);
}
}
}
This is the fix:
function arcw_write_css($file, $css)
{
global $wpdb;
if ($css) {
if (isMU()) {
$old_blog = $wpdb->blogid;
$blogids = $wpdb->get_results(“SELECT blog_id FROM $wpdb->blogs”);
foreach ($blogids as $blogid) {
$blog_id = $blogid->blog_id;
switch_to_blog($blog_id);
$filename = plugin_dir_path( __FILE__ ) . ‘/themes/’ . $file . ‘-‘ . $wpdb->blogid . ‘.css’;
$themefile = fopen($filename, “w”) or die(“Unable to open file!”);
fwrite($themefile, $css);
fclose($themefile);
}
switch_to_blog($old_blog);
} else {
$filename = plugin_dir_path( __FILE__ ) . ‘/themes/’ . $file . ‘.css’;
$themefile = fopen($filename, “w”) or die(“Unable to open file!”);
fwrite($themefile, $css);
fclose($themefile);
}
}
}
Not sure how to report properly this in WordPress or if you have a git repo to do a pull request. Would you mind fixing this in the next version?
Thanks!
]]>