ddany
Forum Replies Created
-
Forum: Plugins
In reply to: [Map Block Leaflet] Plugin work ?ok, i see the plugin cant work before 6.1.0, its marked on the documentation, the render is available since 6.1.0…
If you are ok, please change the version in plugin documentation or explain me if im wrong.
Forum: Plugins
In reply to: [Map Block Leaflet] Plugin work ?Sorry for the delay, but too much project.
Today, i return to this block in my multisite. I pass my half of day to debug, failed.
I just download a fresh version of wordpress 5.9.7 and i just put the plugin and same error, no map in front.
Do you forget to put some dependencies ?
Forum: Plugins
In reply to: [Map Block Leaflet] Plugin work ?register_block_type( __DIR__ . '/build/leaflet-map-block', [ 'render_callback' => function($block_attributes, $content ) { $attributes = $block_attributes; include_once 'build/leaflet-map-block/render.php'; } ] );
When i do this, i have the tag html page but a javascript error L is undefined.
And in all plugins gutenberg that i have i dont see the file render.php in block.json
"render": "file:./render.php", "style": "lib-css-map-block-leaflet", "viewScript": "lib-js-map-block-leaflet" }
Forum: Plugins
In reply to: [Map Block Leaflet] Plugin work ?Hello,
I try also, download the twenty theme, move all plugin and mu-plugins, and no map html code in front. its weird.
Forum: Plugins
In reply to: [Map Block Leaflet] Plugin work ?I use our theme . I download twenty and same thing.
But in the content html, i dont see no tag of plugin. i try to put echo ‘coucou’ in render.php and no echo in front.
Forum: Plugins
In reply to: [Map Block Leaflet] Plugin work ?I’m on a multisite wordpress WordPress 5.9.3.
I try the 2.2.1 and 3.0.0 version of this plugin.
Forum: Plugins
In reply to: [Map Block Leaflet] Plugin work ?Thanks for the quickly answer.
But for the moment, i test this plugin and after he worked, i put it online
Forum: Plugins
In reply to: [ACF: Better Search] Use lite modeRight
Forum: Plugins
In reply to: [ACF: Better Search] Use lite modeHello @mateuszgbiorczyk ,
Our probleme on my site is “I cant save option in administration of lite mode”.I use a trick, i force the value in our function.php :
update_option(‘acfbs_lite_mode’, true);Do you have already have this problem ?
Thanks in advance.Forum: Plugins
In reply to: [Manage Privacy Options Page] Ne fonctionne pas en multi-sitele correctif fonctionne bien chez moi.
Forum: Plugins
In reply to: [Manage Privacy Options Page] Ne fonctionne pas en multi-sitefunction bawmpo_allow_editor_manage_privacy_options( $caps, $cap, $user_id, $args ) { if ( 'manage_privacy_options' === $cap ) { $manage_name = is_multisite() ? 'manage_network' : 'manage_options'; $caps = array_diff( $caps, [ $manage_name ] ); } return $caps; }
Réponse trop rapide, cela ne marche que sur le site principal. Je continue mes recherches
Forum: Plugins
In reply to: [Widgets in Menu for WordPress] Widget shows only title of widget in menuhi, can you tell me the solution used ?
Because, i have the same problem and i should put last recent post in my footer menu.
Thanks in advance.Forum: Plugins
In reply to: [Kebo Twitter Feed] custom Templates problemin kebo-twitter-list.php you should use this code :
<?php $tweets = kebo_twitter_get_tweets(); ?>
<?php $i = 0; ?>
<?php if ( isset( $tweets->{0}->created_at ) ) : ?>
<?php foreach ($tweets as $tweet) : ?>
<?php echo $tweet->text; ?>
<?php if (++$i == 10) break; ?>
<?php endforeach; ?>
<?php else : ?>
<p>Sorry, the Tweet data is not in the expected format.</p>
<?php endif; ?>