Jens Kuerschner
Forum Replies Created
-
Forum: Plugins
In reply to: [Add to Calendar Button] event details generated off Custom Post Type fieldsYour test page is not working, unfortunately.
I made it a unnecessarily complicated. You could also simply go for
name="<?php echo the_title(); ?>"
– again, mind the quotes, but you do not need to create them with echo.The debug option would go like this:
<add-to-calendar-button debug name="abc" startDate="....
Forum: Plugins
In reply to: [Add to Calendar Button] event details generated off Custom Post Type fieldsUsing quotes should get this to work.
Like
<php echo '"' . the_title() . '"'; ?>
What also helps here: Add the debug option by simply adding the attribute “debug” to the tag. It would give you more information, if something goes wrong.
Forum: Reviews
In reply to: [Add to Calendar Button] A simple and wonderful method of sharing an event??
Forum: Reviews
In reply to: [Add to Calendar Button] Quick event sharing software. Simple to set up.Thanks for sharing!
Forum: Plugins
In reply to: [Add to Calendar Button] Shortcode exampleI can now recommend you the following pages:
- https://add-to-calendar-button.com/en/configuration (for available parameters)
- https://add-to-calendar-button.com/en/examples (for some more specific examples)
Forum: Reviews
In reply to: [Add to Calendar Button] Add2Cal is the Best!Thanks a lot. Glad it is working for you! ??
Forum: Plugins
In reply to: [Add to Calendar Button] Shortcode exampleYou are missing the “options” parameter.
Like:
[add-to-calendar-button name="My Event Title" startDate="2023-01-17" location="World Wide Web" label="This is a more customized button" options="'Google','Apple','iCal','Yahoo'"]
One more advice: If you specify the “debug” option (simply write “debug”), you get error messages directly on the page and even more detailed in the browser console. This usually helps a lot.
Besides that, there will be better documentation in a few days too.
Forum: Plugins
In reply to: [W3 Total Cache] Media Query Strings interrupt CDN functionalityAh, awesome! Thanks.
I tried to remove it for js, css, and media – but only removing the check from the global setting did the trick.Forum: Plugins
In reply to: [Add Full SVG Support] How to add hover CSSHi,
this is not possible with this plugin. It only enables basic SVG support. SVG files have no standard for “color”, that can be easily accessed. There are plugins that give you this possibility, but they are usually enormous.
I strongly recommend to either use icon fonts for this case or code this manually instead of including many large plugins that slow your website down.Best regards,
JensForum: Plugins
In reply to: [Add Full SVG Support] 4.7.2 Breaks SVG SupportIt should work. Works on my pages. Latest version is 1.1.5.
It’s not the ideal workaround, but it works for now, until WordPress makes some progress on this issue – if they ever will, since they consider svg as critical for security (and it is, if you allow non-admins to upload svg files).Forum: Plugins
In reply to: [Add Full SVG Support] 4.7.2 Breaks SVG SupportThanks for the note. Just updated the plugin with a workaround mentioned in this other thread.
This is a SPAM-Post. Not cool.
Please keep this clean for real problems and solutions.To everyone else: Do NOT do anything of what cdoffice tells you to do!
You can add the shortcode in your pages and posts. The image appears where you place the code. You can’t use it for your feature image (if you mean the WP function), because that has a totally different functionality. You can use it for your logo, but this depends on your theme.
Please use Google or sites like https://www.wpbeginner.com for WP basics.Regarding the SVG questions:
The alt-path is for the fallback. The fallback kicks in when the specific browser can’t display svg images. You can specify title and alt text within the gallery, but this won’t effect the image ;-). For WordPress, svg is a file (like zip-files), no image!Forum: Plugins
In reply to: [Add Full SVG Support] I can't upload svg nor use themDo you mean that the file does not show up at all – or is it just that you cannot see a image preview?
The svg won’t display as a preview (like a normal image would do).Forum: Plugins
In reply to: [Add Full SVG Support] I can't upload svg nor use themTo be honest: no.
The upload functionality in WordPress is given by
function svg_upload ($svg_mime) { $svg_mime['svg'] = 'image/svg+xml'; return $svg_mime; } add_filter( 'upload_mimes', 'svg_upload' );
That is included in that plugin and also many others.
My best guess would be that the upload is either blocked by another plugin or setting, or is blocked by you webhoster.
Best,
Jens(I will mark this as resolved, since there is no sign this is bug that’s related to this plugin.)