Phi Phan
Forum Replies Created
-
Hey Paul @inkm,
Thank you for your review and suggestions. CBB offers a lot of features, and while not everyone loves all of them, many customers do. I will add more settings and filters in upcoming versions to allow users to opt in or out of the features they like or don’t like.
Additionally, this plugin does not bundle a pattern library, block library, or variation library. It only includes links and buttons to allow you to import items from an external store, so there is no bloat. It includes only five empty layout blocks: Advanced Group, Carousel, Grid, Accordion, and Stack. You cannot delete them, but you can easily change their status to ‘draft’, ‘private’, etc., to disable them. For example in your case, you can set other blocks as ‘private’ and keep only the Grid block.
Again, thank you very much for your honest review.
Best regards,
PhiForum: Plugins
In reply to: [Meta Field Block] How to show Image from link fieldYou should checkout this guide https://elementor.com/help/how-to-use-shortcodes/
Forum: Plugins
In reply to: [Meta Field Block] How to show Image from link fieldHello @sellernine,
Thank you for the details. You can’t use this block to display ACF fields in Elementor. However, you can create a shortcode with similar code to display your field in Elementor. Here is the adjusted code:
add_shortcode('shortcode_for_link_to_image', function( $atts, $content = '' ) {
global $post;
$field_value = get_field('your_acf_link_field_name', $post->ID);
if ( $field_value && ( $field_value['url'] ?? '' ) ) {
$content = sprintf('<img src="%1$s" alt="%2$s" />', esc_attr($field_value['url']), esc_attr($field_value['title'] ?? ''));
}
return $content;
});You can use the shortcode
shortcode_for_link_to_image
in your Elementor site.Best, Phi.
- This reply was modified 1 month, 4 weeks ago by Phi Phan.
Forum: Plugins
In reply to: [Meta Field Block] How to show Image from link fieldHello @sellernine,
You need custom code to display an ACF link field as an image. Here is the code:
add_filter( 'meta_field_block_get_block_content', function ( $block_content, $attributes, $block, $post_id ) {
$field_name = $attributes['fieldName'] ?? '';
if ( 'your_acf_link_field_name' === $field_name ) {
$field_value = get_field('your_acf_link_field_name', $post_id);
if ( $field_value && ( $field_value['url'] ?? '' ) ) {
$block_content = sprintf('<img src="%1$s" alt="%2$s" />', esc_attr($field_value['url']), esc_attr($field_value['title'] ?? ''));
}
}
return $block_content;
}, 10, 4);You can find more snippets in the plugin description.
Best, Phi.
Forum: Plugins
In reply to: [Meta Field Block] What Gutenberg Block Editor Slider would work with MFB?In the extended filters and sorting section for the Query Loop block, you can filter posts by taxonomy (core feature), or handpicking post Ids, by parent post, or by meta field values as your use case. It’s really ease to use it if you’re already familiar with the core Query Loop.
- This reply was modified 2 months ago by Phi Phan.
Forum: Plugins
In reply to: [Meta Field Block] What Gutenberg Block Editor Slider would work with MFB?@kbarkhurst CBB can display that kind of carousel. It extends the core Query Loop block, so you can have all core features from the Query Loop and extended filter features from CBB. Here is the full list of video tutorials on how to customize the Query Loop with CBB:
https://www.youtube.com/playlist?list=PLPuEwc7dZklchm8nVUOKqSOc6OgmRQyhaIf you still need further assistance, please let me know.
Phi.
Forum: Plugins
In reply to: [Meta Field Block] What Gutenberg Block Editor Slider would work with MFB?Hello @kbarkhurst,
To create a slider of featured images for any post type, you can use my other plugin called Content Blocks Builder. Here are some video tutorials on how to create it for free and without any coding effort:
How to create a carousel of posts How to create a banner slider Best, Phi.
Based on your test page, the CBB carousel script does not run for some reason. It might be a conflict issue with your current setup or your caching plugin. Have you tried excluding the CBB carousel script from the caching, minification plugin? Alternately, could you please provide me with an admin account for your staging site?
- This reply was modified 2 months ago by Phi Phan.
Hello @annaise,
I’ve just checked your page and noticed some JavaScript errors in the console. I believe these errors are preventing the carousel script from running. The error in the ‘img-comparison-slider’ script might be the one causing the issue. Could you double-check that?
Best, Phi.
Forum: Reviews
In reply to: [SVG Block] AmazingThank you, Flavia.
Best, Phi.
Forum: Plugins
In reply to: [SVG Block] Allow disabling of the Divider Variants@michelyweb You’re welcome. I’m glad it worked.
Forum: Plugins
In reply to: [SVG Block] Allow disabling of the Divider VariantsHello Marco (@michelyweb),
I will consider adding this feature in the future. For now you can unregister these variations by using the following JS code:
wp.domReady( () => {
wp.blocks.unregisterBlockVariation( 'boldblocks/svg-block', 'divider-tilt' );
wp.blocks.unregisterBlockVariation( 'boldblocks/svg-block', 'divider-triangle' );
wp.blocks.unregisterBlockVariation( 'boldblocks/svg-block', 'divider-asymmetrical-triangle' );
wp.blocks.unregisterBlockVariation( 'boldblocks/svg-block', 'divider-waves' );
wp.blocks.unregisterBlockVariation( 'boldblocks/svg-block', 'divider-curve' );
wp.blocks.unregisterBlockVariation( 'boldblocks/svg-block', 'divider-curve-upside-down' );
wp.blocks.unregisterBlockVariation( 'boldblocks/svg-block', 'divider-arrow' );
});Best, Phi.
Forum: Reviews
In reply to: [Meta Field Block] Brilliant! Simple, but very effective.Thank you for these insignts.
Phi.
Forum: Reviews
In reply to: [Meta Field Block] Brilliant! Simple, but very effective.Hi @undfine,
Thank you for your rating and suggestion. Regarding the template solution, I have given it a lot of thought. My goal for this plugin is to keep it safe, fast, simple, and easy to use. In near the future, I will add this feature when I find a “perfect” solution for it.
Thanks, Phi.
@andycain5 Thank you so much for your enthusiastic review! Your kind words mean a lot to me as the developer.
Best, Phi.