Marc Saffar
Forum Replies Created
-
Hi @omarelhawary
Thanks for your answer.
I just opened theissue on Github
regardsForum: Plugins
In reply to: [Meta Field Block] Permalink on ACF imageHello Phi Phan @mr2p,
Thanks a lot !
I tried your code. It display the permalink url under the image and between ().
Finally this one works :add_filter( 'meta_field_block_get_acf_field', function ( $block_content, $post_id, $field, $raw_value ) { $field_name = $field['name'] ?? ''; if ( 'logo_presse' === $field_name && $block_content !== '' ) { $permalink = get_permalink($post_id); $block_content = sprintf('<a href="%1$s">%2$s</a>', esc_url($permalink), $block_content); } return $block_content; }, 10, 4);
Of course for other people replace logo_press by your ACF field slug
Cheers.Forum: Plugins
In reply to: [GD bbPress Tools] Fatal ErrorHello,
Same for me. I did the fix but I hope for an update.Great !
Thanks ??
I understand.
I will send an email.
Thanks for your help.Yes I contacted cookieyes developpers they answer me it happens because a 3rd part plugin (you) with no more details.
I have tried with a poster image but it does not appear.
I have also tried with a native YouTube Gutenberg block and the video plays even with cookies not accepted !
Here is a test page with a PrestoPlayer vimeo block : it plays, a native YT block : it plays, a PrestoPlayer YT block with poster image : it does not plays and no Fallback.
I will try to insist with cookieye.
Thanks for help.Thank you for your help. I had only looked in the block settings. I made the change but unfortunately refusing ad cookies still causes the black screen.
Thanks for your anser.
No, I searched and did not found where is your youtube Privacy-Enhanced Mode.Forum: Plugins
In reply to: [10WebPlayer] Issue with playlist : thumbnails video does not launchHello,
I contacted the devs on their website. They told me that it is no more supported, even the pro version. Too bad.Forum: Plugins
In reply to: [Show Current Template] List of included files is shown in the footerHello,
I just tried but the issue has gone.
Maybe a Firefox update ? Il don’t know.Forum: Plugins
In reply to: [Show Current Template] List of included files is shown in the footerHello,
Thanks for answering.Yes it is the framework you mentionned.
I’ve made further tests.
The problem appear only on Firefox when I am logged in the admin.The console says :
Stratégie de référent : les stratégies les moins restrictives, comprenant ? no-referrer-when-downgrade ?, ? origin-when-cross-origin ? et ? unsafe-url ? seront bient?t ignorées pour la requête intersite : https://cdn.jsdelivr.net/wp/wp-slimstat/tags/4.8.8.1/wp-slimstat.min.js wp-slimstat.min.js JQMIGRATE: Migrate is installed, version 1.4.1 jquery-migrate.min.js:1:552 Stratégie de référent : les stratégies les moins restrictives, comprenant ? no-referrer-when-downgrade ?, ? origin-when-cross-origin ? et ? unsafe-url ? seront bient?t ignorées pour la requête intersite : https://secure.gravatar.com/avatar/8082a5b2b9696b519102ab0dfb2d5e13?s=52&d=mm&r=g 8082a5b2b9696b519102ab0dfb2d5e13 Stratégie de référent : les stratégies les moins restrictives, comprenant ? no-referrer-when-downgrade ?, ? origin-when-cross-origin ? et ? unsafe-url ? seront bient?t ignorées pour la requête intersite : https://secure.gravatar.com/avatar/8082a5b2b9696b519102ab0dfb2d5e13?s=128&d=mm&r=g 8082a5b2b9696b519102ab0dfb2d5e13 WEBGL_debug_renderer_info is deprecated in Firefox and will be removed. Please use RENDERER. wp-slimstat.min.js:1:22079 WEBGL_debug_renderer_info is deprecated in Firefox and will be removed. Please use RENDERER. wp-slimstat.min.js:1:22805 Error: Promised response from onMessage listener went out of scope 2 bg.js:62:26
Cheers.
Forum: Plugins
In reply to: [Search Regex] Inline editor issueThank you !
My mistake, I just learned that a function has to be written a certain way to be filterable and this is not the case of that one.
Anyway for the moment everything works as I want.
Thanks again.I did not found yet the proper add_filter to write because I have few php skills but I found this in Genesis core theme (Genesis framework works with a core theme and child themes, you are supposed to do custom php and css only in child themes) :
function genesis_get_author_box_by_user( $user_id, $context = '' ) { $gravatar_size = apply_filters( 'genesis_author_box_gravatar_size', 70, $context, $user_id ); $gravatar = get_avatar( get_the_author_meta( 'email', $user_id ), $gravatar_size ); $description = apply_filters( 'genesis_author_box_description', wpautop( get_the_author_meta( 'description', $user_id ) ), $context, $user_id );
there is more code for this function I only show the beginning, if you want to see the whole function ask me.
I replaced ’email’ by ‘ID’ in get_avatar and as you told it works !
Next step I’d prefer to put an add_filter in child theme (in prevision of future Genesis updates) but I don’t know how to write it, maybe you could help ?
Cheers.
@dkotter Thanks for your answer. For the moment I just check a box in the admin user profile to display the author box that come with the theme genesis-sample (a genesis child theme). You give me a clue. I will take a look or ask Genesis support if there is some add_filter I could use.
I will publish here the solution when I get one.