Phi Phan
Forum Replies Created
-
Hi @rdhutchins,
Thanks for the suggestion. It’s a great idea.
I’ll add a setting in the next version to allow users to choose whether to display that text.
Best, Phi.
Hi @0711master,
I’ve just released a new version that includes your suggestions.
You can now choose which features should be visible by default for specific block types in the Block Enhancements panel from Settings → Block Enhancements → Manage Features. I’ve also added a visualizer box when adjusting responsive padding and margin settings.
Thanks again for your feedback and support!
Best, Phi.
Forum: Plugins
In reply to: [SVG Block] Divider shapes sometimes have hairline when window is resized?You’re welcome and thanks for the update.
Forum: Reviews
In reply to: [Breadcrumb Block] Perfect for blocks based themesHi Quentin (@quentinldd),
Thanks for your kind words and for the rating. I really appreciate your support.
Best, Phi.
Forum: Plugins
In reply to: [SVG Block] Divider shapes sometimes have hairline when window is resized?Hi @rdhutchins,
I think this is a CSS issue. A quick way to fix it is to add a small negative margin to the block. Try -1px or -2px and adjust as needed.
Best, Phi.
Forum: Plugins
In reply to: [Counting Number Block] How do I add the counter to a page on my siteHi @leahasana,
This plugin provides a single block called “Counting Number Block”, and it only works with the Block Editor (Gutenberg). If you’re not familiar with working with blocks yet, I recommend starting with this tutorial: https://ww.wp.xz.cn/documentation/article/work-with-blocks/#adding-a-block
Using this block is similar to using other core blocks. Just select the “Counting Number Block”, insert it, and then enter the number value and adjust the settings in the sidebar.
The plugin is completely free. There is no premium version.
Best, Phi.
Hi @0711master,
Thanks for your suggestion and feedback! I built this plugin to add extra features to other blocks, so I didn’t expect users use every feature. That’s why everything is collapsed by default, to keep the interface from overwhelming when users only need one or two features. That said, I’ll look into adding a setting so you can choose which features are open by default in a future version.
The idea about showing visual indicators for padding and margin, is also a great suggestion. I’ve added it to my TODO list.
Thanks again for the helpful feedback.
Best, Phi.
@avagp You’re welcome! Thanks for the update.
Have a great day!
Hi Radical @avagp,
You cannot run dynamic code in the HMTL block. It’s meant for displaying static html only. If you want to display html with dynamic PHP values, you can use Meta Field Block with a custom snippet like this:
add_filter(
'meta_field_block_get_block_content',
function ( $block_content, $attributes, $block, $post_id, $object_type ) {
$field_name = $attributes['fieldName'] ?? '';
if ( 'your_unique_dynamic_field_name' === $field_name ) {
ob_start();
?>
<h2>FAQs</h2>
<div class="faqs">
<div class="faq">
<div class="faq-body"><p><?php esc_html_e( get_post_meta( $post_id, 'USP_1_texto', true ) ); ?></p></div>
</div>
<div class="faq">
<div class="faq-body"><p><?php esc_html_e( get_post_meta( $post_id, 'other_field', true ) ); ?></p></div>
</div>
</div>
<?php
$block_content = ob_get_clean();
}
return $block_content;
},
10,
5
);Add this snippet to your site, then insert an MFB block in the editor. Set the field type as Dynamic and input the field name as your_unique_dynamic_field_name. You can change the field name to any unique name you prefer.
Please let me know if that works.
Best, Phi.
Thank you so much for taking time to do that! It’s a huge help to this plugin.
That’s great to hear! Thanks again for the kind words.
Best,
@charlie67p Thanks for the update, and you’re very welcome!
@slewis1000 Glad to hear that. Thanks for the update!
@charlie67p That might be the issue. When slidesPerGroup is greater than 1, it can affect how initialSlide behaves.