Spellhammer
Forum Replies Created
-
Forum: Plugins
In reply to: [Pie Calendar - Events Calendar Made Simple] Remove underlining of weekdays?Marking this one as resolved, but feel free to follow up if you continue to have trouble styling the day names.
Forum: Plugins
In reply to: [Pie Calendar - Events Calendar Made Simple] Remove underlining of weekdays?Hey there,
You should be able to target the day names on the classic calendar view with something like this:
a.fc-col-header-cell-cushion {
text-decoration: none;
}Note that the styles applied to these links may vary by theme as well.
it would be nice if one could just hop to a certain month of a certain year without having to click the “prev button” a hundred times.
Thanks for the feedback! I’ll add a note to our GitHub to look into a better way to navigate large spans of time.
Hey Suki,
It doesn’t look like you’re using the widget mode option. I’d recommend setting this to “Responsive” so that it falls down to widget mode on ultra small screen sizes. This will provide a much better layout for you.
If widget mode isn’t activating, you could be running into a bug. I tried to take a look via the link at https://expresstray.s6-tastewp.com/ but it just redirected to tastewp.com.
Since this has been logged for investigation, I’m going to mark this as resolved.
Thanks again for letting me know about the issue.
Hey there,
Regarding the responsiveness issues, can you let me know the screen size on which you’re encountering this? We tend to test down to around 320-400px.
The responsive layout you’re seeing on our website is the Widget mode option, which is available in the Block controls or as a shortcode attribute:
[piecal widget=”true”] or [piecal widget=”responsive”]Widget mode is a much more friendly option if you’re dealing with very little screen real estate, e.g. super small screens or side bars.
I hope that helps!
Thanks for the report!
I did rework the Gutenberg detection logic a while back, and I don’t remember exactly why, but the get_current_screen() approach didn’t work if I recall correctly.
Either way, I’ll take another look at this to see if I can improve it for this use case.
Forum: Plugins
In reply to: [Pie Calendar - Events Calendar Made Simple] Locale Icelandic is missingHey Benni,
I believe we’ve been corresponding about this via email, so I’ll share my findings here as well.
I did find that Icelandic wasn’t included in our list of locales in the dropdown, despite it being available in Pie Calendar via e.g. the shortcode via the locale=”is” attribute.
The next problem is that the browser API (Intl.DateTimeFormat) used to fetch translated day names does not support Icelandic. This is obviously outside of our control, but we do have some ability to swap these day names out manually, so I sent you an email to request those translations so we can try to include them. I can’t guarantee it, but we’ll give it a shot.
The next release of Pie Calendar will, at the very least, have Icelandic as a locale option in the block settings.
Thanks for your support and for reporting this so we can get it fixed!
Hey Matt, good to see you trying out Pie Calendar!
I’d love to autmoatically tick the “Show on Calendar” checkbox for all new posts of this type.
There are two options here that come to mind:
- Hook into save_post and set the post meta on save. The field is _piecal_is_event, but you’ll also have to have a start date before the event is shown on the front-end.
- You could use the piecal_event_query_args hook to alter the query and make it return all posts of that type regardless of the _piecal_is_event post meta. I’m not sure if this would be ideal, but it might be worth trying: https://docs.piecalendar.com/article/18-available-hooks-filters.
For instance, I don’t know how any of these fields could apply to a Field Group or Taxonomy in the first place.
They generally won’t, but anything that’s considered a “post type” is fair game for Pie Calendar. You can either use the allowed posts setting to only show the fields on the posts type you want, or you can write some custom code to remove/hide those meta boxes where you don’t want them.
I hope that helps!
Forum: Plugins
In reply to: [Pie Calendar - Events Calendar Made Simple] ACF START AND END DATESorry for the extremely delayed response.
This will involve some custom development work since it’s not something Pie Calendar natively supports.
You can find Pie Calendar’s documentation on using a custom field for dates at https://docs.piecalendar.com/article/23-use-custom-fields-as-event-date-time.
Forum: Plugins
In reply to: [Pie Calendar - Events Calendar Made Simple] ACF START AND END DATESorry for the extremely delayed response.
This will involve some custom development work since it’s not something Pie Calendar natively supports.
You can find Pie Calendar’s documentation on using a custom field for dates at https://docs.piecalendar.com/article/23-use-custom-fields-as-event-date-time.
Hey @maguijo,
Pie Calendar stores its dates in the meta key _piecal_start_date.
You’ll probably need to use the meta_key and orderby arguments in your query to sort the results based on this key’s value. You can find some examples here: https://developer.ww.wp.xz.cn/reference/classes/wp_query/.
To exclude events where _piecal_start_date is before today’s date, you’ll need to employ a meta query I believe. I’m not sure if GenerateBlocks Query Looper supports that or not, so you may need to check with them on how to implement that.Forum: Plugins
In reply to: [Pie Calendar - Events Calendar Made Simple] AccessibilityHey James,
Thanks for the follow-up, that was helpful.
Sorry I missed that! The markup is generated on the front-end using our calendar library, so it didn’t appear in our codebase when I searched for it. That was a silly oversight on my part.
I’m working to get more clarification from them to share with you.
Please let us know if you receive any further clarification on what the specific issue with our use of role=”presentation” is and we’ll be glad to look into it further.
Forum: Plugins
In reply to: [Pie Calendar - Events Calendar Made Simple] AccessibilityHey James,
Really sorry about the delay here!
We do take accessibility seriously and strive to create a very accessible product.
I took a look and couldn’t find any use of role=”presentation” in our output on my test site. Are you able to provide an HTML snippet of where you found this in Pie Calendar’s output?
Any additional details are appreciated!
Hey @phillipsburgh,
Thanks again for reporting this!
We’ve just released version 1.3.0.1 which should resolve this error.
Please let us know if you still have trouble after updating.
Forum: Plugins
In reply to: [Autoptimize] Fatal ErrorThanks @optimizingmatters !
I didn’t recognize that snippet, so I didn’t think to search it up in our code, but thanks to your advice I found that snippet exists in
vendor/alpine.3.11.1.js. Great!Unfortunately, that’s a third-party file (a library we use for front-end reactivity) and is already minified. I think the best path here for @davedecc would be to exclude this file since I’m assuming double-minifying a JS file is bad news.