Forum Replies Created
-
AuthorPosts
-
yumikom
ParticipantHi Anh,
Is there filter which execute 'do_shortcode' for all metabox?
For example like filters for widgets.
add_filter('widget_text', 'do_shortcode' );Best regards.
yumikom
ParticipantDear Tan,
I tried ver.2.2.3, it's works fine!
Thanks.yumikom
ParticipantHi,
This is the document I wanted to know.
Thank you very much.yumikom
ParticipantHi,
Thanks for your advices.
I'm fixed. All post types seleced of post field option post_type = 'any'.
As expected, I'd like to select some post type set to post_type with array.
But builder post_type option select box only one post type.
Custom Attributes no accepts array'query_args' => array ( 'post_type' => array('page', 'test-custom-post-type-name'), ),I'd like to use array in post_type value with MB Builder post field setting.
yumikom
ParticipantThank you very much, Tran. I'll try this JS library and custom field type.
September 21, 2017 at 7:03 PM in reply to: same taxonomy Taxonomy Advanced fields not saving data #7019yumikom
ParticipantHi,
I downloaded and tested taxonomy-advanced.php.
It's works fine! rwmb_meta() use with taxonomy_advanced and return WP_Term array.
I'm thankful for fixed problem.September 21, 2017 at 6:22 PM in reply to: How to set meta_query of Group cloneable fields for search #7018yumikom
ParticipantHi,
One of solution method most suitable for this topic was found.
For example I'd like to search for the maximum value and date period in group rows.I make readonly text field for search condition 'meta_query'.
When post save with get value(min, max for search)
and update_post_meta() in post_save ()action.A search could be sped up by readonly field for group data searches.
For example save_post action
add_action( 'save_post', 'savepost_update_meta' ); function savepost_update_meta($post_id){ // check post type or category, etc. if(get_post_type($post_id) !== 'post_type_foo') return; // get group meta data $groupRows = rwmb_meta('goup_id', $args = array(), $post_id); $priceMin = ''; $priceMax = ''; if($groupRows){ foreach($groupRows as $row){ $price = isset($row['field_price']) ? $row['field_price'] : ''; // check value if(empty($priceMin)){ $priceMin = $price; }else{ if((int)$price < (int)$priceMin) $priceMin = $price; } if((int)$priceMax < (int)$price) $priceMax = $price; } // update readonly meta field update_post_meta($post_id, 'field_readonly_text_min_price', $priceMin); update_post_meta($post_id, 'field_readonly_text_max_price', $priceMax); }else{ // delete readonly meta field when nothing group data delete_post_meta($post_id, 'field_readonly_text_min_price'); delete_post_meta($post_id, 'field_readonly_text_max_price'); } }$meta_query[] = array( 'key' => 'field_readonly_text_min_price', 'value' => $searchPrice, 'compare' => '<=', 'type' => 'NUMERIC' );Thanks anyway!
September 13, 2017 at 3:36 PM in reply to: same taxonomy Taxonomy Advanced fields not saving data #6962yumikom
ParticipantDear Giang,
I found a problem.
Use function rwmb_meta with taxonomy_advanced field and it's return value is all terms!Use function get_post_meta works fine it's return value string array.
get_post_meta return array(1) { [0]=> string(7) "332,333" }
rwmb_meta return WP_term object of all terms in taxonomy_advanced selected taxonomy.Best regards.
September 13, 2017 at 2:35 PM in reply to: same taxonomy Taxonomy Advanced fields not saving data #6961yumikom
ParticipantDear Giang,
I tried fixed file and works fine!
For a while, taxonomy_advanced field is testing and if something is found, it'll be reported again.Thank you very much for your support.
September 11, 2017 at 5:19 PM in reply to: same taxonomy Taxonomy Advanced fields not saving data #6952yumikom
ParticipantDo you seem able to fixed this problem?
I have to explain the situation to a client. Please tell your status for this problem.
Best regards.September 11, 2017 at 5:16 PM in reply to: How to set meta_query of Group cloneable fields for search #6951yumikom
ParticipantHi,
Thank you very much for telling me important information.
It's being hoped to be able to use meta_query.September 9, 2017 at 8:09 PM in reply to: same taxonomy Taxonomy Advanced fields not saving data #6937yumikom
ParticipantI just sent a mail.
This is different talk, but....' Notify me of follow-up replies via email' not working.
I can't received notify mail from this forum.I hope to be for one day earlier and fixed problem form Taxonomy_advanced.
September 7, 2017 at 4:19 PM in reply to: same taxonomy Taxonomy Advanced fields not saving data #6921yumikom
ParticipantI update and tried MB Builder, but it doesn't seem that a problem is fixed perfectly.
- chosen taxonomy_advanced
- 'Taxonomy Advanced' general attribute is custom taxonomy(example 'airport')
- Field type 'Select advanced'
- Custom attribute add 'multiple' = trueand Custom post type(example 'flight') New post.
- 'Taxonomy Advanced' field not show selected custom taxonomy.
show only post categories.I'd like to use selected custom taxonomy by 'Taxonomy Advanced'.
September 6, 2017 at 3:51 PM in reply to: same taxonomy Taxonomy Advanced fields not saving data #6910yumikom
ParticipantI'd like to use Taxonomy advanced by the present project.
Please tell me how to use Taxonomy advanced use with Meta Box builder now.
For example export file is edited and Re-imported when there are other ways.Was there a problem?
September 5, 2017 at 12:48 PM in reply to: same taxonomy Taxonomy Advanced fields not saving data #6887yumikom
ParticipantI'm using taxonomy_advanced field Or can't use taxonomy_advanced with MetaBox Builder?
The sent data using 'taxonomy_advanced' in MB Builder fields.
-
AuthorPosts