Phi Phan
Forum Replies Created
-
Forum: Reviews
In reply to: [Meta Field Block] useful, minimalisticThank you @artemiy91 for your support.
Phi.Thank you @hostephen for your support and suggestions. More features will be added for sure.
Anyway, the block has already supported outputting custom HTML markup, so you can input the markup directly in the meta field for now.Forum: Reviews
In reply to: [Meta Field Block] Great pluginThank you @cseevinck for your great review. I really appreciate it.
Forum: Plugins
In reply to: [Meta Field Block] Display value inside query loopYou’re welcome @cseevinck, I’m glad you have it resolved.
Forum: Plugins
In reply to: [Meta Field Block] Display value inside query loopIt looks like you are using the twentytwentytwo theme. The default single template for all post and custom post types are the single post template. You can create a custom template for the team post type, but there is a much simple solution is you can edit each team post and drag the Meta Field Block to the right place. There are not many team posts so you can follow that way. If you’re familiar with the site editor, you can create a custom template for the team post type.
Forum: Plugins
In reply to: [Meta Field Block] Display value inside query loopHi @cseevinck, have you added the meta field block in the single team template? You must to put the block in the single template as well.
Forum: Reviews
In reply to: [Meta Field Block] Just what I neededThank you @syoung68 for your great review. I really appreciate that.
Forum: Plugins
In reply to: [Meta Field Block] Format a Date ValueGlad to hear it worked out. I’ve forgoten to do a empty check. You also can get the date_format from the settings like get_option(‘date_format’) instead of of harded-code ‘m/d/Y’. I think that’s better.
Forum: Plugins
In reply to: [Meta Field Block] Format a Date ValueHi @syoung68
There is a filter to change the output of the field’s content. You can add the following snippet code into your theme or plugin:add_filter( 'meta_field_block_get_block_content', function ( $content, $attributes ) { $field_name = $attributes['fieldName'] ?? ''; // TODO: input your field name here. if ( 'YOUR_FIELD_NAME_HERE' === $field_name ) { return date( 'm/d/Y', strtotime( $content ) ); } return $content; }, 10, 2 );
I’m going to do a setting allowing to choose the output format of the block soon, but you can use the above code to display your field in the mean time.
Please let me know if it works or not.
If it works for you, please do a quick review for it. Thank you very much.
Phi.Forum: Reviews
In reply to: [Meta Field Block] Just another core plugin…Thank you very much for the good review @adrian2k7!
Forum: Reviews
In reply to: [Meta Field Block] Absolutely Brilliant and Essential!Hey Brandon, thank so much for your review. Glad to hear you like it.
Phi.
Thank you, Martin, for your support.
Hi Hansj?rg, thanks for taking the time to review this plugin. I really appreciate your kind support.
Forum: Reviews
In reply to: [Icon Separator] Works great!Thank you, glad it’s useful for you.
Forum: Reviews
In reply to: [Icon Separator] Simple and great, thank you!Thank you for your support.