great plugin!
any chance that we will be able to use our other favorite plugin TranslatePress for string translations?
(we are using locale already but there are plenty of strings that would require manual translation)
]]>In Canada, we use Sunday as the first day of the week. But my calendar is showing Monday as the first day of the week. It does not respect the “week starts on” setting in WordPress and seems to do this based on locale. My site is in French and English. When the calendar opens in french, it shows Monday as the first day of the week (wrong), but when it’s on an English page it shows Sunday.
This is a big problem because the site visitor could see the event on the calendar in the second column and think it’s a monday event, when it’s really on tuesday, unless they read it carefully and even notice the weekdays listed at the top.
Is there a way to override this?
]]>Hi, I’ve following this tutorial successfully, and I’ve been able to put in a calendar my events based in ACF custom fields. The problem is that I have a date picker field and a time picker field for both the start date and time and end date and time fields. I could change the fields for date/time pickers, but unfortunately, I can’t do that, since events are submitted in the frontend by the owner of the website, and the form plugin I’m using does not have a date/time field (thus, I can’t map that with a ACF date/time field).
So, I’ve tried to tweak your code to combine my ACF start_date_acf
, start_time_acf
, end_date_acf
and end_time_acf
fields into a date/time field and this is what I’ve got so far:
add_filter(
"piecal_event_query_args",
function ($args, $atts) {
$args["meta_query"] = [
"relation" => "AND",
[
"key" => "$key",
"value" => "",
"compare" => "!=",
],
];
return $args;
}, 10, 2);
add_filter("piecal_start_date_meta_key", function ($key) {
$key = date("Y-m-d\TH:i:s", strtotime(get_field('start_date_acf', $post->ID) . ' ' . get_field('start_time_acf', $post->ID)));
return $key;
});
add_filter("piecal_end_date_meta_key", function ($key) {
$key = date("Y-m-d\TH:i:s", strtotime(get_field('end_date_acf', $post->ID) . ' ' . get_field('end_time_acf', $post->ID)));
return $key;
});
This doesn’t have the desired effect. I can feel I’m close to the solution, but I need the final touch (needless to say, I’m not an expert developer). Can you help me with that? Thank you for taking the time to read my question.
]]>I’m adding this for the css and I still cannot get the background color of the popover to be dark. What am I missing:
.piecal-popover__inner {
position: relative;
background: black;
border-radius: 8px;
padding: 32px;
gap: 16px;
margin: 0 32px;
max-width: 400px;
width: 100%;
max-height: 75%;
overflow: auto;
}
PS. I am a pro customer.
]]>I want to show multi-day events only once in the list view (i.e. December 1-December 5) rather than the default repetitive design where the event is repeated each day. I’d also like to show custom field data instead of the default event title in the list view.
I am not seeing any hooks related to this – only for the popover.
Is my only option to directly modify the plugin? I was hoping to avoid this so I can receive plugin updates without my custom code being overwritten.
How can we show HTML in an event’s pop up?
By default, the HTML code is stripped out. But even when I directly modified the safeOutput function in shortcode.php I still could not get HTML to be rendered; instead the actual HTML code was rendered in plain text.
]]>Hi, I tried adding the “Skip Popover on Event Click” code snippet (https://docs.piecalendar.com/article/29-skip-popover-on-event-click) to my website.
It does skip the popover and take me to the event’s page, but for some reason, it is displaying the day header (‘Sunday’, ‘Monday’, etc.) twice now. Please see the attached screenshots:
You can see the code changes to add an extra instance of the day title. Any help will be appreciated.
]]>Dear Sir,
I installed the free version of Pie Calendar to display a Custom Post Type “Events”.
It works nice on desktop, but on mobile you cannot click on the event (you can click, but nothing happens). Can you look into this?
Here is the page on my staging site:
https://staging.tenerifevakantie.com/events-kalender/
A second question:
I wanted to hide the filter and added the code you mentioned on your website.
(.piecal-wrapper .piecal-controls {display: none;})
But now also the arrows next and previous month are missing.
Do you have also code to just remove the filter and still showing the next and previous month arrows?
See also screenshot:
https://nimb.ws/TyhJ9BL
Hi,
Is the document on the piecal website the full list of CSS selectors
https://docs.piecalendar.com/article/24-css-selectors
Seems like its missing quite a bit. Any way a complete list of them can be added to that page so we don’t have to hunt around what to update/modify for specific things? I can figure it out, but would be much easier to have them all handy somewhere.
Thank you.
]]>Hello,
I’ve an issue.
I try to explain well:
In August I’ve some events then I go to next month September… I see for few seconds September events and then it reload August events… from this if I click again on next month (September again) all works well.
Thanks
Roby
While working I noticed my meta key has string stored for some products and date for other. It is throwing following error in this case
[25-Jul-2024 14:51:18 UTC] PHP Fatal error: Uncaught Exception: Failed to parse time string (Consulting) at position 0 (C): The timezone could not be found in the database in {path to site}/plugins/pie-calendar/includes/shortcode.php:63
Need to add error handling in this case
]]>i saw a post with code to show the time in 24 hour format, but the time-picker remains AM/PM. Is there an option to change that to (our Europe normal…) 24 hour format?
]]>Great plugin
But unfortunately it doesnt work with Elementor PRO. If i just keep activated only Elementor (PRO is deactivated) plugin works. With Elementor PRO no ??
Also i see warnings
Warning: Undefined array key 0 in /data01/virt93769/domeenid/www.travelhit.ee/htdocs/ww/wp-content/plugins/pie-calendar/includes/shortcode.php on line 57
Warning: Undefined array key 0 in?/data01/virt93769/domeenid/www.travelhit.ee/htdocs/ww/wp-content/plugins/pie-calendar/includes/shortcode.php?on line?68
——————-
== Server Environment ==
Operating System: Linux
Software: Apache / ZoneOS
MySQL version: Source distribution v10.6.18
PHP Version: 8.2.20
PHP Memory Limit: 1024M
PHP Max Input Vars: 20000
PHP Max Post Size: 2047M
GD Installed: Yes
ZIP Installed: Yes
Write Permissions: All right
Elementor Library: Connected
== WordPress Environment ==
Version: 6.3.5
Site URL: https://travelhit.ee/ww
Home URL: https://travelhit.ee
WP Multisite: No
Max Upload Size: 2 ГБ
Memory limit: 40M
Max Memory limit: 1024M
Permalink Structure: /%postname%/
Language: ru_RU
Timezone: 3
Admin Email: [email protected]
Debug Mode: Inactive
== Theme ==
Name: Hello Elementor
Version: 2.8.1
Author: Elementor Team
Child Theme: No
== Active Plugins ==
Admin Columns
Version: 4.6.1
Author: AdminColumns.com
Advanced Custom Fields: Table Field
Version: 1.3.20
Author: Johann Heyne
Advanced Custom Fields PRO
Version: 6.2.1.1
Author: WP Engine
Advanced Editor Tools
Version: 5.9.2
Author: Automattic
Advanced Rich Text Tools for Gutenberg
Version: 1.2.0
Author: Ella Van Durpe
Akismet Anti-spam: Spam Protection
Version: 5.3
Author: Automattic - Anti-spam Team
All in One SEO
Version: 4.4.9.2
Author: All in One SEO Team
Atomic Blocks - Gutenberg Blocks Collection
Version: 2.9.0
Author: atomicblocks
Block Editor Colors
Version: 1.2.4
Author: MotoPress
Category Order and Taxonomy Terms Order
Version: 1.7.9
Author: Nsp-Code
Chaty Pro
Version: 3.1.6
Author: Premio
Classic Widgets
Version: 0.3
Author: WordPress Contributors
Column Shortcodes
Version: 1.0.1
Author: Codepress
Disable Gutenberg Blocks - Block Manager
Version: 1.0.9
Author: Danny Cooper
Easy Google Fonts
Version: 2.0.4
Author: Titanium Themes
Elementor
Version: 3.22.3
Author: Elementor.com
Elementor Header & Footer Builder
Version: 1.6.16
Author: Brainstorm Force, Nikhil Chavan
Elementor Pro
Version: 3.22.1
Author: Elementor.com
EmbedPress
Version: 3.9.1
Author: WPDeveloper
Favicon by RealFaviconGenerator
Version: 1.3.27
Author: Philippe Bernard
Happy Elementor Addons
Version: 3.11.0
Author: Leevio
Health Check & Troubleshooting
Version: 1.7.0
Author: The www.remarpro.com community
Insert Pages
Version: 3.7.7
Author: Paul Ryan
Ivory Search
Version: 5.5.3
Author: Ivory Search
Kadence Blocks – Gutenberg Blocks for Page Builder Features
Version: 3.1.22
Author: Kadence WP
Login Designer
Version: 1.6.3
Author: LoginDesigner
Map Block for Google Maps
Version: 1.33
Author: WebFactory Ltd
No Category Base (WPML)
Version: 1.3
Author: Marios Alexandrou
OG — Better Share on Social Media
Version: 3.2.3
Author: Marcin Pietrzak
Open Graph and Twitter Card Tags
Version: 3.3.1
Author: WPExperts
PDF Embedder
Version: 4.6.4
Author: WP PDF Embedder Team
PDF Poster
Version: 2.1.12
Author: bPlugins LLC
Pie Calendar
Version: 1.2.1
Author: Elijah Mills & Jonathan Jernigan
Post Types Order
Version: 2.1
Author: Nsp Code
PublishPress Blocks
Version: 3.2.0
Author: PublishPress
Redirect Post to URL
Version: 1.2
Author: wp-hotline.com ~ Stefan
Royal Elementor Addons
Version: 1.3.80
Author: WP Royal
Royal Elementor Addons Pro (Premium)
Version: 1.4.3
Author: WP Royal
SEO Auto Linker
Version: 1.5.2
Author: Arjan Olsder
Simple Custom Post Order
Version: 2.5.7
Author: Colorlib
Spectra
Version: 2.9.0
Author: Brainstorm Force
Stackable - Gutenberg Blocks
Version: 3.12.3
Author: Gambit Technologies, Inc
Text Replace
Version: 4.0
Author: Scott Reilly
TinyMCE Templates
Version: 4.8.1
Author: Takayuki Miyauchi
Ultimate Blocks
Version: 3.0.5
Author: Ultimate Blocks
Unlimited Elements for Elementor
Version: 1.5.85
Author: Unlimited Elements
Unlimited Elements for Elementor (Premium)
Version: 1.5.85
Author: Unlimited Elements
WP Mail SMTP Pro
Version: 3.9.0
Author: WP Mail SMTP
]]>
I don’t see anything mentioned about images or graphics. How does Pie Calendar display and handle images or graphics?
]]>We’d like to integrate events with a directory of venues powered by Directorist.
Any help would be appreciated – and other Directorist users would no doubt welcome integration notes.
A sample venue via Directorist is shown at
https://www.badgerpowersports.com/venues/?venue=113
Thank you.
Hi, love the plugin! Is there a snippet or a way to remove links to days that are empty, without any event listed, I do not want to show list of that day, or any for that matter…
Thanks
]]>using listDay in shortcode doesn’t work, it shows the calendar view instead
only when selecting from the select menu it works.
Thanks
]]>WordPress 6.5.2, ACF 6.2.9
After first installing the Pie plugin, the Pie calendar metabox ONLY showed up in the ACF Custom Post type editor, attached to the CPT I am editing.
It didn’t show up in the Classic Editor on Posts, Pages, or Custom Post Types at all. I had “editor” and “custom fields” checked in the CPT Supports section of the CPTs I wanted it to show up on.
I had the plugin “Classic Editor” installed (this is necessary for the site) and if I disabled that, the Calendar metabox showed up in Gutenberg sidebar.
HOWEVER then if I re-enable Classic Editor plugin, the Calendar shows up everywhere it is supposed to.
So if you install Pie Cal, and the metabox doesn’t show up in the classic editor, disable and re-enable any Classic Editor plugins you have.
Thought this might help some people out there ??
Hi
I have an issue where the end date of the event doesnt show in the calendar. If i have an event between 15-20 april it only shows 15-19 april in the calendar.
I have seen another post about this a couple of months ago but i couldnt find out if there was a solution to it. Is there a codesnippet or some kind of workaround to get this to work?
]]>Hi there,
Firstly I am getting two errors when the site is using any of the 8.X versions of PHP (7.4 is fine)
Warning: Undefined array key 0 in /home/customer/www/domain.org.au/public_html/wp-content/plugins/pie-calendar/includes/shortcode.php on line 57
Warning: Undefined array key 0 in /home/customer/www/domain.org.au/public_html/wp-content/plugins/pie-calendar/includes/shortcode.php on line 68
Secondly, I added one post to the calendar, but when I view it on the page it does not show, but a different post does! And it shows on todays date, not the date I enter for the Pie details – also when I go back to that post, the Pie calendar checkbox is unticked (but the date/time details show correct)!
Thoughts ?
TIA, Dave
Hello, thank you so much for such a helpful plugin.
But I have a question, is it possible to somehow show the Featured Image of a post in the calendar ?
Is 24-hour clock format supported? As far as I can tell, only the 12-hour clock format is supported, even though my WordPress default time settings are set to 24h. Or am I missing something?
Thanks in advance.
]]>Hi! Thanks for the great plugin.
Is it possible to change the background colour for the entire calendar (to black)?
The dark theme shortcode [piecal theme=”dark”] only changes the events colour, and overall the plugin still looks out of place on our dark background website.
]]>I came across your snippet on this link: https://docs.piecalendar.com/article/23-use-custom-fields-as-event-date-time
And it works like charm, but is there another method to work on repeater field that has sub field of start_date and end_date. Some of my event has multiple days in one event.
After putting shortcode for Pie Calendar in shortcode-element from Bricks Builder, the page shows an error when loading in front as well as in builder:
Fatal error: Uncaught InvalidArgumentException: The INTERVAL rule part must be a positive integer (> 0) in /var/www/wordpress/wp-content/plugins/pie-calendar/vendor/php-rrule/RRule.php:254 Stack trace: #0 /var/www/wordpress/wp-content/plugins/pie-calendar/includes/utils/PiecalRRuleUtil.php(76): RRule\RRule->__construct() #1 /var/www/wordpress/wp-content/plugins/pie-calendar/includes/piecal-pro.php(820): Piecal\Utils\RRuleUtil::expandOccurrencesWithinRange() #2 /var/www/wordpress/wp-includes/class-wp-hook.php(324): piecalExpandOccurrencesInView() #3 /var/www/wordpress/wp-includes/plugin.php(205): WP_Hook->apply_filters() #4 /var/www/wordpress/wp-content/plugins/pie-calendar/includes/shortcode.php(94): apply_filters() #5 /var/www/wordpress/wp-includes/shortcodes.php(433): piecal_render_calendar() #6 [internal function]: do_shortcode_tag() #7 /var/www/wordpress/wp-includes/shortcodes.php(273): preg_replace_callback() #8 /var/www/wordpress/wp-content/themes/bricks/includes/elements/shortcode.php(96): do_shortcode() #9 /var/www/wordpress/wp-content/themes/bricks/includes/elements/base.php(2290): Bricks\Element_Shortcode->render() #10 /var/www/wordpress/wp-content/themes/bricks/includes/ajax.php(315): Bricks\Element->init() #11 /var/www/wordpress/wp-content/themes/bricks/includes/builder.php(2124): Bricks\Ajax::render_element() #12 /var/www/wordpress/wp-content/themes/bricks/includes/builder.php(2030): Bricks\Builder::query_content_type_for_elements_html() #13 /var/www/wordpress/wp-content/themes/bricks/includes/builder.php(288): Bricks\Builder::builder_data() #14 /var/www/wordpress/wp-includes/class-wp-hook.php(324): Bricks\Builder->enqueue_scripts() #15 /var/www/wordpress/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #16 /var/www/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action() #17 /var/www/wordpress/wp-includes/script-loader.php(2262): do_action() #18 /var/www/wordpress/wp-includes/class-wp-hook.php(324): wp_enqueue_scripts() #19 /var/www/wordpress/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #20 /var/www/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action() #21 /var/www/wordpress/wp-includes/general-template.php(3052): do_action() #22 /var/www/wordpress/wp-content/themes/bricks/header.php(7): wp_head() #23 /var/www/wordpress/wp-includes/template.php(790): require_once(‘…’) #24 /var/www/wordpress/wp-includes/template.php(725): load_template() #25 /var/www/wordpress/wp-includes/general-template.php(48): locate_template() #26 /var/www/wordpress/wp-content/themes/bricks/template-parts/builder.php(2): get_header() #27 /var/www/wordpress/wp-includes/template-loader.php(106): include(‘…’) #28 /var/www/wordpress/wp-blog-header.php(19): require_once(‘…’) #29 /var/www/wordpress/index.php(17): require(‘…’) #30 {main} thrown in /var/www/wordpress/wp-content/plugins/pie-calendar/vendor/php-rrule/RRule.php on line 254
]]>Currently, the event title is cut off in the classic month calendar view. Is there any way to display the full event title in the cell? Similar to how it shows in the modern event calendar monthly simple view?
Monthly View Simple Style – Modern Events Calendar (webnus.net)
]]>Any thoughts on a middle tier? (qty ~20-25)
If purchasing a 5 license, and want to upgrade 6 months later, is it just the difference for the upgrade between 5 and unlimited?
Is/can the ‘color’ in pro pulled from a CPT as well?
]]>Hey, first of all, congratulations on this nice plugin. This might be something you wanna change, when you go to create anything in acf, you get the calendar option, im not sure if its needed.
]]>Reverting back to php 7.4, for me at least means that I can once again start using this incredible plugin again.
So thanks !!!
]]>Hi,
I bought the pro edition and I really like the whole setup. Especially the fact that I can use existing ACF datetime fields!
However, I have come across what I believe to be a bug that applies to both the pro and the free edition.
The error occurs in relation to the All day function. If I select a start date e.g. 9 August at 10 am and an end date 11 August at 10 am and click All day, the event only appears as if it lasts Wednesday and Thursday but not Friday! If I switch off All day, the blue event bar is shown from Wednesday through Friday!
If I do the same in Google Calendar, for example, All day is displayed from Wednesday through Friday, which is what I would expect.
In addition, it also appears that there is a possible error related to the time of day an event takes place:
If I select a start date e.g. 9 August at 10 am and an end date 11 August at 1 am (i.e. at night) and turn All day ON, the blue event bar only appears for Wednesday (and not Wednesday through Friday as I would expect). If I change the end time to 2 am instead, then the blue event bar appears from Wednesday to Thursday (but still not Friday as I would expect).
All my tests are done with the free version in a local setup with the time zone set to UTC.
I hope you have a chance to take a look at it soon, as it’s probably something that needs to be fixed in a hurry.
But as I started by saying: I really like your plugin. Great job!
Best regards
Torben Heikel Vinther