Forum Replies Created
-
AuthorPosts
-
January 21, 2026 at 7:11 PM in reply to: ✅Custom Fields on WooCommerce product page: Problems with Divider and Position #49645
metafan
ParticipantThe "drag & drop" did the trick. After moving the boxes forth and back, the divider appears as it should.
Thanks a lot.
metafan
ParticipantSay hello 5 years later,
is there a solution for this problem?I'd like to add a custom list (ul with class) button to the wysiwyg field.
Thanks.
metafan
ParticipantHi Peter,
any news about this issue / bug, please?
Thanks!
February 26, 2025 at 4:34 AM in reply to: Can't clone cloneable group and can't view wyswig 'Text' #47742metafan
ParticipantI have the same problem with cloning.
Activating the single plugin Meta Box along with Meta Box AIO works.metafan
ParticipantOh, yes!!
Thanks for checking!metafan
ParticipantHi Peter,
please have a look here:
https://www.statmaps.com/screen_1.png
https://www.statmaps.com/screen_2.pngTheme GeneratePress,but the same on Twenty Twenty-Five.
metafan
ParticipantHi Peter,
please have a look at the output on the left of your screen. Need to wait a second to render the list (on your green background).
Thanks.
metafan
ParticipantFixed in Version 1.7.4
Thank You!
metafan
ParticipantYes, an url field with internal link suggestions would be great!
Setting internal links by copy & paste is not very smart.
Any news about that feature?
Thanks.metafan
ParticipantYes, would be nice to get an update soon!
Any concrete time plan?Thanks
metafan
ParticipantHello Peter,
is this issue already fixed?
I ran into the same problem...My styles and scripts are enqueued with enqueue_assets. They show up on the frontend and on the backend (Gutenberg). But the function works/runs only on the frontend.
( function( $ ) { function init() { baguetteBox.run('.gallery'); } // Run when a document ready on the front end. $( document ).ready( init ); // Run when a block preview is done loading. $( document ).on( 'mb_blocks_preview/gallery', init ); } )( jQuery );Thanks.
metafan
ParticipantHello Peter, hello Tan,
thanks for the quick fix!!
metafan
ParticipantHi Peter,
this code also works for me in the frontend, but not in the backend (Gutenberg). The image isn't visible in the editor.
I think, not the registration is the problem, cause the output of the variable ($image_url) is ok.
I register the block with this code:
<?php add_filter( 'rwmb_meta_boxes', 'custom_blocks_mc_teaser_boxes' ); function custom_blocks_mc_teaser_boxes( $meta_boxes ) { $prefix = 'mc-'; $meta_boxes[] = [ 'title' => __( 'MC Teaser Boxen', 'custom-blocks' ), 'id' => 'mc-teaser-boxes', 'description' => 'MC Teaser Boxen', 'icon' => [ 'background' => '#c2b7ae', 'foreground' => '#fff', 'src' => 'images-alt', ], 'category' => 'mc', 'keywords' => ['teaser', 'box', 'mc'], 'supports' => [ 'align' => ['left', 'right', 'center', 'wide', 'full'], ], 'render_template' => plugin_dir_path( __FILE__ ) . 'template.php', 'enqueue_assets' => function() { wp_enqueue_style( 'mc-teaser-boxes-styles', plugin_dir_url( __FILE__ ) . 'mc-teaser-boxes-styles.css' ); }, 'type' => 'block', 'context' => 'side', 'fields' => [ [ 'type' => 'group', 'id' => 'teaser-boxes-rows', 'name' => 'MC-Teaser-Elemente', 'group_title' => 'Teaser {#}', 'clone' => true, 'sort_clone' => true, 'collapsible' => true, 'fields' => [ [ 'name' => __( 'Bild', 'custom-blocks' ), 'id' => $prefix . 'teaser-boxes-img', 'type' => 'single_image', 'required' => true, ], [ 'name' => __( 'Überschrift (fett)', 'custom-blocks' ), 'id' => $prefix . 'teaser-boxes-headline', 'type' => 'text', ], ], ], ], ]; return $meta_boxes; }and this is the template:
<div class="mc-teaser-boxes"> <div class="mc-teaser-boxes-wrap"> <?php $groups = mb_get_block_field( 'teaser-boxes-rows' ); foreach ( $groups as $group ) { $image = RWMB_Image_Field::file_info( $group['mc-teaser-boxes-img'], ['size' => 'full'] ); echo '<div class="teaser-boxes-sub">'; echo '<div class="mc-teaser-boxes-bg-box">'; echo '<div class="mc-teaser-boxes-img" style="background-image: url('.$image['url'].')"></div>'; echo '<div class="mc-teaser-boxes-border">'; echo '<div class="mc-teaser-boxes-txt-box">'; echo '<h3>'.$group['mc-teaser-boxes-headline'].'</h3>'; echo '<p>'.$image['url'].'</p>'; echo '</div>'; echo '</div>'; echo '</div>'; } ?> </div> </div>I put $image['url'] in a paragraph tag for debugging. You will see, the url is ok.
Thanks!
February 10, 2023 at 7:10 PM in reply to: ✅Block doesn't render on editor unless I fill some field data #40476metafan
ParticipantMust have for good UX!!
Any news?
Thanksmetafan
ParticipantThank you!
-
AuthorPosts