Spiffy Plugins
Forum Replies Created
-
Forum: Plugins
In reply to: [Spiffy Calendar] Font size for mobile calendarYou can adjust the weekday names using something like this:
.weekend-heading, .normal-day-heading { font-size: 10px; }Forum: Plugins
In reply to: [Spiffy Calendar] Font size for mobile calendarYou could make the calendar responsive by setting “Responsive maximum width” on the Options tab. This will switch to a list display on small screen.
If you really want to make the font smaller instead, you can use something like this:
@media screen and (max-width: 480px) { .spiffy { font-size: 10px; } }Forum: Plugins
In reply to: [WP Flow Plus] Images are not shownYou have configured your path one level too far. If your images are in a folder like this:
wp-content/galleries/my-gallery/Beige.jpg
You must configure your path as:
wp-content/galleries/
Then the list will show something like this:
These folder galleries were found: [wp-flowplus dir=my-gallery]
On your page, you would enter the shortcode: [wp-flowplus dir=my-gallery]
Forum: Plugins
In reply to: [WP Flow Plus] Images are not shownI don’t see any images listed in the source code. What is the shortcode you are using?
Forum: Plugins
In reply to: [WP Flow Plus] Images are not shownIf you can’t provide a link, then I can only suggest:
– are the images configured properly? View the source to see if there are any images listed
– is there a styling conflict that is hiding the images?
– are there javascript errors on the page that are preventing the script from running?
Forum: Plugins
In reply to: [Spiffy Calendar] Category LegendLooks like you resolved your problem. I do see the category list displayed horizontally as it should be. Are you saying you preferred the old style of one category per line?
In case anyone is interested, I fixed the problem within my plugin. The new block themes require an additional call to refresh the plugin options before invoking the shortcode.
I would be happy to investigate this further on my system. If there is anyone who could provide me a hint at where to look for the preview refresh, that would be helpful!
Hi @patrick_here,
You are correct, the column display will combine all days into one entry, but the other upcoming events list styles do not. It does show the full date span in the column entry so the information is still there. I didn’t want several identical boxes in a row.
Sorry for the delay in responding, I didn’t receive an email notification for this message.
I tested again this morning with WordPress 4.8.3 and the problem seems to be fixed. Thanks.
Hi André,
I follow your example exactly – WordPress 5.9RC3, with only Gutenberg plugin active. The hotpink is lost if I click on the text site title in the live preview. But if I click on the site logo the pink is maintained in the refresh.
I did read about the customizer changes, but a lot of plugins use it to update custom settings and options. So I expect there will be problems when this rolls out.
I just ran another test using the Blockbase block theme. It has the same problem, so it is likely a core issue.
If the customizer is used to modify an option, the modified option value is not passed to the live preview when a block theme is used. This results in incorrect live preview displays.
An example of the type of setting that will fail the live preview:
$wp_customize->add_setting( 'my_plugin_options[this_option]', array( 'type' => 'option', 'capability' => 'manage_options', )); $wp_customize->add_control( new WP_Customize_Control( $wp_customize, 'my_plugin_options[this_option]', array( 'label' => __('Enable this option','spiffy-calendar'), 'section' => 'my_plugin_customizer_section', 'settings' => 'my_plugin_options[this_option]', 'type' => 'checkbox', )));The issue is with the Twenty Twenty Two block theme. I’m not sure if the problem is in the theme or core.
I installed your plugin fresh and did not change any default settings.
I tested again using the Health Check & Troubleshooting plugin to isolate the problem. With the default theme and only your plugin enabled, I tried to insert a WordPress standard Widget > Calendar block and get the same error message:
Error loading block: Invalid parameter(s): attributes
There are a lot of messages logged in the console from tpgb-blocks-editor.min.js?ver=1.2.3:1
Hope this helps you reproduce the issue on your site!
It works okay on the front end now, but the backend will no longer display the block. Instead it gives the following error:
Error loading block: Invalid parameter(s): attributes
Looking through the console error, I see this:
{code: "rest_invalid_param", message: "Invalid parameter(s): attributes",…} code: "rest_invalid_param" data: {status: 400, params: {attributes: "tpgbDisrule is not a valid property of Object."},…} details: {attributes: {code: "rest_additional_properties_forbidden",…}} params: {attributes: "tpgbDisrule is not a valid property of Object."} attributes: "tpgbDisrule is not a valid property of Object." status: 400 message: "Invalid parameter(s): attributes"