zeddgre
Forum Replies Created
-
Forum: Plugins
In reply to: [OSM - OpenStreetMap] Cannot upload kml filesWe had to do this:
function custom_mime_types($mimes) {
// Autoriser les fichiers KML
$mimes['kml'] = 'application/vnd.google-earth.kml+xml';
return $mimes;
}
add_filter('upload_mimes', 'custom_mime_types');
function allow_kml_upload( $data, $file, $filename, $mimes ) {
// Vérifiez si l'extension du fichier est kml
$ext = pathinfo( $filename, PATHINFO_EXTENSION );
if ( $ext === 'kml' ) {
// Ajout de l'extension et du type MIME correct
$data['ext'] = 'kml';
$data['type'] = 'application/vnd.google-earth.kml+xml';
$data['proper_filename'] = $filename;
}
return $data;
}
add_filter( 'wp_check_filetype_and_ext', 'allow_kml_upload', 10, 4 );`</code></pre>
Forum: Plugins
In reply to: [Secure Custom Fields] ACF SSL cert expiredIt has been fixed. Thks.
PierreHello,
Ok sending has been re-established, thanks a lot !
I still do not understand why my answers were not received, in fact your last message was a reply to my second message, the one that was not a reply to your message … it’s like I cannot reply to your messages, I’ll make a note of it in case it happens again.
Pierre.
Hello,
I just sent you a new email instead of replying to your message (reason: it seems you got my first message but not the following replies …). Thks.
Pierre.Hello,
Thanks for your answer, I just sent a reply to your mail, let me know !
Pierre
Forum: Plugins
In reply to: [Classic Widgets] Classic widgetThere is more than one plugin with the same name …. I just installed this one and it does work as expected and it’s free. Just make sure you take the one from “WordPress Contributors”.
In my case the block editor wouldn’t register my language choices, all widgets would appear no matter what language choice I made … so thank you for this extension !- This reply was modified 3 years ago by zeddgre.
Hello,
Sorry, completely forgot I had posted this … I found the solution: when you select a post there is a small link “display options” just above the “insert post” button that allows for displaying or not displaying categories … That setting is kept for each email so if you did refuse to display categories before, they don’t show anymore until you change that setting, I guess that’s the reason why you don’t see them in your test.
It was a fresh install of Mailpoet so my guess is that “display categories yes” is the default.
Thanks,
Pierre.